ALiVEOS / ALiVE.OS

ALiVE Open Source GPL v2
http://alivemod.com/
Other
157 stars 82 forks source link

Feature Request: Selective Profiling #595

Open diveyez opened 5 years ago

diveyez commented 5 years ago

In the ALiVE admin actions there is an option to profile non-profiled units which is great, however using it... is a massive pain because that requires us to literally make a mission file with nothing on it. Period. This function causes problems. For example, I place lots of items down for our missions. If I profile non-profiled units it literally removes them from the battlefield which is unacceptable.

What we need is a way to select which units, and groups we wish to profile, or even perhaps a zeus module that does it because, we only want to profile enemy units, vehicles, civi units, vehicles, etc. I know the sync to ALiVE AI System functions however, what I want to do is profile units that Zeus has put down so large scale missions with Zeus can take advantage of the AI system and its cache while designing the missions by hand. This is a MUST and is very much needed.

We do not want it to profile our own vehicles and bases. For obvious reasons.

highhead commented 5 years ago

I believe there is a variable you can set in the editor init-field of the unit! And AFAIK re-indexing units that have placed with zeus has also already been handled by ALiVE! Someone beat me to it!

diveyez commented 5 years ago

Negative, this is not true. Need a way to selectively profile units without profiling everything. Reasons for this are obvious.

marceldev89 commented 5 years ago

Yes it is, you should be able to this setVariable ["ALIVE_profileIgnore", true]; in the unit's/vehicle's init field. Yes it's tedious but it's definitely a thing so that it's ignored by the admin profile action thingy.

I guess you could create a trigger that's covering your base and run the code that way on all units within the trigger. Makes it a bit less tedious... ^^

diveyez commented 5 years ago

That would take 96 hours to do on these missions we run

diveyez commented 5 years ago

@marceldev89
What sections of ALiVE.os need to be edited to make this a feature in 3den/Zeus properties/attributes for units?

this setVariable ["ALIVE_profileIgnore", true];