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

Difference between revisions of "Implementing Stealth Generators"

From ModEnc
Jump to: navigation, search
(rw)
(The code)
Line 3: Line 3:
 
__NOTOC__
 
__NOTOC__
  
=The code=
+
The previous tutorial was copy and paste with a '''lot''' of unessecary tags.
  
The user must append the vehicle and building lists, along with (optionally), the string tables.
+
All you need is the following
  
==Building==
+
[Vehicle]
 +
DeploysInto=XXXX (whatever your deploying building is called)
  
<pre>[MOGAPB]
+
[Building]
UIName=Name:MOGAPB
+
CloakGenerator=yes ; I am a cloak generator, I cloaking surrounding and myself
Name=Mobile Gap Generator
+
CloakRadiusInCells= ; insert a number here
Image=GAGAP
 
BuildCat=Combat
 
Prerequisite=GAGAP,GACNST
 
CloakGenerator=yes
 
Cloakable=yes
 
CloakRadiusInCells=10
 
Strength=1000
 
Armor=steel
 
TechLevel=-1
 
Adjacent=5
 
HasRadialIndicator=yes
 
UndeploysInto=MOGAPV
 
Sight=10
 
Owner=British,Americans,Germans,French,Alliance,Russians,Confederates,Africans,Arabs,YuriCountry
 
AIBasePlanningSide=0
 
Cost=2500
 
Soylent=2500
 
Points=250
 
Power=-50
 
Powered=yes
 
Capturable=no
 
Crewed=no
 
ThreatPosed=10
 
AIBuildThis=no
 
BaseNormal=yes
 
Bombable=no
 
BuildLimit=-5
 
ClickRepairable=no
 
ImmuneToPsionics=yes
 
IsBaseDefense=yes
 
IsSimpleDeployer=no
 
RadarInvisible=yes
 
Repairable=yes
 
SensorArray=yes
 
Warpable=no</pre>
 
<br />
 
  
==Vehicle==
+
CloakGenerators can cause '''major''' lag in RA2/YR. This is due to RA2 being 25% bigger and also having DoubleThick=yes
  
<pre>[MOGAPV]
+
Keeping the CloakRadiusInCells to something low e.g. 5 aswell as removing DoubleThick=yes can help in removing such issues.
UIName=Name:MOGAPV
+
 
Name=Mobile Gap Generator
+
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.
Image=SREF
+
 
Prerequisite=GAGAP,FACTORY
+
The same logic for a mobile stealth generator can be applied to a mobile gap generator, use [GAGAP] as reference.
Strength=1000
 
Category=Support
 
Armor=heavy
 
Crusher=yes
 
TechLevel=10
 
DeploysInto=MOGAPB
 
Sight=10
 
Speed=5
 
Owner=Americans,Alliance,Germans,French,British
 
Cost=2500
 
Soylent=2500
 
Points=250
 
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
 
MovementZone=Crusher
 
OmniCrushResistant=yes
 
AllowedToStartInMultiplayer=no
 
Bombable=no
 
BuildLimit=-5
 
ImmuneToPsionics=yes
 
Parasiteable=no
 
RadarInvisible=yes
 
SelfHealing=yes
 
Size=4
 
StupidHunt=yes
 
Trainable=no
 
Warpable=no
 
Weight=3</pre>
 
  
 
[[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.