Jump to content

UnloadingClass: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 8: Line 8:
|yr=yes
|yr=yes
}}
}}
 
Specifies the vehicle that this unit should turn into when performing a special function. The unit doesn't actually turn into another vehicle, though, and usually only the [[Image]] value is read. The default value 'none' means that the original unit's image will be used.<br>
Specifies the vehicle that this unit should turn into when performing a special function. The unit doesn't actually turn into another vehicle, though, and usually only the [[Image]] value is read. The default value 'none' means that the original unit's image will be used.
[[VehicleTypes]] that are contained within '''UnloadingClass''' can have {{f|Turret|yes|link}} and {{f|TurretSpins|yes|Link}}(But [[ROT]] is based on the default [[VehicleTypes]] only).<br>
The [[TurretRotateSound]] tag also affects [[VehicleTypes]] that are contained within '''UnloadingClass''' if the [[VehicleTypes]] defaults to have {{f|Turret|yes|link}}.


== Notes ==
== Notes ==
Line 15: Line 16:


{{Bugs}}
{{Bugs}}
*<b><u>[[VehicleTypes]]</u></b> that is defined in the section <b><u><font style="Color:blue">UnloadingClass</font></u></b> always has <b><u>[[Turret]]</u></b> ;<b><u>{{f|TurretSpins|yes|Link}}</u></b>working under this error as well.
*<b><u>{{f|NoShadow|yes|Link}}</u></b>working under this error as well.<br>
:<b><u>{{f|NoShadow|yes|Link}}</u></b>working under this error as well.
*[[VehicleTypes]] Types [[Voxel]] cannot determine '''UnloadingClass=[[VehicleTypes]] SHP'''. (but I found a way to make it work[testid123])
 
>But if <b><u>[[VehicleTypes]]</u></b> that is defined in the section <b><u><font style="Color:blue">UnloadingClass</font></u></b> has <b><u>{{f|Turret|no|Link}}</u></b> and <b><u>{{f|TurretSpins|no|Link}}</u></b> It will actually result in the order of the original tag.

Revision as of 07:42, 10 October 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: UnloadingClass
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: VehicleTypes)
Default: none
Applicable to: VehicleTypes


Specifies the vehicle that this unit should turn into when performing a special function. The unit doesn't actually turn into another vehicle, though, and usually only the Image value is read. The default value 'none' means that the original unit's image will be used.
VehicleTypes that are contained within UnloadingClass can have Turret=yes and TurretSpins=yes(But ROT is based on the default VehicleTypes only).
The TurretRotateSound tag also affects VehicleTypes that are contained within UnloadingClass if the VehicleTypes defaults to have Turret=yes.

Notes

Although this tag is parsed for all TechnoTypes, the logic works only for VehicleTypes that make use of Dock and IsSimpleDeployer.

Bugs/Side-Effects/Unexpected Limitations