![]() |
AI modding: AI only builds small ships while designing big ones
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 ! |
Re: AI modding: AI only builds small ships while designing big ones
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
|
Re: AI modding: AI only builds small ships while designing big ones
Quote:
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 ] |
Re: AI modding: AI only builds small ships while designing big ones
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 ! |
Re: AI modding: AI only builds small ships while designing big ones
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? |
Re: AI modding: AI only builds small ships while designing big ones
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 |
Re: AI modding: AI only builds small ships while designing big ones
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 |
All times are GMT -4. The time now is 06:19 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.