Spawner: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
}} | }} | ||
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 {{f|Warhead|Special|link}} 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 {{f|SpawnsNumber||link}}, {{f|SpawnRegenRate||link}}, and {{f|SpawnReloadRate|link}} tags respectively '''(see the [[VehicleTypes]] section for more details)'''. | 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 {{f|Warhead|Special|link}} 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 {{f|SpawnsNumber||link}}, {{f|SpawnRegenRate||link}}, and {{f|SpawnReloadRate|link}} tags respectively '''(see the [[VehicleTypes]] section for more details)'''. | ||
{{Bugs}} | |||
*If you set it like this: | |||
'''[TechnoTypes]'''<br> | |||
{{f|Primary|ASWLauncher|link}}<br> | |||
{{f|Spawns|ORCA|link}}<br> | |||
{{f|SpawnsNumber|2|link}}<br> | |||
{{f|SpawnRegenRate|1|link}}<br> | |||
{{f|SpawnReloadRate|1|link}}<br> | |||
'''[ORCA]'''<br> | |||
{{f|Primary|DroneJump|link}}<br> | |||
'''[DroneJump]'''<br> | |||
{{f|Range|10|link}}<br> | |||
{{f|ROF|1|link}}<br> | |||
{{f|Warhead|SSA|link}}<br> | |||
{{f|Burst|0|link}} ;Required. If not, this error will not occur.<br> | |||
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. |
Latest revision as of 14:06, 2 December 2024
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.