View Full Version : AI modding: AI only builds small ships while designing big ones
Ragnarok-X
July 26th, 2004, 06:37 PM
Hi everyone,
another AI modding topic.
I have a problem with my AIs. They design both small and big ships, but when it comes to constucting big ones, it lacks.
Example: AI designs a lot of escorts, cruisers and battleships. Unfortunally it will only build escorts, maybe 2 or 3 cruisers and which much luck 1 battleship.
I remember a thread where i read it somehow is linked to the order of the designcreation file...?!? can someone help me ?
TY !
pathfinder
July 26th, 2004, 08:13 PM
Yeah, take a look at the B5 MOD. Latest size researched needs to be on top...IE Battleship on top of Battlecruiser, etc in AI_designcreation.txt
JLS
July 27th, 2004, 12:32 AM
Originally posted by Ragnarok-X:
Hi everyone,
another AI modding topic.
I have a problem with my AIs. They design both small and big ships, but when it comes to constucting big ones, it lacks.
<font size="2" face="sans-serif, arial, verdana">Again not knowing the MOD, I would guess you have all the ships Design Type := Attack Ship.
And your Vehicle Construction File only is calling Attack Ships and this will give you the results mentioned and if the Ships are listed Smaller to higher displacement - with tiny at top of that AI Design File.
List the Ships as mentioned; however, name each design individually and Call them individually from the Vehicle Construction File only if you want multiple AI Hull Classes in continuied service.
The AI Construction_Vehicles File will call your intended Vehicle from its Design ( Name := or Design Type := ) http://forum.shrapnelgames.com/images/icons/icon12.gif
= = = = = = = = = = = = = = = = =
Reference - Example only
Race_AI_DesignCreation
Name := Base Ship
Design Type := Attack Base
Vehicle Type := Ship
Default Strategy := Optimal Firing Range
“~”
Name := Flag Ship
Design Type := Attack Ship
Vehicle Type := Ship
Default Strategy := Optimal Firing Range
“~”
Name := Battleship
Design Type := Attack Ship
Vehicle Type := Ship
Default Strategy := Optimal Firing Range
“~”
“~”
“~”
Name := Attack Frigate
Design Type := Attack Ship
Vehicle Type := Ship
Default Strategy := Optimal Firing Range
“~”
Race_AI_Construction_Vehicles File
AI State := Infrastructure
Num Queue Entries := 41
Entry 2 Type := Base Space Yard
Entry 5 Type := Defense base
Entry 6 Type := Defense Ship
Entry 7 Type := Attack Frigate
Entry 8 Type := Attack Ship
Entry 10 Type := Battleship
Entry 11 Type := Flag Ship
Entry 12 Type := Boarding Ship
Entry 13 Type := Mine Sweeper
Etc.
[ July 26, 2004, 23:52: Message edited by: JLS ]
Ragnarok-X
July 27th, 2004, 04:44 PM
JLS, i already creates extra design types to call http://forum.shrapnelgames.com/images/icons/icon7.gif thanks for the hint anyway
pathfinder: thats exactly what i needed. thanks a bunch !
JLS
July 27th, 2004, 04:51 PM
Anytime http://forum.shrapnelgames.com/images/icons/icon7.gif
Then when you called a Battleship did the AI not build that Large ship for you?
Ragnarok-X
July 27th, 2004, 04:58 PM
actually i messed things up.
I wanted to AI to build ships of all sizes, not only big ships. So in fact i created Groups, attack 1, attack 2, attack 3 and so on. I put small and big ships in every "group". So in fact it called for attack 2 or attack 3 but still constructed small ships because they were at the top of the designcreation http://forum.shrapnelgames.com/images/icons/icon10.gif
JLS
July 27th, 2004, 05:17 PM
Understood - I did something similar to this for AIC and grouped them according to Mount Displacement (Large, Heavy and Massive) as you are doing and renamed the Types and then called them from the Vehicle File as Individual Ship Classes and as a Grouped so the largest ship in each displacement group will be utilized by the AI http://forum.shrapnelgames.com/images/icons/icon7.gif
This does work extremely effective; however, we may need to revisit this and other VCF call methods prior to the se5 release http://forum.shrapnelgames.com/images/icons/icon12.gif
vBulletin® v3.8.1, Copyright ©2000-2026, Jelsoft Enterprises Ltd.