.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_DesignCreation File (http://forum.shrapnelgames.com/showthread.php?t=1126)

Tampa_Gamer March 14th, 2001 12:26 AM

Re: AI_DesignCreation File
 
Bump for Zeno42

jc173 March 14th, 2001 04:56 AM

Re: AI_DesignCreation File
 
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Baron Munchausen:
There's one more quirk to the AI design process, Mephisto. Each of those Misc. abilities is looked for in available components and added SEPERATELY without checking if the ship already has the ability. If you created ships with inherent stealth abilities (like the "Super Stealth" races in Stars! have) then the AI would still put a cloaking device in them even if it was no better than the hull's inherent ability. ...A simple loop. http://www.shrapnelgames.com/ubb/images/icons/icon7.gif I'm not sure how you would fix that. It looks for the _best_ available ability each time, of course. It would have to do some sort of check of the ship in each go-round, I guess, comparing the ship's current abilities with the component.
<HR></BLOCKQUOTE>
Yep I can vouch for that having tried to design expensive components that combine ecm and combat sensors. Sure enough the AI stuck two modules in the ship which really jacked up the price and maintenance cost. Should be easy enough to nest a search loop inside the construction loop to check if an ability exists already. I'd also like for them to add in a flag so certain components only end up on warships, not every support ship in the fleet.


God Emperor March 14th, 2001 06:24 AM

Re: AI_DesignCreation File
 
Mephisto, great explanation!

In another thread that I have bumped up -
"Mod Squad, need AI help for my new shipset!!" - I have given a worked example that partly illustrates what Mephisto has detailed.

Tenryu March 14th, 2001 09:28 AM

Re: AI_DesignCreation File
 
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Baron Munchausen:
There's one more quirk to the AI design process, Mephisto. Each of those Misc. abilities is looked for in available components and added SEPERATELY without checking if the ship already has the ability.
<HR></BLOCKQUOTE>

Interesting, Baron. That explains some problems I've had with some component designs!

Thanks! And thanks to the others here for explaining the AI design process. It answers many questions I've had.


Kadste March 15th, 2001 12:31 AM

Re: AI_DesignCreation File
 
I am trying to use the design creation file and have AI races use Capital ship missiles. When I use weapons family 2, the result is Small external mount missiles. (Pretty impressive with a deadnought with 85 missile launchers, though).

Can this be prevented? Do I have to create a new weapons family? Can I create a new weapons family?

Tampa_Gamer March 15th, 2001 12:36 AM

Re: AI_DesignCreation File
 
kadste - if you are trying to add a new weapon components you created, you should use a new weapon family number (unless you want your new weapon to replace capital ship missile as a viable technology). Yes, you can created new numbers and use them in the design file.

ColdSteel March 15th, 2001 01:02 AM

Re: AI_DesignCreation File
 
Wow! This information is great. It's just exactly what I've been looking for.

Thanks so much. http://www.shrapnelgames.com/ubb/ima...ons/icon10.gif


All times are GMT -4. The time now is 01:36 AM.

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