IsChargeTurret: Difference between revisions
Appearance
en>DCoder m Well, technically (bool)0 == false, but still... |
m . |
||
| (7 intermediate revisions by 5 users not shown) | |||
| Line 2: | Line 2: | ||
|name={{PAGENAME}} | |name={{PAGENAME}} | ||
|files={{Categ|Rules(md).ini}} | |files={{Categ|Rules(md).ini}} | ||
|values=boolean | |values={{Values|boolean}} | ||
|default=no | |default=no | ||
|types={{Categ|VehicleTypes}} | |types={{Categ|VehicleTypes}} | ||
| | |ra2=yes | ||
|yr=yes | |||
|rp=yes | |||
}} | }} | ||
If set, specifies that: | If set, specifies that: | ||
*this | *this unit should cycle all of its turrets (see [[TurretCount]]) after each shot, to create an impression of the weapon recharging/recoiling. | ||
*this | *this unit should only use {{f|Weapon1|link}} and {{f|EliteWeapon1|link}}, and ignore all other weapons it has. | ||
==Alternate Usage== | |||
The charge turret logic can also be used more simply to mimic loaded and unloaded states. Similar to [[NoSpawnAlt]] on {{f|Spawner|yes|link}} vehicles, with turret 1 art showing a loaded state, and turret 2 showing unloaded. | |||
The main behavioural difference, aside from the projectile not being an independent spawned [[AircraftTypes|aircraft]], is that because it is a turret, it can face the target without the whole unit having to turn. | |||
Latest revision as of 04:56, 8 April 2025
|
|
|
|
|
|
| Flag: | IsChargeTurret |
| File(s): | Rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | VehicleTypes |
If set, specifies that:
- this unit should cycle all of its turrets (see TurretCount) after each shot, to create an impression of the weapon recharging/recoiling.
- this unit should only use Weapon1 and EliteWeapon1, and ignore all other weapons it has.
Alternate Usage
The charge turret logic can also be used more simply to mimic loaded and unloaded states. Similar to NoSpawnAlt on Spawner=yes vehicles, with turret 1 art showing a loaded state, and turret 2 showing unloaded.
The main behavioural difference, aside from the projectile not being an independent spawned aircraft, is that because it is a turret, it can face the target without the whole unit having to turn.





