.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: Starfury

Reply
 
Thread Tools Display Modes
  #1  
Old September 18th, 2004, 10:33 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 Slotmodder error / possible new project for me

Help! I can't load or save ships in the slotmodder anymore! I just get Runtime Error 55 File Already Open whenever I try to do so...

On the bright side, this might spur me to make my own Version of the slotmodder which would be even easier to use - for instance, it would assign component slots their stock colors and abbreviations by default (heavy weapons = red, W(H), etc.) and show armor/shield facings graphically!
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #2  
Old September 19th, 2004, 02:08 AM

DeadZone DeadZone is offline
Second Lieutenant
 
Join Date: Apr 2003
Location: England
Posts: 488
Thanks: 0
Thanked 0 Times in 0 Posts
DeadZone is on a distinguished road
Default Re: Slotmodder error / possible new project for me

Yeah, and while you are at it, make other modding programs
__________________
Reply With Quote
  #3  
Old September 19th, 2004, 03:43 AM

Exan Exan is offline
Corporal
 
Join Date: May 2003
Location: South Karelia, Finland
Posts: 168
Thanks: 0
Thanked 0 Times in 0 Posts
Exan is on a distinguished road
Default Re: Slotmodder error / possible new project for me

Yeah, a systemmodder would be cool. So that you could just place objects in the map and give properties to them. Little like the map editor in SE4.
__________________
Starfury Haven
thepeoplesmod.com (Offical site for The People's Mod)
Alexandria Archives -info site on The People's Mod
Reply With Quote
  #4  
Old September 19th, 2004, 05:56 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: Slotmodder error / possible new project for me

Well, what I have started on now is a sort of generic Malfador data reader/writer. I know I tried something like this before, but for that I had to specially code each individual data file's reader/writer, but now with what I'm working on, you'll be able to create an XML-based schema to read or write any data file from SE4, Starfury, Dungeon Odyssey, or SE5, when it's released. For instance, here's the schema for a simplistic "mod" format consisting of only CompEnhancement.txt from SE4:

Code:

<?xml Version="1.0" encoding="UTF-8"?>
<MMSchema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="MalfadorModSchema.xsd">
<File Name="CompEnhancement.txt">
<RecordType>
<Field Name="Long Name"/>
<Field Name="Short Name"/>
<Field Name="Description"/>
<Field Name="Code"/>
<Field Name="Cost Percent" Type="uint16"/>
<Field Name="Tonnage Percent" Type="uint16" />
<Field Name="Tonnage Structure Percent" Type="uint16" />
<Field Name="Damage Percent" Type="uint16" />
<Field Name="Shield Percent" Optional="true" Type="uint16"/>
<Field Name="Supply Percent" Type="uint16"/>
<Field Name="Range Modifier" Type="int8"/>
<Field Name="Weapon To Hit Modifier" Type="int8"/>
<Field Name="Vehicle Size Minimum" Type="uint16"/>
<Field Name="Vehicle Size Maximum" Optional="true" Type="uint16"/>
<Field Name="Comp Family Requirement" Optional="true" Type="string"/>
<Field Name="Weapon Type Requirement" Type="string" />
<Field Name="Vehicle Type" Type="string" />
<Field Name="Number of Tech Req" Optional="true" Default="0" Type="uint16" />
<FieldArray Name="Tech " Count="Number of Tech Req">
<Field Name="Area Req" Type="uint16" />
<Field Name="Level Req" Type="uint16" />
</FieldArray>
</RecordType>
</File>
</MMSchema>

__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #5  
Old November 8th, 2004, 10:16 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: Slotmodder error / possible new project for me

I've picked up work on this data tool again... now it can read and write Components.txt as well as CompEnhancement.txt (from SE4, not Starfury), except it chokes on the Weapon Seeker Speed field in Components.txt... that part needs some more work

I also have code in the program that SHOULD be able to add additional files to the mod dynamically (like Starfury does having most of its data file names defined in CampaignData.txt) but I haven't tested that yet...

Still, once I have the Components.txt working and add a schema for VehicleSize.txt, then I can make something vaguely useful (that vehicle design analyzer I'd been talking about )
__________________
The Ed draws near! What dost thou deaux?
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 08:35 AM.


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