Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue May 26, 2026 10:21 pm
All times are UTC + 0
Can't get the AI to build air units!!!!!!!!!!
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Tue Dec 07, 2010 8:37 pm    Post subject:  Can't get the AI to build air units!!!!!!!!!!
Subject description: Please help!!!!!!!!!!
Reply with quote  Mark this post and the followings unread

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

[ScriptTypes] section:
Code:

[BDEFENSE]
Name=Base defense
0=11,10

[TeamTypes] section:
Code:

[ORCAPOOL]
Name=Orca Fighter pool
VeteranLevel=1
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=GDI
Recruiter=no
Autocreate=no
Prebuild=no
Reinforce=no
Droppod=no
Whiner=yes
LooseRecruit=no
Aggressive=yes
Suicide=no
Priority=4
Max=1
TechLevel=0
Group=-1
OnTransOnly=no
AvoidThreats=no
IonImmune=no
TransportsReturnOnUnload=no
AreTeamMembersRecruitable=yes
IsBaseDefense=no
OnlyTargetHouseEnemy=yes
Script=BDEFENSE
TaskForce=ORCA2

[TriggerTypes] section:
Code:

GDIORCAPOOL=GDI Orca Fighter pool,ORCAPOOL,1,1,GAHPAD,0100000003000000000000000000000000000000000000000000000000000000,60.000000,60.000000,60.000000,1,0,1,0,<none>,0,1,1


I would appreciate a lot any help!!!!!!!!!!!

Back to top
View user's profile Send private message
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Tue Dec 07, 2010 8:45 pm    Post subject: Re: Can't get the AI to build air units!!!!!!!!!! Reply with quote  Mark this post and the followings unread

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)


Back to top
View user's profile Send private message ModDB Profile ID Facebook Profile URL
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Tue Dec 07, 2010 9:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

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?

Back to top
View user's profile Send private message
FurryQueen
General


Also Known As: Fen
Joined: 24 Jul 2010

PostPosted: Wed Dec 08, 2010 12:06 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Wed Dec 08, 2010 12:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Unless TS is different from RA2 it looks like your missing the owner in the [TriggerTypes] section, should be like this,

GDIORCAPOOL=GDI Orca Fighter pool,ORCAPOOL,GDI,1,1,GAHPAD,0100000003000000000000000000000000000000000000000000000000000000,60.000000,60.000000,60.000000,1,0,1,0,<none>,0,1,1

_________________

The enemy shall be injected with toxic poison - Venom

Back to top
View user's profile Send private message Visit poster's website Skype Account
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Wed Dec 08, 2010 1:25 am    Post subject: Reply with quote  Mark this post and the followings unread

THANK YOU MAN YOU'RE A GENIUS!!!!!!!!!!!!!!

Or you just have a REALLY good pair of eyes...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1904s ][ Queries: 11 (0.0100s) ][ Debug on ]