Jump to content
Sign in to follow this  
RST007

Help needed with this Stupid YuriAirfield

Recommended Posts

ok i think i did everything correct but i still can't find why the AI doesn't want to build this F*cking Airpad, it's driving me nuts.

 

added YURAIR in my buildingslist, i even added hem like a 2nth Radar because its gonna replace the current radar of Yuri.

anybody see something wrong?

Or are there other things that i need to check if the AI would build this building? are there other things that the AI need to build this building?

I tested it myself it's buildable for skirmisch games so...

I also have a soviet airfield, i added thisone succesfully at the first time, so i dunno why thisone isn't working :D

here's the code;

 

[YURAIR]

UIName=Name:YURAIR

Name=Yuri Airbase

BuildCat=Tech

Prerequisite=YACNST

Strength=600

Armor=steel

Adjacent=3

TechLevel=4

Sight=5

UnitReload=yes

;UnitRepair=yes;gs this is part of reloading + being an aircraft (Repair code is oogly, only Reload got rewritten for four ports.)

Helipad=yes

Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,

Arabs,YuriCountry

ForbiddenHouses=Americans

AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil

Cost=1000

Points=70

Power=-50

Factory=AircraftType

Capturable=true

Crewed=yes

Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60

DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS

6LG,DBRIS6SM,DBRIS7LG

MaxDebris=8

MinDebris=4

ThreatPosed=0 ; This value MUST be 0 for all building addons

;DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys

DamageSmokeOffset=75, 270, 140

AIBuildThis=yes

NumberOfDocks=4

HasStupidGuardMode=false

Radar=yes

Spyable=yes

ImmuneToPsionics=no ; defaults to yes for buildings, no for others

 

 

i hope some1 can tell me what stupid thing is missing, yuri just doesnt create this building....

 

regards,

 

Robin

Share this post


Link to post
AIBasePlanningSide=1

YuriCountry is 2

 

Did you change any of the other base building plans, like what they identify as Radar?

Share this post


Link to post

I also recommend renaming the structure and its associated files so you have the properly named set so theaters will display properly.

 

yaafld.shp, and yaafld_* for animations.

ygafld.shp, and ygafld_* for animations.

and y*afldmk.shp for every theater.

 

That cuts down on build up issues and not being able to sell properly.

Share this post


Link to post

Hehe i feel pretty stupid :D

 

I guess this is the bad side of Copy/Pasting ;)

 

ok Destiny i give it a try :D

 

thanks for your reply's guy's, again a stupid mistake has been cleared :D

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×