Posted by: Gameanater - Saturday, August 8, 2015 5:36:37 PM
I'm curious as to how to control the timer on a Super Weapon, be it in map.ini OR scripting. Right now I'm making a test map for my stuff and I would like my SCUD Storm to be ready as soon as the map is loaded, and not have to wait after firing to start firing again.
Posted by: acidbrain - Saturday, August 8, 2015 6:15:12 PM
You could add this to a map.ini
[code=plain]
SpecialPower SuperweaponScudStorm
Enum = SPECIAL_SCUD_STORM
ReloadTime = 1000 ;1 second
InitiateSound = ScudStormInitiated
PublicTimer = Yes
ViewObjectDuration = 40000
ViewObjectRange = 250
RadiusCursorRadius = 200
ShortcutPower = Yes
AcademyClassify = ACT_SUPERPOWER
End
[/code]
Posted by: oliver - Saturday, August 8, 2015 6:18:31 PM
Not really sure, but check the 1st USA mission of Generals, the GLA used the Scud Storm on the town civies, you probably will get what you want.
Or even the generals challenges, laser one, supweapon and nuke, they all use their superweapons at the intro.
Posted by: UTD^Force - Sunday, August 9, 2015 5:58:01 AM
[quote=Oliver;138169]Not really sure, but check the 1st USA mission of Generals, the GLA used the Scud Storm on the town civies, you probably will get what you want.
Or even the generals challenges, laser one, supweapon and nuke, they all use their superweapons at the intro.[/quote]
This can be done using scripts, and you don't have to change the timers to do this.