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 Sat Apr 20, 2024 2:33 am
All times are UTC + 0
AI won't build my buildings!
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [11 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
raAdic
Vehicle Drone


Joined: 14 May 2009

PostPosted: Tue May 19, 2009 12:27 pm    Post subject:  AI won't build my buildings! Reply with quote  Mark this post and the followings unread

Hello everybody. I added a new battle lab exclusive only for the British. But every time I start the game, AI won't build it. I added AIBuildThis=yes in the Battle Lab's code in rules.ini, but nothing happened. I also added RequiredHouses=British to the code. Yet, nothing happened. But when I returned everything back to normal, an IE message appears after the AI builds a war factory, and vice versa. What shall I do?

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Tue May 19, 2009 5:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Code:
Owner=French
RequiredHouses=French
ForbiddenHouses=British,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry

Of course, edit to suit your needs.

Back to top
View user's profile Send private message
Lexa
Tiberian Beast


Joined: 08 May 2009
Location: Humour House and Red Alert 2 Editing. Occupation: Female Modder, YR: Uprising coder

PostPosted: Tue May 19, 2009 11:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

Also:
[General]
BuildTech=YOURNEWLAB

[YOURNEWLAB]
Prerequisite=BUILDING

_________________

The fallen hero will be remembered. She will rise again.

Back to top
View user's profile Send private message
raAdic
Vehicle Drone


Joined: 14 May 2009

PostPosted: Wed May 20, 2009 12:32 am    Post subject: Reply with quote  Mark this post and the followings unread

I already fixed those codes, yet only I can build the new battle lab and the AI won't. And when I removed the RequiredHouses= from the new battle lab and removed the ForbiddenHouses= from the Allied tech center, an IE appears after the AI builds a war factory...

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Wed May 20, 2009 2:17 am    Post subject: Reply with quote  Mark this post and the followings unread

you DID add the building to the list, right?

_________________
MIdAS - Turning wages into beer since 2002

Back to top
View user's profile Send private message
raAdic
Vehicle Drone


Joined: 14 May 2009

PostPosted: Wed May 20, 2009 2:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes, indeed. Only I can build the structure and it's going fine, the animations, buildups, everything. But the AI won't build it.

Back to top
View user's profile Send private message
crevio
Commander


Joined: 19 Apr 2009

PostPosted: Wed May 20, 2009 3:02 am    Post subject: Reply with quote  Mark this post and the followings unread

post your codes so i can look at whats going on here

or try this

[AI]
BuildTech= ;name of your new tech building

and lexa ive noticed alot of stuff you post is wrong! not trying to be an arse hole, just stating a fact

BuildTech= does not go under [General] it will go under [AI]

Back to top
View user's profile Send private message
raAdic
Vehicle Drone


Joined: 14 May 2009

PostPosted: Wed May 20, 2009 3:36 am    Post subject: Reply with quote  Mark this post and the followings unread

Here are some:

[AI]
BuildTech=NATECH,GATECH,(MYTECH)

----------

PrerequisiteTech=NATECH,GATECH,(MYTECH)

----------

(Structure List)
nnn=(MYTECH)

----------

(List of Animations)
nnn=MYTECHMK
nnn=MYTECH_A
nnn=MYTECH_AD
etc, etc, etc...

----------

[MYTECH]
UIName=Name:MYTECH
Name=MYTECH
Image=MYTECH
Prerequisite=GAWEAP,Radar
Owners=British (for example)
RequiredHouses=British
etc.
etc.
etc.
AIBuildThis=yes

Back to top
View user's profile Send private message
crevio
Commander


Joined: 19 Apr 2009

PostPosted: Wed May 20, 2009 5:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Whats with the PrerequisiteTech=NATECH,GATECH,(MYTECH)
as far as i know thats not even a code, and if you have that in [AI] thats probably why they aint building it....

Back to top
View user's profile Send private message
Dark Templar X
Commander


Joined: 26 Feb 2009

PostPosted: Wed May 20, 2009 6:53 am    Post subject: Reply with quote  Mark this post and the followings unread

If you don't have a clue, keep your trap shut ffs.
PrerequisiteTech is a valid tag found in the [General] section and it defines which tech labs to use part of the TECH generic prerequisite.

raAdic;
Post your structure's code in its entirety if you would. I have a sneaking suspicion I know what it is but I need to verify.

Back to top
View user's profile Send private message
crevio
Commander


Joined: 19 Apr 2009

PostPosted: Wed May 20, 2009 7:26 am    Post subject: Reply with quote  Mark this post and the followings unread

o.k. o.k. you got me on this one! my bad-- foot in mouth, and mouth is closed Embarassed for a minute anyway...

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [11 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.2229s ][ Queries: 11 (0.0073s) ][ Debug on ]