ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Spawner

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: Spawner
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: weapons


Can be set to 'yes' or 'no' and specifies whether or not this weapon actually 'spawns' another unit from the firer. This type of weapon requires the special case Warhead=Special set which is a hardcode routine that passes the targeting and firing rules from the owning unit itself to the unit that is spawned. The spawned unit is specified by Spawns= , with the number of units to spawn and the frequency (reloading) of spawning being controlled by the SpawnsNumber=, SpawnRegenRate=, and SpawnReloadRate tags respectively (see the VehicleTypes section for more details).

Bugs/Side-Effects/Unexpected Limitations

  • If you set it like this:

[TechnoTypes]
Primary=ASWLauncher
Spawns=ORCA
SpawnsNumber=2
SpawnRegenRate=1
SpawnReloadRate=1

[ORCA]
Primary=DroneJump

[DroneJump]
Range=10
ROF=1
Warhead=SSA
Burst=0 ;Required. If not, this error will not occur.
will give results like this: ORCA will continue to fly out and be destroyed instead of destroying the target And keep doing this without end.