ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Implementing Stealth Generators: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
Added some... well... grammar and stuff.
m Replacing Template:TTL with Template:F.
 
Line 8: Line 8:
CloakRadiusInCells=<integer></pre>
CloakRadiusInCells=<integer></pre>


{{TTL|CloakGenerator|yes}} will indicate to the game that this structure should cloak anything within its {{TTL|CloakRadiusInCells}}, which should be a whole number value.
{{f|CloakGenerator|yes|link}} will indicate to the game that this structure should cloak anything within its {{f|CloakRadiusInCells|link}}, which should be a whole number value.


CloakGenerators can cause '''major''' lag in RA2/YR. This is due to RA2's increased graphics size, and also the presence of {{TTL|DoubleThick|yes}} on many art entries.
CloakGenerators can cause '''major''' lag in RA2/YR. This is due to RA2's increased graphics size, and also the presence of {{f|DoubleThick|yes|link}} on many art entries.


To reduce this lag, you should keep {{TTL|CloakRadiusInCells}} to a low value, as well as removing the {{TTL|DoubleThick|yes}} entry on art entries.
To reduce this lag, you should keep {{f|CloakRadiusInCells|link}} to a low value, as well as removing the {{f|DoubleThick|yes|link}} entry on art entries.


{{TTL|CloakRadiusInCells|0}} has no effect.
{{f|CloakRadiusInCells|0|link}} has no effect.


The same deploying logic for a mobile stealth generator can be applied to a mobile gap generator, use [GAGAP] as reference.
The same deploying logic for a mobile stealth generator can be applied to a mobile gap generator, use [GAGAP] as reference.


[[category:RA2/YR Tutorials]]
[[category:RA2/YR Tutorials]]

Latest revision as of 08:08, 27 November 2009

This creates a mobile stealth generator like in Firestorm. This simply involves creating a vehicle, a structure, and adding some key tags.

[Vehicle]
DeploysInto=XXXX (whatever your deploying building is called)
[Building]
CloakGenerator=yes
CloakRadiusInCells=<integer>

CloakGenerator=yes will indicate to the game that this structure should cloak anything within its CloakRadiusInCells, which should be a whole number value.

CloakGenerators can cause major lag in RA2/YR. This is due to RA2's increased graphics size, and also the presence of DoubleThick=yes on many art entries.

To reduce this lag, you should keep CloakRadiusInCells to a low value, as well as removing the DoubleThick=yes entry on art entries.

CloakRadiusInCells=0 has no effect.

The same deploying logic for a mobile stealth generator can be applied to a mobile gap generator, use [GAGAP] as reference.