.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Space Empires: IV & V (http://forum.shrapnelgames.com/forumdisplay.php?f=20)
-   -   Could anyone use a design analyzer? (http://forum.shrapnelgames.com/showthread.php?t=12103)

Suicide Junkie May 22nd, 2004 03:13 PM

Re: Could anyone use a design analyzer?
 
You may notice the armor count, the defense bonuses, the regeneration rates, and so on.

Ed Kolis May 22nd, 2004 11:49 PM

Re: Could anyone use a design analyzer?
 
OK, nagging people, I do have a status report:

I've written the code to load up the CompEnhancement.txt. However, it doesn't seem to be working right, as nothing is actually loading. On the plus side, it doesn't actually crash... most likely there's an error in my parsing code and it's thinking it's reached the end of the file like Se4 always does... http://forum.shrapnelgames.com/image...s/rolleyes.gif

Todo list:
-Fix CompEnhancement.txt loader
-Write VehicleSize.txt loader
-Write Components.txt loader
-Write ship design interface
-Write report generator
-Write ship design loader/saver (You don't want to reenter all those enemy designs by hand each time you load your game do you??? http://forum.shrapnelgames.com/images/icons/shock.gif )
-Not really needed either, but converting to/from XML would be fun http://forum.shrapnelgames.com/images/icons/icon12.gif

Suicide Junkie May 24th, 2004 04:07 AM

Re: Could anyone use a design analyzer?
 
Did you mention what language you are using?

If its any form of BASIC, grab my SE4 functions module:
http://imagemodserver.mine.nu/other/MM/SE4/Tools

Lots of great stuff there to simplify the reading and editing of the text file lines.

Get/set/add/multiple/exponent the nth value after the ":="
boolean fileExists(filename) too

Atrocities May 24th, 2004 05:41 AM

Re: Could anyone use a design analyzer?
 
Well you know, we could build a ship library containing every possible combination and do our own testing to see which combination is the best for which size.

Set up the designs, screen cap them, cut and paste along with a description and how they faired.

Ed Kolis May 24th, 2004 05:40 PM

Re: Could anyone use a design analyzer?
 
@Atrocities: Well my program wouldn't tell you which design is "best" - that depends on the situation! - but it would tell you all kinds of detailed statistics about the ship design http://forum.shrapnelgames.com/images/icons/icon12.gif

@SJ: I'm using C#, and yes, I have your code, but I'm a perfectionist and have to do everything object oriented so I'm doing it myself http://forum.shrapnelgames.com/images/icons/tongue.gif

Kana May 24th, 2004 11:13 PM

Re: Could anyone use a design analyzer?
 
A ship library would be kinda neat....I'm sure most combinations of ships have been tried...but it would be interesting if someone designed someting you hadn't considered...

Kana

Ed Kolis May 25th, 2004 04:39 AM

Re: Could anyone use a design analyzer?
 
Status report: Weapon mounts (at least the stock ones, haven't tested any with any optional fields in them http://forum.shrapnelgames.com/image...s/rolleyes.gif ) are successfully being loaded from CompEnhancement.txt; next on the list will probably be loading the hull sizes and components - and after that, I can REALLY get started! http://forum.shrapnelgames.com/images/icons/icon10.gif

Karibu May 25th, 2004 02:14 PM

Re: Could anyone use a design analyzer?
 
Quote:

Originally posted by Kana:
A ship library would be kinda neat....I'm sure most combinations of ships have been tried...but it would be interesting if someone designed someting you hadn't considered...

Kana

<font size="2" face="sans-serif, arial, verdana">Actually, I don't think most (possible) combinations are tried, yet most sensible ones propably are tried. Most combinations are ineffective or just plain useless, ie. a ship loaded with only armor and necessary ship control and engines. Or ship with all defence troops or a ship with all Shield depleters and nothing more, etc.

Sure there are combinations I haven't thought at, but how to organize such library only to include effective and inventive models? And who would do it? Who would make the decision which model is inventive instead of stupid? Considering how many combinations you can make only make using 2 weapons and 5 different mounts, it is stunning one (also to take notice the firing order, ie. weapon order in the ship). There are also valid reasons not to use always the biggest available mount (cost ie. building time and damage/weapon tonnage)

Suicide Junkie May 25th, 2004 05:36 PM

Re: Could anyone use a design analyzer?
 
What would be good is to have a Human-readable format for importing/exporting ship designs
EG:

{name}
{size}
{m mountname}{component list} {x multiplier}

Ubernaught Attack Ship
Light Worldship
Bridge
Life Support {x 10}
Crew Quarters {x 10}
Plasma Projection Armor V {x 750}
Phased Shield Generator V {x 25}
{m Planetary Core Mount}Ripper Beam IV {x 5}

Something nice that you can move directly to and from message Boards and just toss into the program easily.

Ed Kolis May 25th, 2004 06:09 PM

Re: Could anyone use a design analyzer?
 
Good idea... I was going to do XML, but I could always make it even more human-readable http://forum.shrapnelgames.com/images/icons/icon12.gif

(but what if a Drushocka wanted to read the file? http://forum.shrapnelgames.com/images/icons/tongue.gif )

Problem is, for importing, you can have multiple mounts or components with the same name, even for the same hull type... so this would have to be an export format only, otherwise the program wouldn't know which one to use if there was a duplicate...


All times are GMT -4. The time now is 03:06 PM.

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