Modding question: longlists and stringlists |

Well I was looking at the _main_ai files and the percentage of colony types. Adds values to 2 global variables (lst_Colony_Type_Name and lst_Colony_Type_Pct). I am wondering about this section because the script files never clear these global variables. Now my question about this is; do the global variables get reset or cleared at the beginning of the ai's turn or, as I suspect, does the ai's turn continually add another set of values to a continually growing list.
Even going over this area of code, it seems extremely important that the percentages listed here need to be changed to make the ai better. I don't know about anyone else, but the I never start any empires with that many mining colonies.
» Vous devez vous identifier ou créer un compte pour écrire des commentaires




Re: Modding question: longlists and stringlists
Those lists are created and filled each time the script executes, which is once per turn.
-----
Space Empires Depot | SE:V Balance Mod