HasTurretTooltips: Difference between revisions
Appearance
en>DCoder No edit summary |
m 2 revisions imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{flag | ||
|files={{Categ|ini=rules}} | |||
|values={{values|boolean}} | |||
|types={{Categ|Technoes}} | |||
|default=no | |||
|ra2=yes | |||
|yr=yes | |||
|ares=yes | |||
}} | |||
Fill in "yes" or "no." This code specifies whether the transport unit's tooltip should display as ''"<Passenger> <UIName>"'' based on the first Passenger when transporting troops. | |||
For this statement, the naming rule for IFV (Infantry Fighting Vehicle) is as follows: | |||
# If there are no Infantry Passengers, the vehicle will only display the content specified by [[UIName]]. | |||
# If it is a Vehicle Passenger, it does not fall under the Infantry Passenger rule as mentioned above. | |||
# If it is an Infantry Passenger and {{f|UseOwnName|yes|link}}, it will display as "<Passenger> <UIName>". | |||
# If it is an Infantry Passenger and {{f|UseOwnName|no|link}}: | |||
#*If using Tur[1], it will display as {(Fixed CSFLabel ''Tip:MachineGun'' ) ([TransportVehicle] > {{f|UIName|CSFLabel|link}})}. | |||
#*If using Tur[2], it will display as {(Fixed CSFLabel ''Tip:Repair'' ) ([TransportVehicle] > {{f|UIName|CSFLabel|link}})}. | |||
#*If using Tur[3], it will display as {([InfantryPassenger] > {{f|UIName|CSFLabel|link}}) ([TransportVehicle] > {{f|UIName|CSFLabel|link}})}. | |||
#*If using Tur[X], it will display as {(Fixed CSFLabel ''Tip:Rocket'' ) ([TransportVehicle] > {{f|UIName|CSFLabel|link}})}. | |||
In {{ra2}}, there is no [[UseOwnName]], but if the primary weapon has {{f|Bullets|yes|link}}, it will forcibly display as ''Tip:MachineGun''. | |||
==See Also== | |||
[[Gunner]] | |||
[[IFV Weapon System]] | |||
[[TurretCount]] | |||
[[WeaponCount]] | |||
[[UseOwnName]] | |||
[[Bullets]] | |||
Latest revision as of 21:45, 31 March 2025
|
|
|
|
|
|
| Flag: | HasTurretTooltips |
| File(s): | rules(md).ini |
| Values: | Boolean values: yes or no, true or false, 1 or 0 |
| Default: | no |
| Applicable to: | TechnoTypes:
AircraftTypes, BuildingTypes, InfantryTypes and VehicleTypes |
Fill in "yes" or "no." This code specifies whether the transport unit's tooltip should display as "<Passenger> <UIName>" based on the first Passenger when transporting troops. For this statement, the naming rule for IFV (Infantry Fighting Vehicle) is as follows:
- If there are no Infantry Passengers, the vehicle will only display the content specified by UIName.
- If it is a Vehicle Passenger, it does not fall under the Infantry Passenger rule as mentioned above.
- If it is an Infantry Passenger and UseOwnName=yes, it will display as "<Passenger> <UIName>".
- If it is an Infantry Passenger and UseOwnName=no:
- If using Tur[1], it will display as {(Fixed CSFLabel Tip:MachineGun ) ([TransportVehicle] > UIName=CSFLabel)}.
- If using Tur[2], it will display as {(Fixed CSFLabel Tip:Repair ) ([TransportVehicle] > UIName=CSFLabel)}.
- If using Tur[3], it will display as {([InfantryPassenger] > UIName=CSFLabel) ([TransportVehicle] > UIName=CSFLabel)}.
- If using Tur[X], it will display as {(Fixed CSFLabel Tip:Rocket ) ([TransportVehicle] > UIName=CSFLabel)}.
In Red Alert 2, there is no UseOwnName, but if the primary weapon has Bullets=yes, it will forcibly display as Tip:MachineGun.





