Difference between revisions of "Implementing Stealth Generators"
(rw) |
(→The code) |
||
Line 3: | Line 3: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | The previous tutorial was copy and paste with a '''lot''' of unessecary tags. | |
− | + | All you need is the following | |
− | = | + | [Vehicle] |
+ | DeploysInto=XXXX (whatever your deploying building is called) | ||
− | + | [Building] | |
− | + | CloakGenerator=yes ; I am a cloak generator, I cloaking surrounding and myself | |
− | + | CloakRadiusInCells= ; insert a number here | |
− | |||
− | |||
− | |||
− | CloakGenerator=yes | ||
− | |||
− | CloakRadiusInCells= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | = | + | 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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[category:RA2/YR Tutorials]] | [[category:RA2/YR Tutorials]] |
Revision as of 23:00, 30 March 2008
This creates a Mobile stealth Generator like the one in Firestorm.
The previous tutorial was copy and paste with a lot of unessecary tags.
All you need is the following
[Vehicle] DeploysInto=XXXX (whatever your deploying building is called)
[Building] CloakGenerator=yes ; I am a cloak generator, I cloaking surrounding and myself CloakRadiusInCells= ; 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.