[1.17][stock] AI design question |
Soumis par damador le Mer, 2006-11-22 15:53
Space Empires V General
i have question how the stock AI design their ship
did it check for constants or check for errors according to vehiclesizes.txt ?
i modded number of engines per ship and want to know that AI will use it ?
did the AI during building their ships will use constant numbers written somewhere (where ?) or will check the vehiclesizes.txt for the formula used ?
i know it will use constant for CQ/LS in design - but dont know if it uses for the engines too
» Vous devez vous identifier ou créer un compte pour écrire des commentaires




Stock AI
In the stock AI, it checks how many engines a ship can use vs how many engines it is told to use max and will use the larger of the 2. For instance in Stock the max engines used to be 12, but some ships were limited to 10 or fewer engines. the AI checks the vehicle for the max and adds up to 12 or the max for that hull. if you decreased it, it'll be fine, if you increased them, then you will need to go to the se5/utilities/scriptparser/se5empirescripts directory manually mod each of the _Main_Scripts.txt and look for lng_AI_Design_Minimum_Speed_Ship and set it to a larger number than the max you have set for any hull.
Dragagon
Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.
-- Robert Heinlein