View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-12-2020 , 21:40   Re: [L4D & L4D2] Mutant Tanks (v8.64, 8-23-2019) [Human/AI Tanks Supported]
Reply With Quote #637

@ryzewash,

The problem is that in a lot of finales is executed a vscript file, e.g.: "c9m2_lots_finale.nut"
Which sets the Director to spawn a single tank in the finale wave, ignoring all configs that you have
(tank limit cvar or even the TankLimit vscript unlocker)

So one way to bypass it is with Silvers's plugin VScript File Replace by now I accomplished that by changing lines like this:

Changing the red lines from 1 to 2.

Spoiler


By now I don't think that there is a better option in the forum, maybe in the future someone can make a plugin that reads the A_CustomFinale* director vscript vars, and check if it is a tank, then set it to the new desired amount.

So in the end the data.cfg file from Silvers plugin will be like the "vscripts_override.cfg" attached file.
And you add this file "c9m2_lots_finale.nut" to your vscripts\vscripts_custom folder.

Note: Sometimes it doesn't work, noticed that with more frequency in the c12m5_cornfield map.
Attached Files
File Type: cfg vscripts_override.cfg (112 Bytes, 147 views)
File Type: zip c9m2_lots_finale.zip (629 Bytes, 120 views)
__________________

Last edited by Marttt; 03-12-2020 at 21:44.
Marttt is offline