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
Alliedg (talk | contribs)
No edit summary
m Replacing Template:TTL with Template:F.
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This creates a stealth generators like in Tiberian Sun/Firestorm
This creates a mobile stealth generator like in {{fs}}. This simply involves creating a vehicle, a structure, and adding some key tags.


__NOTOC__
<pre>[Vehicle]
DeploysInto=XXXX (whatever your deploying building is called)</pre>


The previous tutorial was copy and paste with a '''lot''' of unessecary tags.
<pre>[Building]
CloakGenerator=yes
CloakRadiusInCells=<integer></pre>


All you need is the following for a mobile stealth generator
{{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.


[Vehicle]
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.
DeploysInto=XXXX (whatever your deploying building is called)


[Building]
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.
CloakGenerator=yes ; I am a cloak generator, I cloaking surrounding and myself
CloakRadiusInCells= ; insert a number here


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


CloakGenerators can cause '''major''' lag in RA2/YR. This is due to RA2 being 25% bigger and also having DoubleThick=yes
The same deploying logic for a mobile stealth generator can be applied to a mobile gap generator, use [GAGAP] as reference.
 
 
Keeping the CloakRadiusInCells to something low e.g. 5 aswell as removing DoubleThick=yes can help in removing such issues.
 
 
Note that CloakRadiusInCells=0 doesn't not work and if set to 1 any object except hover, overlay next to the stealth generator will be cloaked.
 
 
The same 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.