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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old May 21st, 2004, 07:05 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: SE4 Map analyser

Yes, it would... I just figured out that my request was kinda silly: average percentage of resources (as well as total res for finites) will be always the same, so no need to calculate it. Sorry.
Reply With Quote
  #2  
Old May 21st, 2004, 07:15 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE4 Map analyser

True, but you would still need the program to output the count of planets, which wasn't in the list yet.
Reply With Quote
  #3  
Old May 22nd, 2004, 12:16 AM

Baron Munchausen Baron Munchausen is offline
General
 
Join Date: Aug 2000
Location: Ohio, USA
Posts: 4,323
Thanks: 0
Thanked 0 Times in 0 Posts
Baron Munchausen is on a distinguished road
Default Re: SE4 Map analyser

Do you know the format of SE IV map files? Or is this only reading the text files (Quadrant_types and System_types)? If it is only using the text files, the use of 'random' ('any') values would make analysis rather difficult. If you can actually read map files it would be interesting to produce statistics on how connected systems are as well as planetary tallies. Number of systems unconnected, number connected to only one other system, number connected to two other systems, etc.
Reply With Quote
  #4  
Old May 22nd, 2004, 12:42 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE4 Map analyser

The point of this would be to read the mod, and tell you how fair the random maps are expected to be without a lot of playtesting and map generation.
Reply With Quote
  #5  
Old May 22nd, 2004, 03:44 AM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: SE4 Map analyser

Hmm. Number of planets, and number of planets per system, and distance between systems with planets of a certain type, also have effects on balance. Balance is also different depending on Empires' traits. If ya really care that much.

PvK

[ May 22, 2004, 02:45: Message edited by: PvK ]
Reply With Quote
  #6  
Old May 22nd, 2004, 05:12 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE4 Map analyser

It sounds like you think this is intended to analyse existing maps...
It will not.

Rather, it will read the mod files, and generate stats to tell you the average balance between the different homeworld choices.

Remember that colored circle graph of atmosphere distributions somebody made a few years ago?
This will be an automated way to generate that and more.

------

Status update:
Phase 1 - Basic UI, data structures & mod detection
-= completed =-
Phase 2 - Read in planetsize.txt & initialize planet stats (names & facil/pop space)
-= completed =-
Phase 3 - Read in secttypes.txt & add to stats (atmo/surface distributions)
-= completed =-
Phase 4 - Read in settings.txt & add to stats
(SY rates)
-= completed =-
Phase 5 - Read in systemtypes.txt & initialize system stats ("any" types calculated from phase 3 info)
-= 50% =-
Phase 6 - Scan requested quadrant in quadranttypes.txt & sum up final results
-= 0% =-
Phase 7 - Fancy presentation, graphs & such.
-= 0% =-


The phase 3 and phase 2 info can be seen currently in some list boxes which will not be visible for the finished program.
http://imagemodserver.mine.nu/other/MM/SE4/tools

PS:
To decode the stats:
code:
Const STAT_NUM = 1
Const STAT_FAC = 2
Const STAT_FAC_DOMED = 3
Const STAT_POP = 4
Const STAT_POP_DOMED = 5
Const STAT_GG = 6
Const STAT_ROCK = 11
Const STAT_ICE = 16
Const STAT_VAC = 0
Const STAT_H2 = 1
Const STAT_O2 = 2
Const STAT_CO2 = 3
Const STAT_METH = 4

STAT_NUM is the number of duplicate planetsizes with the same name.
(for mods which duplicate say "Tiny" so that tiny moons will randomly have 4, 5 or 6 facility slots instead of just 5 all the time)

When looking for a planettype, add the atmosphere and surface. So an Oxy Gas Giant is 2+6 = 8th number in the list.
This is the count of oxy gas giants of the planetsize named on the left.
Entry # 6 should always be zero, since there are no vaccuum gas giants (0+6)

[ May 22, 2004, 22:21: Message edited by: Suicide Junkie ]
Reply With Quote
  #7  
Old May 24th, 2004, 04:11 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: SE4 Map analyser

Argh... I've got a screen full of lists, which themselves have many 5-10 entries, each entry consisting of a list of 10-20 stat counters.

I'm suffering from stack overflows in my brain, and it looks like this stage is going have to do a lot more than I initially thought...
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 06:27 PM.


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