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
No edit summary
Line 4: Line 4:


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


==Building==
==Building==


<pre>[MOGAPB]
<pre>[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
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
AIBuildThis=no
Armor=steel
BaseNormal=yes
BaseNormal=yes
Bombable=no
Bombable=no
BuildCat=Combat
BuildLimit=-5
BuildLimit=-5
Capturable=no
ClickRepairable=no
ClickRepairable=no
CloakGenerator=yes
Cloakable=yes
CloakRadiusInCells=10
Cost=2500
Crewed=no
HasRadialIndicator=yes
Image=GAGAP
ImmuneToPsionics=yes
ImmuneToPsionics=yes
IsBaseDefense=yes
IsBaseDefense=yes
IsSimpleDeployer=no
IsSimpleDeployer=no
Name=Mobile Stealth Generator
Owner=British,Americans,Germans,French,Alliance,Russians,Confederates,Africans,Arabs,YuriCountry
Points=250
Powered=yes
Power=-50
Prerequisite=GAGAP,GACNST
RadarInvisible=yes
RadarInvisible=yes
Repairable=yes
Repairable=yes
SensorArray=yes
SensorArray=yes
Sight=10
Soylent=2000
Strength=1000
TechLevel=-1
ThreatPosed=10
UIName=Name:MOGAPB
UndeploysInto=MOGAPV
Warpable=no</pre>
Warpable=no</pre>
<br />
<br />
Line 49: Line 52:


<pre>[MOGAPV]
<pre>[MOGAPV]
AllowedToStartInMultiplayer=no
UIName=Name:MOGAPV
Name=Mobile Gap Generator
Image=SREF
Prerequisite=GAGAP,FACTORY
Strength=1000
Category=Support
Armor=heavy
Armor=heavy
Bombable=no
BuildLimit=-5
Category=Support
Cost=2500
Crusher=yes
Crusher=yes
TechLevel=10
DeploysInto=MOGAPB
DeploysInto=MOGAPB
Image=SREF
Sight=10
ImmuneToPsionics=yes
Speed=5
Owner=Americans,Alliance,Germans,French,British
Cost=2500
Soylent=2500
Points=250
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Crusher
MovementZone=Crusher
Name=Mobile Stealth Generator
OmniCrushResistant=yes
OmniCrushResistant=yes
Owner=Americans,Alliance,Germans,French,British
AllowedToStartInMultiplayer=no
Bombable=no
BuildLimit=-5
ImmuneToPsionics=yes
Parasiteable=no
Parasiteable=no
Points=250
Prerequisite=GAGAP,FACTORY
RadarInvisible=yes
RadarInvisible=yes
SelfHealing=yes
SelfHealing=yes
Sight=10
Size=4
Size=4
Soylent=2000
Speed=5
Strength=1000
StupidHunt=yes
StupidHunt=yes
TechLevel=10
Trainable=no
Trainable=no
UIName=Name:MOGAPV
Warpable=no
Warpable=no
Weight=3</pre>
Weight=3</pre>
=Notes=
*The user must still edit the string table for the name.
*The code is alphabetized and does not follow standards. Someone can fix this if they wish. Demon Red Storm (author) will fix this as soon as possible.


[[category:Tutorials]]
[[category:Tutorials]]

Revision as of 20:25, 26 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