StellarForum
May 22, 2012, 03:33:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Stellar Frontier has moved to the new forum and site at stellarfrontier.com!
Please make a new account there in preparation for SF 2.0 and to chat on the boards!
 
   Home   Help Search Groups Login Register  
Pages: [1]
  Send this topic  |  Print  
Author Topic: Race troubles with 1.3.3?  (Read 529 times)
NiteHawk
<dev></dev>
Administrator
Legendary Member
*****
Posts: 2816



WWW
« on: February 04, 2009, 02:45:13 PM »

If you're probably wondering why your AI is a bit messed up, looking at temperatures, or values being negative in the census, or planets being messed up when a colony is dropped, or even the timer going down when its not supposed too, it is most likely because you forgot to add edit the races. Make sure to always read the dev log at www.stellarfrontier.net if you are a modder! Tongue

I've added a new value which defines the AI population. Basicly, if you have a mod, you really need to change your race file! For example:

*
*  name      id      home    dt    debstart  aipop  temp  atmP  grav  bonus col%  condition
*  ------------------------------------------------------------------------------------------------------------------
   Arcean     0     Titan    20    0           10    170  0.50  0.5   5000  60    "hold (Mercury,Venus,Earth,Luna,Mars,Callisto,Io,Ganymede,Europa,Titan,Rhea,Phobos,Deimos) planets for 5 minutes"
   Terran     1     Earth    20    1*          10    300  1.00  1.0   5000  80    "hold (Mercury,Venus,Earth,Luna,Mars,Callisto,Io,Ganymede,Europa,Titan,Rhea,Phobos,Deimos) planets for 5 minutes"
   Drengin    2      Mars    20    2*          10    240  0.50  0.3   5000  60    "hold (Mercury,Venus,Earth,Luna,Mars,Callisto,Io,Ganymede,Europa,Titan,Rhea,Phobos,Deimos) planets for 5 minutes"
   Pirate     3     Ceres    20    1*           2    300  1.00  1.0   5000  30    "hold (Mercury,Venus,Earth,Luna,Mars,Callisto,Io,Ganymede,Europa,Titan,Rhea,Phobos,Deimos) planets for 5 minutes"


As you can see here, I've specified 32 AI total to spawn considering I have specified 32 robots total in the scn/dat files. Basicly the value is 10 per race, except pirates, which get 2. I've modified the race data to give an error in the log when you do not add it, but you need to have logging on (use the -log param for frontier.exe.)

If you want AI to be random spawning like before (It was basicly random picking.), then set this value HIGHER then the current robots value in your dat/scn file. Otherwise, make sure the amount of AI spawned = the robots specified.

I do have a modders zone at www.stellarfrontier.net, but I know it is hellish messy. If someone wants to take it and edit it then let me know, otherwise I'll edit it so that it states each version and what was changed for all you modders rather then cramming it into one page.
Report to moderator   Logged

http://chrisvall.com - Coding/gaming blog in the works.
NiteHawk
<dev></dev>
Administrator
Legendary Member
*****
Posts: 2816



WWW
« Reply #1 on: February 04, 2009, 03:05:00 PM »

And rather the 'error' that comes up in the log will appear in the next version, since apparently, you cannot halt it there without it crashing. Rather have the error in the log rather then a crash, I think... Damn needs to be recoded to support error popups :\
Report to moderator   Logged

http://chrisvall.com - Coding/gaming blog in the works.
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!