.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_Research question (http://forum.shrapnelgames.com/showthread.php?t=22158)

Alski December 28th, 2004 07:45 PM

AI_Research question
 
Hi anyone, does anybody know if there is a list of the odd codes or whatever there called that can be used in SE4g ?, for an example of what i mean, in the components file there can be thing like this:

Ability 1 Type := Shield Generation
Ability 1 Descr := Generates [%ShieldPointsGenerated]

i am mainley curious as to weather there are more "codes" like [%ShieldPointsGenerated] that could be used in the AI files, the problem i am trying to solve is to find something can could be used like this:

AI State := Not Connected
Tech Area Name := [%RACE] Ship Construction
Tech Area Level := 9999
Tech Area Min Percent := 100
{note that as far as i know [%RACE] proabely doesent work - i don't know)

the purpose being so that i can simpley append all the "AI_Research.txt" files for all the many AIs in the startrek mod that don't have "Not Connected" AI states with out rewrighting each one specificley.

Thanks for your time, and sorrey about the lentgh of this post http://forum.shrapnelgames.com/images/smilies/happy.gif

Fyron December 28th, 2004 08:31 PM

Re: AI_Research question
 
[%ShieldPointsGenerated] is a unique item. There is no such general functionality. It was added solely because one of the patches added the ability to have a mount affect the amount of shield points a component can generate. This makes the component description dynamic when using different mounts.

You will have to manually add in every single tech area. You can certainly make one generic file that includes all of the tech areas. Each race will only be able to research their own technologies due to racial trait restrictions, so the Klingons will pass over any Romulan technologies in the AI_Research file. Works very well.

Atrocities December 28th, 2004 10:55 PM

Re: AI_Research question
 
Quote:

Alski said:
Hi anyone, does anybody know if there is a list of the odd codes or whatever there called that can be used in SE4g ?, for an example of what i mean, in the components file there can be thing like this:

Ability 1 Type := Shield Generation
Ability 1 Descr := Generates [%ShieldPointsGenerated]

i am mainley curious as to weather there are more "codes" like [%ShieldPointsGenerated] that could be used in the AI files, the problem i am trying to solve is to find something can could be used like this:

AI State := Not Connected
Tech Area Name := [%RACE] Ship Construction
Tech Area Level := 9999
Tech Area Min Percent := 100
{note that as far as i know [%RACE] proabely doesent work - i don't know)

the purpose being so that i can simpley append all the "AI_Research.txt" files for all the many AIs in the startrek mod that don't have "Not Connected" AI states with out rewrighting each one specificley.

Thanks for your time, and sorrey about the lentgh of this post http://forum.shrapnelgames.com/images/smilies/happy.gif

The Star Trek Mod AI-Research files already have ALL of the tech area files listed. They have been optimized for the AI and work well. However there is always room for improvement.

Alski January 1st, 2005 09:06 PM

Thanks
 
Thanks for your help guys, i created a generic set of research prioritys and just use word for search and replace for the empire namdes, then append them to any AI_research.txt files for whatever races i'm playing against before i start a new game.

To Atrocities - yes, no complants about the tech areas being used by the AI or the AI in general, its just that the "Not Connected" AI state is not in any of the individual race's AI-Research.txt files so after developing warp-point technology and moveing in to a previousley un-connected cluster of system with one race in it - that race were still useing escorts and frigates, when i was useing battle crUsers. apart from that Star Trek Mod Rules!

cheers for you help

Atrocities January 2nd, 2005 04:41 AM

Re: Thanks
 
If your new research files work well, could you send me copies? Any thing that makes the mod better is ok in my book. http://forum.shrapnelgames.com/images/smilies/happy.gif


All times are GMT -4. The time now is 07:14 PM.

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