Spawner: Difference between revisions
en>Testid123 mNo edit summary |
Rain-Islet (talk | contribs) m [bot] Batch update {{Bugs}} templates. |
||
| (One intermediate revision by one other user not shown) | |||
| Line 10: | Line 10: | ||
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}} | =={{Bugs}}== | ||
*If you set it like this: | *If you set it like this: | ||
'''[TechnoTypes]'''<br> | '''[TechnoTypes]'''<br> | ||
Latest revision as of 17:52, 2 July 2025
|
|
|
|
|
|
| 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.





