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
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 | ||
− | |||
BaseNormal=yes | BaseNormal=yes | ||
Bombable=no | Bombable=no | ||
− | |||
BuildLimit=-5 | BuildLimit=-5 | ||
− | |||
ClickRepairable=no | ClickRepairable=no | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
ImmuneToPsionics=yes | ImmuneToPsionics=yes | ||
IsBaseDefense=yes | IsBaseDefense=yes | ||
IsSimpleDeployer=no | IsSimpleDeployer=no | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
RadarInvisible=yes | RadarInvisible=yes | ||
Repairable=yes | Repairable=yes | ||
SensorArray=yes | SensorArray=yes | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Warpable=no</pre> | Warpable=no</pre> | ||
<br /> | <br /> | ||
Line 49: | Line 52: | ||
<pre>[MOGAPV] | <pre>[MOGAPV] | ||
− | + | UIName=Name:MOGAPV | |
+ | Name=Mobile Gap Generator | ||
+ | Image=SREF | ||
+ | Prerequisite=GAGAP,FACTORY | ||
+ | Strength=1000 | ||
+ | Category=Support | ||
Armor=heavy | Armor=heavy | ||
− | |||
− | |||
− | |||
− | |||
Crusher=yes | Crusher=yes | ||
+ | TechLevel=10 | ||
DeploysInto=MOGAPB | DeploysInto=MOGAPB | ||
− | + | Sight=10 | |
− | + | 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 | ||
− | |||
OmniCrushResistant=yes | OmniCrushResistant=yes | ||
− | + | AllowedToStartInMultiplayer=no | |
+ | Bombable=no | ||
+ | BuildLimit=-5 | ||
+ | ImmuneToPsionics=yes | ||
Parasiteable=no | Parasiteable=no | ||
− | |||
− | |||
RadarInvisible=yes | RadarInvisible=yes | ||
SelfHealing=yes | SelfHealing=yes | ||
− | |||
Size=4 | Size=4 | ||
− | |||
− | |||
− | |||
StupidHunt=yes | StupidHunt=yes | ||
− | |||
Trainable=no | Trainable=no | ||
− | |||
Warpable=no | Warpable=no | ||
Weight=3</pre> | Weight=3</pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
[[category:Tutorials]] | [[category:Tutorials]] |
Revision as of 22: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