Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Equipment Editor - (Re-release now with all files in ZIP!!)

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Panzer Corps >> Mods and Scenarios >> Equipment Editor - (Re-release now with all files in ZIP!!) Page: [1]
Login
Message << Older Topic   Newer Topic >>
Equipment Editor - (Re-release now with all files in ZI... - 8/5/2011 2:44:00 PM   
mgarnett

 

Posts: 270
Joined: 11/12/2005
Status: offline
Hi All,

OK, after me stupidly leaving out a couple of DLL file from the release, I've uploaded a new ZIP. I've tested this on Windows XP SP3 and Windows 7 Ultimate 64 both with .Net 4 installed and it seems to work fine.

Cheers

Mark

I've finally finished the first beta for the equipment editor. It's fully functional (I think!!) for editing the equipment files. The next beta will include additional functionality as well as bug fixes.

Additional features to be included in the next version include:

- The ability to synchronise/edit the "efx.pzdat" files to the newly edited equipment file
- The ability to edit the "campaign.pzdat" file
- The ability to save queries

Short instructions for using the editor:

By way of requirements, I built the editor using the .Net framework version 4. I'm pretty sure most people should have this anyway, but it's freely downloadable from Microsoft. If this causes issues, I can scale back to .Net 2 I think.

At the moment, when you start the editor and click "Open", you will be prompted to select the equipment file you want to load via a standard windows "open file" dialog. Once selected, another dialog pops up asking you to choose your unit graphics directory. You can either select the directory where you have your graphics installed (in which case the units graphics are displayed for each entry), or select cancel (in which graphics won't be displayed but the equipment file is still loaded and the editor is fully functional). I'm happy to take suggestions on how to make this a little less clunky.

When editing the equipment file, if you choose to edit an existing unit and you change values and want to re-save the unit over the top of the original, you click the "Commit Unit" button. I thought about real time editing (i.e. the database is edited on-the-fly as you click values), but I though this was a little unforgiving in that you don't get to think about your changes before committing them back to the database. This can be changed in a future version if you would prefer it that way though.

If you want to add a unit, just change the currently selected unit's values to anything at all and then just click "Add Unit" and a new unit will be added at the end of the database. If you don't like a unit, just right click on a unit in the list on the left hand side and select "Delete Unit" and the selected unit will be removed from the database.

The traits list boxes were a pain to code, but as you can see, they are populated with all of the known traits as per Dumnorix's post. As you view a unit, traits applicable to that unit will be highlighted. If you want to add a trait to a unit, just highlight the traits you want (you can select multiple) and either commit your change or add the unit as a new unit and the extra traits will be added.

As a safety measure, NO CHANGES ARE MADE TO YOUR ORIGINAL DATABASE. Changes are made to a copy in memory and and then saved to an equipment file when you click the "Save" button.

The comparison function is fairly rudimentary, it basically allows you to select units that match specific criteria of the unit you are currently viewing. At the moment, I have put 11 criteria in the query. I can add more, I was just being a little lazy! All you do is select the "comparison" button and the query screen will pop up. Select the criteria you wish to use for the query and click "OK". Any units matching the query will be listed in the window list box.

If you want to save the query, just click the "Save" button and it will be saved out to a text file (acutally so as not to delay release, I haven't had time to implement this so the "save query" button doesn't do anything yet!!!).

After you have finished editing your file, click the "save" button and your edited equipment database will be saved out to a file at a location you chose using a standard windows save file dialog box.

That's about it for instructions, but if there's anything your not clear about, I can always put some screen caps together.

To be on the safe side, please test this on a copy of your equipment data file and please report any bugs and suggestion either via my email in the about box, or the forums. I don't take offence and welcome criticism, so please let me know if there are things you don't like or could be done better. If you don't tell me, I can't change it.

Cheers

Mark

Edit - Uploaded recompiled release version with earlier .Net framework

Edit - Hi Guys, My bad, I'm using a third party control and I needed to include an additional dependency file.

I'll zip up a new version shortly.

Cheers

Mark


Attachment (1)

< Message edited by mgarnett -- 8/5/2011 5:07:22 PM >
Post #: 1
RE: Equipment Editor - Beta Release - 8/5/2011 2:52:41 PM   
Dumnorix


Posts: 793
Joined: 3/15/2007
Status: offline
Now - I will test the 2nd version !

Edit: OK Now its runs fine !

Thank you !

H.Balck


< Message edited by Dumnorix -- 8/5/2011 5:04:58 PM >


_____________________________


(in reply to mgarnett)
Post #: 2
RE: Equipment Editor - Beta Release - 8/5/2011 5:43:57 PM   
4rakbtl32


Posts: 31
Joined: 1/9/2010
Status: offline
It works fine !

(in reply to Dumnorix)
Post #: 3
RE: Equipment Editor - Beta Release - 8/5/2011 11:27:18 PM   
BriteLite


Posts: 26
Joined: 9/2/2008
Status: offline
Unhandled exception error. String was not recognized as a valid time date.
I had made changes in the original equipment file so maybe that is the problem. I will uninstall PCorps and install a fresh version. Will advise.
Thks again Mark.

(in reply to 4rakbtl32)
Post #: 4
RE: Equipment Editor - Beta Release - 8/5/2011 11:53:12 PM   
mgarnett

 

Posts: 270
Joined: 11/12/2005
Status: offline

quote:

ORIGINAL: BriteLite

Unhandled exception error. String was not recognized as a valid time date.
I had made changes in the original equipment file so maybe that is the problem. I will uninstall PCorps and install a fresh version. Will advise.
Thks again Mark.


Hi BriteLite

When the equipment file is read in for the first time it expects the available from and available to dates to be in the xx.xx.xxxx as per the original file. I can certainly add the little bit of checking here to detect wrongly formatted dates so at least it will continue past the error. Not sure how the game itself will handle malformed date strings though.

Thanks foe the heads up.

Cheers

Mark

(in reply to BriteLite)
Post #: 5
RE: Equipment Editor - Beta Release - 8/6/2011 12:12:13 AM   
Dumnorix


Posts: 793
Joined: 3/15/2007
Status: offline
Hi Mark

A big problem ! The movement show the same parameters like the movement typ !!! In this wise - I can not work with the editor !

H.Balck

_____________________________


(in reply to mgarnett)
Post #: 6
RE: Equipment Editor - Beta Release - 8/6/2011 12:51:57 AM   
mgarnett

 

Posts: 270
Joined: 11/12/2005
Status: offline
Hi Guys

I'll release a new version today fixing Dumnorix's highlighted bug as well as the ability to handle malformed dates in the equipment file.

Cheers

Mark

(in reply to Dumnorix)
Post #: 7
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Panzer Corps >> Mods and Scenarios >> Equipment Editor - (Re-release now with all files in ZIP!!) Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.031