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
No edit summary
rw
Line 84: Line 84:
Weight=3</pre>
Weight=3</pre>


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

Revision as of 12:45, 30 March 2008

This creates a Mobile stealth Generator like the one in Firestorm.


The code

The user must append the vehicle and building lists, along with (optionally), the string tables.

Building

[MOGAPB]
UIName=Name:MOGAPB
Name=Mobile Gap Generator
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


Vehicle

[MOGAPV]
UIName=Name:MOGAPV
Name=Mobile Gap Generator
Image=SREF
Prerequisite=GAGAP,FACTORY
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