Inventive Dingo forums Inventive Dingo forums
News:
 
*
Welcome, Guest. Please login or signup. November 25, 2024, 01:05:14 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: AI names  (Read 13454 times)
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« 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)?
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Jp
Pilot
**
Posts: 30


Yet Another Generic Information-Age User Name


View Profile WWW
« Reply #1 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. Tongue
Logged

I used to play Mayhem Intergalactic before it was cool.
Chris
Administrator
*****
Posts: 410


Developer


View Profile WWW
« Reply #2 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.)
Logged
Kumlekar
Eats planets for breakfast
****
Posts: 140



View Profile
« Reply #3 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.
Logged

What is Six Times Nine
Forty-Two!

Jp may have played mayhem before it was cool, but I play while its cool! *

* "Cool" is defined as the period of time in which Kumlekar plays a game.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM