Posted: Tue Dec 07, 2010 8:37 pm Post subject:
Can't get the AI to build air units!!!!!!!!!!
Subject description: Please help!!!!!!!!!!
I've tried everything, I modified my rules.ini and ai.ini hundreds of times but nothing works!!!!!!!
I'm posting an example, some of the aircrafts I want the AI to build, the GDI Orca Fighter:
In my rules.ini:
Code:
; ORCA Fighter
[ORCA]
Name=Orca Fighter
Prerequisite=1STTECH,GAHPAD
Primary=Hellfire
Strength=200
Category=AirPower
Armor=light
TechLevel=1
Sight=2
RadarInvisible=no
Landable=yes
MoveToShroud=no
Dock=GAHPAD,NAHPAD
PipScale=Ammo
Speed=20
PitchSpeed=.16
Owner=GDI
Cost=800
Points=20
ROT=5
Ammo=5
Crewed=yes
GuardRange=30
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
MaxDebris=4
VoiceSelect=30-I000,30-I002,30-I004,30-I006
VoiceMove=30-I014,30-I016,30-I018,30-I022
VoiceAttack=30-I022,30-I030,30-I034,30-I036
Locomotor={4A582746-9839-11d1-B709-00A024DDAFD1}
MovementZone=Fly
ThreatPosed=20 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
AuxSound1=ORCAUP1 ;Taking off
AuxSound2=ORCADWN1 ;Landing
(1STTECH is a new building from my mod and the AI always makes it, so that's not the problem)
In my AI.ini:
[Taskforces] section:
Code:
[ORCA2]
Name=Orca (pool and attack)
0=1,ORCA
Group=-1
Posted: Tue Dec 07, 2010 8:45 pm Post subject:
Re: Can't get the AI to build air units!!!!!!!!!!
TiberFCSL wrote:
(1STTECH is a new building from my mod and the AI always makes it, so that's not the problem)
The AI ignores building prerequisite requirements anyway.
TiberFCSL wrote:
[TeamTypes] section:
Code:
[ORCAPOOL]
...
IsBaseDefense=no
...
Shouldn't that be yes?
Assuming you're testing AI levels 1 or 2, I see nothing wrong. You could probably try following the usual trigger naming method though, XXXXXXXX-G. Also, try giving the trigger a higher chance, something like 1000.000000 should be fine for testing purposes. _________________ CnCNet Client | CnCNet TS patches | Vinifera | World-Altering Editor (WAE)
Thanks a lot. I did everything you said and nothing happened, but the XXXXXX-G thing. Do they have to be hexadecimal numbers or normal 0-9 numbers? QUICK_EDIT
You can use anything there really. I'm not entirely sure about Tiberian Sun, but the -G suffix shouldn't actually be required. _________________ Discord: princess_marisa
Steam QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum