View Single Post
  #898  
Old November 8th, 2003, 02:37 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: STM "Final v1.7.5" Discussion

To fix the supply issues, add an extra redundant tech req to the supply bays (that is the same as what they already require) so the AI will think they are more advanced and use them instead. It evaluates components based on total tech levels directly required by the comp (NOT prereq techs for those tech areas).

Example:
Name := Supply Bay I
Num Tech Req := 2
Tech Req 1 Area := Cargo
Tech Req 1 Level := 1
Tech Req 2 Area := Cargo
Tech Req 2 Level := 1

This component will function identically in-game to one that has just one of those tech req areas. But, the AI will think this requires 2 tech levels, and so is more "advanced" than a component requiring only one tech level. So, if the cargo module requires just 1 tech level, this Supply Bay I is seen as "more advanced" and so will be used to safisfy the Supply Storage ability requirement on those warships instead of the colony module.

[ November 08, 2003, 00:39: Message edited by: Imperator Fyron ]
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote