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
m minor spelling correction
Juances19 (talk | contribs)
No edit summary
Line 8: Line 8:


[Vehicle]
[Vehicle]
DeploysInto=XXXX (whatever your deploying building is called)
DeploysInto=XXXX (whatever your deploying building is called)


[Building]
[Building]
CloakGenerator=yes ; I am a cloak generator, I cloaking surrounding and myself
 
CloakRadiusInCells= ; insert a number here
{{TTL|CloakGenerator}}=yes ; I am a cloak generator, I cloaking surrounding and myself
 
{{TTL|CloakRadiusInCells}}= ; insert a number here





Revision as of 02:38, 1 July 2009

This creates a stealth generators like in Tiberian Sun/Firestorm


The previous tutorial was copy and paste with a lot of unnecessary tags.

All you need is the following for a mobile stealth generator

[Vehicle]

DeploysInto=XXXX (whatever your deploying building is called)

[Building]

Template:TTL=yes ; I am a cloak generator, I cloaking surrounding and myself

Template:TTL= ; insert a number here


CloakGenerators can cause major lag in RA2/YR. This is due to RA2 being 25% bigger and also having DoubleThick=yes


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.