.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 July 30th, 2004, 08:19 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4 Map analyser

It's just that I've been in discussions as to "How many asteroids" are thjer in this map, and in the game there is no way to find out except counting them manually.
And it would be good too see how many special systems are produced, to see if they are too many or too few, perhaps an extra page
Black holes : 1
Nebulae: 2

etc, if it's doable. (No pressure, just a suggestion, disregard at will )

About commandline parameters, I just wondered how one loads a map into it, is there a "open dialog" or do you run it with "Mapanalyzer.exe c:\se4\mods\AImod\mymap.map" or whatever..
Like in SE4 you can start it with "SE4.exe savegames\mygame.gam" or something like that.

I think VB is quite efficient these days, it was different when it was an interpretating language instead of compiling as it is today!

[ July 30, 2004, 19:24: Message edited by: Ruatha ]
Reply With Quote
  #2  
Old July 31st, 2004, 12:06 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

http://imagemodserver.mine.nu/other/...E4mapstats.rar
Here we go!
There are some extra options available on the pie charts, even!

Note: All stats are PER SYSTEM.

-----

Ok, you're confused as to the nature of the program
This thing looks at data files, and calculates what the stats of the average map are from systemtypes.txt, planetsize.txt, and such.

-----

BTW, I did improve the efficiency by about a factor of 10...
The systemtypes analysis still takes a minute or two, but its not insane anymore.

I've added a progress bar so you can tell that the system analysis is actually working



The tree shows you the dependencies, just click the button corresponding to the things you've changed, to update the stats. Green lines show things that have been completed, yellow is in progress, and red is incomplete items.

Once you get down to the quadrant types analysis button, it will open a new window, and tally up the stats for that quadrant type. You'll see the numbers roll for about 5 seconds, then they will be rounded off and steady.
Click the option buttons to switch between pie graph view, and the numerical chart view.

[ July 31, 2004, 00:55: Message edited by: Suicide Junkie ]
Reply With Quote
  #3  
Old July 31st, 2004, 06:00 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: SE4 Map analyser

Yaay!
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #4  
Old July 31st, 2004, 05:02 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: SE4 Map analyser

Ahh, now I get it.
It's not what I thought but it's still nice.
So then there's still a niche open for an "existing map" analayzer.
Reply With Quote
  #5  
Old July 31st, 2004, 08:42 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

New Version of the Map Analyser ( http://imagemodserver.mine.nu/other/...E4mapstats.rar )
I'm not sure if the previous Version had the 4th pie graph mode, but this one does, and fixes a bug with vaccuum/gas/tiny planet stats.

"Common Max" is a very handy mode, and lets you compare different surface types effectively.
It sets 360 degrees to be the maximum of all three surface types, so surface types that have lower scores than the others will have a black slice of pie taken out.


As you can see here, in stock, the Gas Giant races have only half the potential planetary construction rate that Rock races do.
And Ice is only about 120% of Gas and 60% of the Rock rate.
Reply With Quote
  #6  
Old July 31st, 2004, 09:28 PM

Xentropy Xentropy is offline
Private
 
Join Date: Jun 2004
Location: Portland, OR
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Xentropy is on a distinguished road
Default Re: SE4 Map analyser

In which data files is the information on what random chances each possibility is assigned? I looked around for this a while back and couldn't find it. I assumed "Any" in a system setup was an equal chance of all possibilities, but obviously I was wrong since (for example) there are more rock planets than ice in a normal mid-life quadrant.

Also, is it a bug in your program's analysis or are rock/methanes slightly more common than average rock worlds and ice/methanes slightly less? I ask because it's the only non-vacuum data point that shows a difference in probabilities between atmospheric types.

Great program! My friend and I will definitely be rethinking our co-op strategy (currently we play gas/hydrogen and ice/methane because rock/oxygen and CO2 are relatively easier to gain from AI's...but if ice really do suck as much as these graphs show, I'll be switching to rock/methane ASAP!). Thanks a ton for posting this!
Reply With Quote
  #7  
Old July 31st, 2004, 09:37 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

In stock SE4, there is actually one extra small/rock/methane planet, and one missing small/ice/methane planet.
That is what you are seeing in the methane stats.

To decide an "any" option, the game looks through the sectortypes.txt file, and picks a random planet that matches all of the requirements. (And "constructed" planets like ring/sphereworlds never get randomly chosen - see planetsize.txt for which sizes have constructed := true )

---

PS:
If you're planning to capture rock colonization tech early on anyways, sticking with Ice is probably a good idea.
That way you get all three fast, instead of having to hunt down the elusive ice race or spend the 500k points to research it.

[ July 31, 2004, 20:44: Message edited by: Suicide Junkie ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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:23 PM.


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