Quote:
Originally Posted by MasterMind420
Just do a map name check in your plugin during round start and set the SI limits dynamically for each map you want. So Tank Playground you can disable all the SI from spawning, or set a limit for each. Whether that will override the vscript(it should) or even work without a map restart first I don't know. I've never dynamically changed SI and tested it...
|
I was afraid of such a solution and would do almost anything to avoid it. It would I'd imagine become a maintenance nightmare and something I don't want to maintain at all. I have no need to actually work on this but I entertain myself with the thought of it. Sometimes I go to bed with a problem and wake up with the answer or maybe I'm slicing chicken on the cutting board and I'll utter "I got it". I know for a fact you know what I mean.
From my understanding, my plugin can never override a vscript. If a campaigns vscript says I can't spawn Boomers, I will really not be able to spawn them (not normally). If the vscript says no mobs, no mobs. Using the Director Variables plugin I was able to get around these limitations but without it, I can't do much to override anything a vscript says I can't do.
Now, if I wish to avoid anything specific and if I had no choice (there is no other solution) I'd most likely approach the problem like this. I'd set up a "watcher", a sort of spy function whom's sole purpose would be to watch what SI come out of the enemy camp and advise me to only spawn those. This way, I can send in the infiltrators with little chance of being detected. So if only Boomers are spawning, I'll send in Boomers until the watcher tells me, "I see a Smoker", then I'll send in Boomers and Smokers.
I still see a problem with this approach and is why I thought I ask. The problem I foresee here is, what if all the Boomers go out for a lunch break and aren't supposed to spawn anymore. I'm caught. I don't really have the answer but an idea I thought would be worth a conversation. In a very general sense I suppose what I am truly after is understanding a campaigns limitations. How do I get around or understand a vscript without any manual intervention? I'm thinking it's impossible but I'm also hoping I'm wrong.