question about ai fleet buildup and agendas

This forum is for outdated or irrelevant Modding Information that may or may not be 3 months old.

Moderator: thunderchero

Post Reply
usane
Ensign
Ensign
Posts: 26
Joined: Tue Oct 19, 2010 2:00 am

question about ai fleet buildup and agendas

Post by usane » Sat Nov 12, 2011 11:32 am

Hi!

I want to mod the ai fleet buildup. I know how to do it in UE , but i have 2 question about it.
1. Where is ai agendas defined?
I mean, ai start with normal expansion, change when encounter an other major, or change even when encounter minor, and etc. So where can i find it, what are the rules of these.

2. I know that Joker made a mod what makes ai build the newest ships, and it is in the newest ECM mod, or maybe in UDM, but i didnt find it separately. So how can i do that. I did find that the ai build ships depending on the actual agenda, and build the ship with lowest id, but i didnt find how to change it to convince the ai to build heavy ships too.
is it enough if i change the ahips id order, or what have to do to work flawlessly?

User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2065
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: question about ai fleet buildup and agendas

Post by Tethys » Sat Nov 12, 2011 1:36 pm

Open trek.exe with UE and its in there somewhere, Its not a long list Im sure you will find it if you want to ;)

Edit: ok you said you know how to with UE, well, I dont really know any other way that hex editing, which is harder and more prone to user error. Its in the ship building sets, I believe.
Not for the weak of heart...
Image
GALM <--- GALM/Galaxies Mod

User avatar
xDx
Commander
Commander
Posts: 273
Joined: Sat May 10, 2008 2:00 am
Location: East Coast, USA

Re: question about ai fleet buildup and agendas

Post by xDx » Sat Nov 12, 2011 2:03 pm

usane if you are referring to when each AI build set takes effect then to my Pakled knowledge ;) there is no way to know when they do for sure but i just take how they are worded in UE... for example the AI starts off with normal expansion and then follows with unopposed expansion (should be the other way but its not lol) then the consolidations are the "buildup before a war" phase I believe is how the AI feels compared to hostile or peaceful minors and/or how strong the military strength is of another empire AI or player controlled. Defensive war is the ships they build when they are being invaded imo etc etc etc. It is hard to explain but the best way really imo is just to test with a couple of ships in each ship building set for one empire and see what ships they build based on whom they met already or if they havent met anybody yet (this is what I did). Hope this helps :?
"The only thing we have to fear is fear itself." -- FDR

usane
Ensign
Ensign
Posts: 26
Joined: Tue Oct 19, 2010 2:00 am

Re: question about ai fleet buildup and agendas

Post by usane » Sat Nov 12, 2011 2:17 pm

Yes xDx, i wanted to know that, but seems no answer yet, maybe one day our code masters will figure it out. Thanx for your answer.
Then my second question can be answered, i'm sure.

User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 5922
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.
Contact:

Re: question about ai fleet buildup and agendas

Post by thunderchero » Sat Nov 12, 2011 2:54 pm

usane wrote:Then my second question can be answered, i'm sure.

I think you are talking about ship order of the ship list this only applies to ships of the same class

example;

destroyer
destroyer II (upgrade of destroyer)
destroyer III (upgrade of destroyer II)

this is if all ships upgrade the other, but if you have 2 types of destroyer

it should be like this example so the AI will build defiant not destroyer III

Defiant
destroyer
destroyer II (upgrade of destroyer)
destroyer III (upgrade of destroyer II)

If it is like below it would build destroyer III not defiant

destroyer
destroyer II (upgrade of destroyer)
destroyer III (upgrade of destroyer II)
Defiant

This has no hex editing and can be done with UE just by moving ships up and down on ship list.

thunderchero

usane
Ensign
Ensign
Posts: 26
Joined: Tue Oct 19, 2010 2:00 am

Re: question about ai fleet buildup and agendas

Post by usane » Sat Nov 12, 2011 2:59 pm

Yesss, that's what i wanted to know. Thank u TC.
I'm already testing it.

Thank u guys again.

usane
Ensign
Ensign
Posts: 26
Joined: Tue Oct 19, 2010 2:00 am

Re: question about ai fleet buildup and agendas

Post by usane » Sat Nov 12, 2011 3:23 pm

Its work fine, although it messed up my old saved games.

User avatar
Darth_Windu
Lieutenant-Commander
Lieutenant-Commander
Posts: 156
Joined: Sat Jul 19, 2008 2:00 am

Re: question about ai fleet buildup and agendas

Post by Darth_Windu » Sat Nov 12, 2011 11:01 pm

Yes it will do that as the ship list is different, BotF saves the position of the ship in the list, not the ship itself.

TC - this would work with any type of ship? So if I made my Obsidian Order Keldon and make it lower than the Battleship II, the AI won't build it?

usane
Ensign
Ensign
Posts: 26
Joined: Tue Oct 19, 2010 2:00 am

Re: question about ai fleet buildup and agendas

Post by usane » Tue Nov 15, 2011 4:05 pm

I suppose yes, as my experiences shows neither of major build same ship type with larger ID.

User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Re: question about ai fleet buildup and agendas

Post by Peter1981 » Tue Nov 15, 2011 6:31 pm

to clarify DW & usane

the AI will buid the lowest ship ID that matches the class it is trying to build.
however w.r.t. upgrades these must be below the pre-cursors.
i.e. Destroyer II's must always follow Destroyer I's et al.

This is only re itterating what TC has said.

User avatar
Darth_Windu
Lieutenant-Commander
Lieutenant-Commander
Posts: 156
Joined: Sat Jul 19, 2008 2:00 am

Re: question about ai fleet buildup and agendas

Post by Darth_Windu » Tue Nov 15, 2011 9:12 pm

All good Peter, what I'm looking at is an extra Keldon rather than adding as an upgrade :-)

User avatar
Peter1981
Rear-Admiral
Rear-Admiral
Posts: 1118
Joined: Tue May 06, 2008 2:00 am
Location: England

Re: question about ai fleet buildup and agendas

Post by Peter1981 » Wed Nov 16, 2011 4:23 am

to be clear yes place the obsidian order ship below all other of the same class.

Post Reply

Return to “Modding Information Archive”

Who is online

Users browsing this forum: No registered users