View Full Version : AI Computer Player Mod Issue
Homer1357
November 23rd, 2005, 05:49 PM
Hi,
I have a friend who has done an extensive mod to the game but has one issue he cannot resolve. He changed ship engines so they do not have supplies so ships must have supply bays in order to move. The problem is that he does not know how to change the AI computer player ship building routines so they build ships with supply bays. Without changing that routine computer AI players never leave their home systems since the ships they build cannot move.
Does anyone know how to modify the AI computer player ship building routines?
Thanks,
Suicide Junkie
November 23rd, 2005, 06:38 PM
The easiest way would be to add a call for supply storage in the miscellaneous abilities section of the AI_designcreation.txt files.
The tonnage per one value is "you want one component with this ability for every X kt of ship size"
Parasite
November 23rd, 2005, 07:09 PM
They may be able to still move at spped "1". Not that that is a good thing. Of course, they will use that to go back and refuel and so not move anywhere because they can not refuel.
narf poit chez BOOM
November 23rd, 2005, 07:44 PM
Greetings, earthling! I profer pleasent gifts of rotten cream!
* Translation: Hi, welcome to the forum. Cheese?
Atrocities
November 23rd, 2005, 09:07 PM
Suicide Junkie said:
The easiest way would be to add a call for supply storage in the miscellaneous abilities section of the AI_designcreation.txt files.
The tonnage per one value is "you want one component with this ability for every X kt of ship size"
This is how I did it for the STM and AST mods.
Urendi Maleldil
November 24th, 2005, 06:30 AM
You could also add a second required Supply Storage ability at the top. That way the AI will add the reactor first. That's something I was using on the rudamentary AI for the Pointer Mod a while back.
I'm not sure if the release version has AI included or not.
Q
November 24th, 2005, 09:02 AM
I would recommend:
Must Have Ability 1 := Supply Storage
That way you 100% sure that at least one supply storage component is added no matter what you have in the rest of your design list.
Urendi Maleldil
November 24th, 2005, 01:34 PM
Yep. That's the one. Except you'd add
"Must Have Ability 2 := Supply Storage"
just below the first Must Have Ability. That way the AI designs ships as normal.
Homer1357
November 26th, 2005, 12:16 PM
I have forwarded your responses to my friend and hopefully he can fix his AI problem. I want to thank you all for your help.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.