Sparker95 / Vindicta

A guerrilla warfare mission for ARMA III
GNU General Public License v3.0
95 stars 62 forks source link

Tablets and other intel items duplicated in ACE Arsenal - magazines #620

Open SomethingSimpl opened 4 years ago

SomethingSimpl commented 4 years ago

The intel items such as tablets and military documents etc. are flooding the magazines filter in ACE Arsenal with classnames that just keep adding up in the numbers. Is this by design or a bug?

image

Sparker95 commented 4 years ago

Thanks for making the issue, I need to find out how to hide them.

Technical note: that's how it works behind the interface - each unique intel item is in fact a unique class name, ACRE and TFAR use same way to make unique radios for instance.

SomethingSimpl commented 4 years ago

Ah thought so! Thanks for following up anyway! maybe a scopeArsenal = 0; change in item config to hide from arsenal would be the quick fix. Is it an intent to store them during gameplay in arsenal anyway?

Sparker95 commented 4 years ago

Not really, intent is to open it as soon as you've got it, then it is discarded. Sometimes it can be brought to base and stored in arsenal, after loading the game it can provide invalid data, this is not handled yet.

Thanks, perhaps you are right about scopeArsenal, need to try it.

Sparker95 commented 4 years ago

In fact if I hide them in arsenal like this, then the second problem can be solved too.

SomethingSimpl commented 4 years ago

Yeah, I would maybe actually go as far as to say if its plainly a gameplay related item that gets dynamically spawned and used maybe hiding it in all the scopes would be an option: scope = 1; thats editor, but 0 here is used for inheritance so maybe 1 would be good. scopeArsenal = 0; and scopeCurator = 0;

Great issue reaction time though, you guys rock! :)

Sparker95 commented 4 years ago

In fact it is a bit more complicated. We want to hide these items only in ACE and standard arsenal, but not in our arsenal. And our arsenal partially uses standard arsenal code. And our arsenal code is something I would rather not touch unless it makes people's computers burn. Perhaps @Jeroen-Notenbomer can help.