As pos mod kills tend to come in the dozens at a time they can easily make up for the most of kills shown on the main page when multiple towers go down and thus having an option to hide them like noobships and pods would be nice.
I have hacked our kb to do so via editing the noobship ignore function to also ignore kills in the pos module category but a more official method that doesn't get broken with new releases would be really nice to have.
Add option to hide pos modules from main page
Re: Add option to hide pos modules from main page
Although this would be a great idea, I think this would be better suited to go into a mod.
How you would do this, I have no idea.
How you would do this, I have no idea.
NOTE: No longer in game!
A question that sometimes drives me hazy: am I or are the others crazy?
Logic will get you from A to B. Imagination will take you everywhere.
A question that sometimes drives me hazy: am I or are the others crazy?
Logic will get you from A to B. Imagination will take you everywhere.
Re: Add option to hide pos modules from main page
Anychance that change went threw or any possible way to hide the pos mods from front page ?
Re: Add option to hide pos modules from main page
Hi,
I'm afraid this change won't make it into 4.2.
But here's how you can hide pos modules from the front page:
open common/includes/class.killlist.php and find the following code block:
AFTER that, append
That will hide POS Modules from the front page if you have deactivated the option "Include Capsules, Shuttles and Noobships in kills" in ACP -> Global options.
Regards,
Salvoxia
I'm afraid this change won't make it into 4.2.
But here's how you can hide pos modules from the front page:
open common/includes/class.killlist.php and find the following code block:
Code: Select all
public function setPodsNoobShips($flag)
{
if (!$flag)
{
array_push($this->exclude_scl_, 2);
array_push($this->exclude_scl_, 3);
array_push($this->exclude_scl_, 11);
Code: Select all
array_push($this->exclude_scl_, 38);
That will hide POS Modules from the front page if you have deactivated the option "Include Capsules, Shuttles and Noobships in kills" in ACP -> Global options.
Regards,
Salvoxia
Re: Add option to hide pos modules from main page
I've deployed this change as well on my KB and it works perfectly!
I've also blocked a few other classes from view, like Fighters (49), Infrastructure Modules (41), Custom Office (44) and Deployable Structure (45).. Imho these don't really belong on a killboard.
I've also blocked a few other classes from view, like Fighters (49), Infrastructure Modules (41), Custom Office (44) and Deployable Structure (45).. Imho these don't really belong on a killboard.