View Single Post
Old 07-01-2006, 12:12 AM   #4 (permalink)
Kilkakon
Junior Member
 
Join Date: Jun 2006
Posts: 7
Default

The TechLevel on the Lab isn't 0 or -1 since the players can build everything.

There's some coding, I don't know if it'll help.

Code:
{General}
GDIPowerPlant=GAPOWR,GAGEOG
PrerequisitePower=GAPOWR,NAPOWR,NANRCT,GAGEOG,GAUPOWR
PrerequisiteRadar=GARADR,GAAIRC,NARADR,AMRADR

{BuildingTypes}
23=GARADR
309=GAGEOG

{AI}
BuildConst=GACNST,NACNST
BuildPower=NAPOWR,GAPOWR,GAGEOG		; buildings to build to generate power

BuildRefinery=NAREFN,GAREFN			; refinery ratio based on these buildings
BuildBarracks=NAHAND,GAPILE			; barracks ratio based on these buildings
BuildTech=GATECH,NATECH				; should build on each of these
BuildWeapons=GAWEAP,NAWEAP			; war factory ration based on these buildings
BuildDefense=GAROCA,TESLA,ATESLA		; base defenses are based on these buildings
BuildPDefense=GAROCA,TESLA,ATESLA		; excess power base defense
BuildAA=GACSAA,NASAM,NAFLAK			; air defenses based on these buildings
BuildHelipad=GAAIRC		            ; air helicopter offense based on these buildings
BuildRadar=GAAIRC,NARADR,GARADR
ConcreteWalls=GAWALL,NAWALL
NSGates=NAGATE_B,GAGATE_B
EWGates=NAGATE_A,GAGATE_A
BuildNavalYard=NAYARD,GAYARD
BuildDummy=GAVULA,GAPILL,NALASR
NeutralTechBuildings=CAAIRP,CATHOSP,CAOILD,CAOUTP

{GAGEOG}
Basically like tesla reactor for allies
Prerequisite=GACNST

{GARADR}
Basically like soviet radar.
Prerequisite=GAREFN,GACNST
Owner=Americans

{GATECH}
UIName=Name:GATECH
Name=Allied Battle Lab
BuildCat=Tech
Prerequisite=GAWEAP,GARADR,GACNST
Strength=500
Armor=wood
TechLevel=8
Adjacent=2
Sight=6
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs
AIBasePlanningSide=0 ;gs 0 for Good, 1 for Evil
Cost=2000
Points=85
Power=-100
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS6SM,DBRS10LG
MaxDebris=12
MinDebris=6
ThreatPosed=0	; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=1500, 1055, 815
AIBuildThis=yes
TogglePower=no
Spyable=yes
ProtectWithWall=yes
Hope narrows it down.
Kilkakon is offline   Reply With Quote