Inventive Dingo forums

Mayhem Intergalactic => Map & Mod Repository => Topic started by: Kumlekar on February 24, 2009, 07:15:57 am



Title: AI names
Post by: Kumlekar on February 24, 2009, 07:15:57 am
As you know chris, I modified the ainames.txt file, but it seems to replace them inconsistently.  Are names generated client side or server side, and can you give any information as to why this might be inconsistent (even in offline games)?


Title: Re: AI names
Post by: Jp on February 24, 2009, 08:44:05 am
They'd be generated server-side, like planet names.

You'll have to wait for Chris for the rest, though. :P


Title: Re: AI names
Post by: Chris on February 24, 2009, 08:54:28 am
Yes, it's server-side. All data files that affect game objects / game state are server-side; so that's planet names, AI names, maps, relevant settings from options.ini (like AI difficulty), etc.

What do you mean by "inconsistent"? The only thing I can think of without knowing more about the problem is to make sure that you're saving the text file in UTF-8 encoding with consistent line endings - it doesn't matter if you use Unix-style or Windows-style line endings, just as long as they're consistent the whole way through the file. (For best results, use a decent text editor which lets you control this stuff - e.g. TextPad has this as an option in its Save As dialog.)


Title: Re: AI names
Post by: Kumlekar on February 25, 2009, 12:46:24 am
um, never mind about being inconsistent, I was looking for AI names as planet names and vice-versa.