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 Nov 24, 2026 8:56 am
All times are UTC + 0
Editing AI.ini
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Sat Oct 09, 2010 7:01 pm    Post subject:  Editing AI.ini Reply with quote  Mark this post and the followings unread

I want to get AI to attack me with 40 soldiers (Light Infantry, E1) and try to destroy my construction yard at the start of the game... so what's wrong in my AI.ini?



ai.ini
 Description:

Download
 Filename:  ai.ini
 Filesize:  275.57 KB
 Downloaded:  92 Time(s)


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


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sat Oct 09, 2010 8:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

The AI has many (dozens?) of teams to choose from and the probability of it choosing your team is very low. Also, with normal TS rules.ini settings the AI places it's first teams to guard it's base.

Try raising the team's building probability to something very high and reduce the amount of defensive teams in Rules.ini (the key is MinimumAIDefensiveTeams= if I remember correctly).

_________________
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: Sat Oct 09, 2010 8:53 pm    Post subject:  THANKS A LOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Reply with quote  Mark this post and the followings unread

Thanks a lot!!!!! That was really fast!!!!!!!!

Because of the first thing that you said, I think it'd be good to start my own AI.ini empty, and write everything by myself, don't you think so?

PS.: (Because my aim is to make a TS mod with new units and a really challenging good AI)

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


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sun Oct 10, 2010 6:30 am    Post subject: Re: THANKS A LOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Reply with quote  Mark this post and the followings unread

You're welcome.
TiberFCSL wrote:
Because of the first thing that you said, I think it'd be good to start my own AI.ini empty, and write everything by myself, don't you think so?

Probably yes, but it's a lot of work. Also in most cases just modifying the TS AI.ini and some Rules.ini settings will give very good results.

In my mod everything I've changed on the AI.ini is that I've made the AI's taskforces much larger and include 2-3 types of units. Then I've modified the rules.ini settings making the AI more aggressive and now I lose about every second match against the AI level 2 (and the AI Level 1 also gives a good challenge, especially in 3v3 comp stomp matches with friends).

Try editing the current "4 light infantry" task forces to include 20 light infantries and you should see the rush quite often Wink (probably not in the start though, unless you lower the amount of defensive teams the AI has)

_________________
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
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Sun Oct 10, 2010 11:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Do know that editing the AI (properly) takes a lot of patience. As the local TS/RA2 AI coder I can tell you it took me a long while to know most stuff (and I still don't know some stuff) Wink

Back to top
View user's profile Send private message Send e-mail Skype Account
^Rampastein
Rampastring


Joined: 11 Oct 2008
Location: Gensokyo

PostPosted: Sun Oct 10, 2010 12:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Same here, been editing the AI heavily since early 2007 and still some things are unknown to me. Absturz' AI guide (which is now offline Sad ) helped me a lot though.

_________________
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
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Sun Oct 10, 2010 1:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

^Rampastein wrote:
Same here, been editing the AI heavily since early 2007 and still some things are unknown to me. Absturz' AI guide (which is now offline Sad ) helped me a lot though.

I still have the guide (and a very basic remade version I started in Summer 2009 #Tongue). I can post/upload it if you want.

Back to top
View user's profile Send private message Send e-mail Skype Account
FurryQueen
General


Also Known As: Fen
Joined: 24 Jul 2010

PostPosted: Sun Oct 10, 2010 3:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dutchygamer wrote:
Do know that editing the AI (properly) takes a lot of patience. As the local TS/RA2 AI coder I can tell you it took me a long while to know most stuff (and I still don't know some stuff) Wink

ahem. Twisted Evil

_________________
Discord: princess_marisa
Steam

Back to top
View user's profile Send private message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Sun Oct 10, 2010 7:45 pm    Post subject: THANKS A LOT Reply with quote  Mark this post and the followings unread

Can anybody see the mistake in the ai.ini that I've uploaded? Because I don't know what to change, what to try.

And Dutchygamer, please upload Absturz' AI guide and your basic version, your help is very appreciated.

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Mon Oct 11, 2010 4:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

FurryQueen wrote:
Dutchygamer wrote:
Do know that editing the AI (properly) takes a lot of patience. As the local TS/RA2 AI coder I can tell you it took me a long while to know most stuff (and I still don't know some stuff) Wink

ahem. Twisted Evil

What? You ain't local. You're from everywhere #Tongue
Also, you don't do TS AI #Tongue

@TiberFCSL: uploaded it for you (and anyone else who wants it). It's pretty handy (even though it contains some small errors, but those are for advanced stuff only).



AI-Engine.zip
 Description:

Download
 Filename:  AI-Engine.zip
 Filesize:  521.89 KB
 Downloaded:  122 Time(s)


Back to top
View user's profile Send private message Send e-mail Skype Account
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Mon Oct 11, 2010 7:56 pm    Post subject:  THANKS DUTCHY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Reply with quote  Mark this post and the followings unread

Thanks a lot Dutchygamer!!!!!!!!!!!!!!!!!!!!!!!!!
What a great guide!!!!!!!!!!

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


Also Known As: Fen
Joined: 24 Jul 2010

PostPosted: Mon Oct 11, 2010 11:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Dutchygamer wrote:
Also, you don't do TS AI #Tongue

psh.

_________________
Discord: princess_marisa
Steam

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