.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   AI Computer Player Mod Issue (http://forum.shrapnelgames.com/showthread.php?t=26829)

Homer1357 November 23rd, 2005 05:49 PM

AI Computer Player Mod Issue
 
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

Re: AI Computer Player Mod Issue
 
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

Re: AI Computer Player Mod Issue
 
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

Re: AI Computer Player Mod Issue
 
Greetings, earthling! I profer pleasent gifts of rotten cream!

* Translation: Hi, welcome to the forum. Cheese?

Atrocities November 23rd, 2005 09:07 PM

Re: AI Computer Player Mod Issue
 
Quote:

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

Re: AI Computer Player Mod Issue
 
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

Re: AI Computer Player Mod Issue
 
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

Re: AI Computer Player Mod Issue
 
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

Re: AI Computer Player Mod Issue
 
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.


All times are GMT -4. The time now is 02:16 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.