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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #11  
Old May 22nd, 2004, 03:13 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: Could anyone use a design analyzer?

You may notice the armor count, the defense bonuses, the regeneration rates, and so on.
Reply With Quote
  #12  
Old May 22nd, 2004, 11:49 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default 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...

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??? )
-Not really needed either, but converting to/from XML would be fun
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #13  
Old May 24th, 2004, 04:07 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: 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
Reply With Quote
  #14  
Old May 24th, 2004, 05:41 AM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default 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.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #15  
Old May 24th, 2004, 05:40 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default 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

@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
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #16  
Old May 24th, 2004, 11:13 PM
Kana's Avatar

Kana Kana is offline
Captain
 
Join Date: Apr 2004
Location: Texas
Posts: 962
Thanks: 0
Thanked 3 Times in 3 Posts
Kana is on a distinguished road
Default 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
Reply With Quote
  #17  
Old May 25th, 2004, 04:39 AM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default 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 ) 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!
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #18  
Old May 25th, 2004, 02:14 PM
Karibu's Avatar

Karibu Karibu is offline
Sergeant
 
Join Date: Feb 2003
Location: Finland
Posts: 392
Thanks: 0
Thanked 0 Times in 0 Posts
Karibu is on a distinguished road
Default 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
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)
__________________
If you give a man a fish, he will eat a day;
But if you teach a man to fish, he will buy an ugly hat;
And if you talk about a fish to a starving man, then you're a consultant
Reply With Quote
  #19  
Old May 25th, 2004, 05:36 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: 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.
Reply With Quote
  #20  
Old May 25th, 2004, 06:09 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default 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

(but what if a Drushocka wanted to read the file? )

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...
__________________
The Ed draws near! What dost thou deaux?
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:58 AM.


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