IsSimpleDeployer: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
==Notes== | ==Notes== | ||
* If the unit is {{f|JumpJet|yes|link}} and has {{ | * If the unit is {{f|JumpJet|yes|link}} and has {{f|DeployToLand|yes|link}} set, it will first turn to face the direction specified by {{sl|AudioVisual|PoseDir}}, and land to deploy only after. | ||
* If the original vehicle has {{f|Turret|yes|link}}, but the [[UnloadingClass]] does not, the game will still try to look for a turret graphic corresponding to the UnloadingClass image when the unit deploys, and will use an invisible turret if it doesn't find one. | * If the original vehicle has {{f|Turret|yes|link}}, but the [[UnloadingClass]] does not, the game will still try to look for a turret graphic corresponding to the UnloadingClass image when the unit deploys, and will use an invisible turret if it doesn't find one. | ||
* If the original vehicle has {{f|Turret|no|link}}, but the [[UnloadingClass]] has {{f|Turret|yes|link}}, the turret image corresponding to the UnloadingClass image will still get loaded, but the unit itself will turn to face the target, with the turret fixed facing the same direction as the unit. | * If the original vehicle has {{f|Turret|no|link}}, but the [[UnloadingClass]] has {{f|Turret|yes|link}}, the turret image corresponding to the UnloadingClass image will still get loaded, but the unit itself will turn to face the target, with the turret fixed facing the same direction as the unit. | ||
Line 20: | Line 20: | ||
{{Bugs}} | {{Bugs}} | ||
*If there is only one <b><u><font style="color:blue">IsSimpleDeployer=yes</font></u></b> tag with no additional tags involved. This tag will disable the tag. <b><u>[[BalloonHover]]</u></b> | *If there is only one <b><u><font style="color:blue">IsSimpleDeployer=yes</font></u></b> tag with no additional tags involved. This tag will disable the tag. <b><u>[[BalloonHover]]</u></b> | ||
That | |||
That is to say, <b><u>{{f|DeployToLand|true|Link}}</u></b>&IsSimpleDeploy=true can achieve the same hovering effect as <b><u>{{f|BalloonHover|yes|Link}}</u></b>, but if there is no <b><u>{{f|DeployToLand|true|Link}}</u></b> and only IsSimpleDeploy=true, even <b><u>{{f|BalloonHover|yes|Link}}</u></b> cannot prevent the unit from landing. | |||
==See also== | ==See also== | ||
Line 29: | Line 31: | ||
* [[DeployToLand]] | * [[DeployToLand]] | ||
* [[DeploysInto]] | * [[DeploysInto]] | ||
* [[BalloonHover]] |
Revision as of 10:36, 18 July 2024
Flag: | IsSimpleDeployer |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | VehicleTypes |
Specifies whether or not this object is allowed to deploy to change its weapon (specified by the DeployFireWeapon tag on the unit) and its Image (taken from the unit specified by the UnloadingClass tag). If specified, the unit will be able to fire its' DeployFireWeapon normally when deployed. If a vehicle only has DeployFire, it will fire its' DeployFireWeapon directly at the ground underneath itself when deployed (although the weapon can also be fired at other targets by the unit's owner).
The game will also play DeployingAnim when the unit is ordered to deploy or undeploy. Units which only have DeployFire will simply fire at the ground at their position when deployed and can be aimed at other targets and ordered to move as any other unit, while units which have IsSimpleDeployer will also be unable to move in this form, until ordered to deploy again.
Notes
- If the unit is JumpJet=yes and has DeployToLand=yes set, it will first turn to face the direction specified by [AudioVisual]→PoseDir=, and land to deploy only after.
- If the original vehicle has Turret=yes, but the UnloadingClass does not, the game will still try to look for a turret graphic corresponding to the UnloadingClass image when the unit deploys, and will use an invisible turret if it doesn't find one.
- If the original vehicle has Turret=no, but the UnloadingClass has Turret=yes, the turret image corresponding to the UnloadingClass image will still get loaded, but the unit itself will turn to face the target, with the turret fixed facing the same direction as the unit.
Bugs/Side-Effects/Unexpected Limitations
- If there is only one IsSimpleDeployer=yes tag with no additional tags involved. This tag will disable the tag. BalloonHover
That is to say, DeployToLand=true&IsSimpleDeploy=true can achieve the same hovering effect as BalloonHover=yes, but if there is no DeployToLand=true and only IsSimpleDeploy=true, even BalloonHover=yes cannot prevent the unit from landing.