ok this was something i had always been curious about... i think i asked this before, but i dont quite recall; it might have been in a PM or MSN convo lol
anyway, when setting up QB, there is the option to set up the AI for the non-player ship being chosen...
personally, i never have chosen Low or Medium (does anyone actually choose those?); i always choose High...
so i wanted to make that the "default" AI, so it is one less thing to click on when choosing ships...
i think that function is controlled in the Quickbattle script, but im not too sure...
this is what i did
g_iSelectedAILevel = AI_HIGH
under the section # These initial values are mirrored in Initialize().
and then
pHigh = CreateFloatButton(g_pMissionDatabase.GetString("High"), ET_SELECT_AI, AI_HIGH, g_pXO)
g_pAIMenu.AddChild(pHigh)
pHigh.SetChosen(1)
under the section def GenerateAIMenu():
but it doesnt seem to generate the effect i was looking for... i dont think im getting it correct lol
when QB loads, and i select a ship, "High" is highlighted but it looks like it is still choosing "Low" as default...
is there something else im missing?
i mean, its not a major task to click "High" for the ships AI when i choose ships, but it would be easier (lazier? lol) if i could just choose the ships from the QB menus for friendly/enemy and not have to assign their AIs; it would be nice just to have all the default AI levels be "High" without having to think about it...