AI talking problems |
Submitted by cirlin on Thu, 2006-11-09 13:49.
SE:V MODs
So the mod I'm working on is in good enough shape that I'm actually trying to play some games with it now. However I'm noticing that none of the other empires are responding to any messages I sent to them and don't send any messages to me either. I'm not sure at what point this problem started however, so I can't begin to figure out what in particular is causing it. I did find that in the (empire)_Main_Script.csf file there is a reference to what speech file to use. It was still directed to the original empire name that I'd used as a starting point. I changed this to refer to the proper file, but so far haven't seen any results. Does anyone know where else I might look to solve this problem?
Thanks




RE: AI talking problems
Yes, first make sure you have "#include Script_AI_Politics.txt" in the _Main_Script.txt
Second, make sure you are calling "call Set_Race_Political_Settings()" from the Main function or providing the same settings somewhere in code. This is what tells the AI when to message, how to respond to messages, etc.
Lastly, make sure you are calling "Call AI_Politics()" from the Main function. This is what actually makes the messages and performs all the junk to decide what to say and how to say it, etc.
Dragagon