.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old July 12th, 2002, 02:13 AM

Elowan Elowan is offline
Second Lieutenant
 
Join Date: Jun 2002
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Elowan is on a distinguished road
Default Me again viz: system names.

Don't know who came up with these. Don't care for most of them - so I compiled my own list from actual star names and added in the best (IMHO) from the default list.

Question though: there are only 100 names in the default list. It's possible to add 256 systems to the large map -- hence it must be possible to add more names to the list. Yes?

I ask before I screw things up - being the cautious type.

Wanted for SEV: larger map - say ... HUGE.

Thanks for putting up with me.
__________________
'There are old space jockies and bold space jockies but there ain't no old, bold space jockies'
Reply With Quote
  #2  
Old July 12th, 2002, 02:27 AM

Phoenix-D Phoenix-D is offline
National Security Advisor
 
Join Date: Nov 2000
Posts: 5,085
Thanks: 0
Thanked 0 Times in 0 Posts
Phoenix-D is on a distinguished road
Default Re: Me again viz: system names.

You can add as many names as you like.

Don't put the limit to 256 though, I'm 95% sure that'll crash. Use 255 (and why isn't that big enough?)

Phoenix-D
__________________
Phoenix-D

I am not senile. I just talk to myself because the rest of you don't provide adequate conversation.
-Digger
Reply With Quote
  #3  
Old July 12th, 2002, 02:38 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Me again viz: system names.

You can add as many names as you want. The game will choose randomaly which ones it uses when setting up a map. If you don't have enough - some systems will have no names!

The max systems can be set in settings.txt to no more than 255.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #4  
Old July 12th, 2002, 02:47 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Me again viz: system names.

It's 255 cause of programming limits. There can be up to 256 variables (or something like that) there, and 0 counts as the 1st.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #5  
Old July 12th, 2002, 06:13 AM

Elowan Elowan is offline
Second Lieutenant
 
Join Date: Jun 2002
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Elowan is on a distinguished road
Default Re: Me again viz: system names.

I'm just and old programmer and probably don't understand these things but 256 items is still 0 to 255. Hence there can be 256 systems; 256 names and so on.
__________________
'There are old space jockies and bold space jockies but there ain't no old, bold space jockies'
Reply With Quote
  #6  
Old July 12th, 2002, 06:17 AM
Captain Kwok's Avatar

Captain Kwok Captain Kwok is offline
National Security Advisor
 
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,624
Thanks: 1
Thanked 14 Times in 12 Posts
Captain Kwok is on a distinguished road
Default Re: Me again viz: system names.

In this case though, zero is not included in the max number of systems, hence the 255 limit.
__________________
Space Empires Depot | SE:V Balance Mod
Reply With Quote
  #7  
Old July 12th, 2002, 06:45 AM
Puke's Avatar

Puke Puke is offline
Lieutenant General
 
Join Date: Dec 2000
Location: california
Posts: 2,961
Thanks: 0
Thanked 0 Times in 0 Posts
Puke is on a distinguished road
Default Re: Me again viz: system names.

number 256 is significant (0-255) because MM has used a single byte as the variable that represents the number of systems. one bite has eight bits. between 00000000-11111111 there are 256 destinct combinations of numbers, thus that many unique values. in any binary system, everything is realted to a power of 2. in this case, 2^8.

i hate how accessable technology has become. everyone should have to know things like this. people complain that windows isnt reliable or is to hard to use, but they can use it without knowing how a computer WORKS. it kills me, and im not even a programmer.

back on topic, lots of lists of (real) star's names are available. heres some:

http://www.ras.ucalgary.ca/~gibson/s.../starnames.lst

http://www.astro.wisc.edu/~dolan/con...name_list.html

edit: typo

edit: pardon my general rant, im sure everyone on this board is bright enough to know whats going on. im sure those of you who dont abhor my attitude and poor manners (and maybe even some who do) are competant and qualified persons, in whatever field you represent. cheers.

[ July 12, 2002, 05:51: Message edited by: Puke ]
__________________
...the green, sticky spawn of the stars
(with apologies to H.P.L.)
Reply With Quote
  #8  
Old July 12th, 2002, 08:10 AM

Elowan Elowan is offline
Second Lieutenant
 
Join Date: Jun 2002
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Elowan is on a distinguished road
Default Re: Me again viz: system names.

Quote:
Originally posted by Captain Kwok:
In this case though, zero is not included in the max number of systems, hence the 255 limit.
Right you are! Just looked at the Settings.txt.
__________________
'There are old space jockies and bold space jockies but there ain't no old, bold space jockies'
Reply With Quote
  #9  
Old July 12th, 2002, 08:24 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: Me again viz: system names.

Well Puke, I knew the effect, just not the technical reason.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #10  
Old July 12th, 2002, 12:44 PM

Gryphin Gryphin is offline
BANNED USER
 
Join Date: Nov 2001
Location: Near Boston, MA, USA
Posts: 2,471
Thanks: 0
Thanked 0 Times in 0 Posts
Gryphin is on a distinguished road
Default Re: Me again viz: system names.

I'm just wondering:
Since it takes 10s of hours to play a game, why would anyone want more than 255?
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:02 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.