Equipment\FX\Campaign Editor - New version 0.9.0

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

I just scanned my PC – no settings.txt file to be found… and after I made sure I hit the “Quite” button as well.

Also, I have changed my campaign file and it comes up without any errors.
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Post by El_Condoro »

For now, the app will remember directories as long as you use the "Quit" button.......
Just confirming I was using the Quit button. No settings.txt file, either.
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

El_Condoro wrote:
For now, the app will remember directories as long as you use the "Quit" button.......
Just confirming I was using the Quit button. No settings.txt file, either.
Ok, are you running the app from a directory contained in "program files"? If so, I will need to save the file somewhere different as the security features in Windows Vista or 7 won't allows writing to a folder in that path. If your stll using XP, can you let me know because that means it's a different problem.

Cheers

Mark
Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

mgarnett wrote:
El_Condoro wrote:
For now, the app will remember directories as long as you use the "Quit" button.......
Just confirming I was using the Quit button. No settings.txt file, either.
Ok, are you running the app from a directory contained in "program files"? If so, I will need to save the file somewhere different as the security features in Windows Vista or 7 won't allows writing to a folder in that path. If your stll using XP, can you let me know because that means it's a different problem.

Cheers

Mark
Windows 7 and here is where i have mine placed.

C:\Users\Mark\Documents\My Games\Slitherine\Equipment Editor
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Post by El_Condoro »

I have the editor files all in My docs\My games\Panzer Corps folder. Just checked - definitely no settings file of any sort there.
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

El_Condoro wrote:I have the editor files all in My docs\My games\Panzer Corps folder. Just checked - definitely no settings file of any sort there.
Thanks, I'll create the settings file during load rather than when quiting. I'll make some changes and post a new version. Are you guys able to confirm that the debug.txt file gets created? It gets created using the same procedure, so if see that but not the settings file then it will help to track down the cause.

Cheers

Mark
Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

mgarnett wrote:
El_Condoro wrote:I have the editor files all in My docs\My games\Panzer Corps folder. Just checked - definitely no settings file of any sort there.
Thanks, I'll create the settings file during load rather than when quiting. I'll make some changes and post a new version. Are you guys able to confirm that the debug.txt file gets created? It gets created using the same procedure, so if see that but not the settings file then it will help to track down the cause.

Cheers

Mark
Yes sir, it does.
I deleted it -- opened the editor -- closed it -- debug file is back.
Hope it helps
:)
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

Thanks Xerkis, I'll have a look and get back to you.

Cheers

Mark
Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

mgarnett wrote:Thanks Xerkis, I'll have a look and get back to you.

Cheers

Mark
Sounds good.

As you know, anything I can do to help, just ask.
:)
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Post by El_Condoro »

mgarnett wrote:Are you guys able to confirm that the debug.txt file gets created? It gets created using the same procedure, so if see that but not the settings file then it will help to track down the cause.
Somehow missed this. Yes, the debug.txt file is created when the editor is opened. I had the folder open and could see it appear when the editor displayed.
shinyhalo
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Mon Jul 11, 2011 4:28 pm

Values not being saved

Post by shinyhalo »

Editor in this directory C:\Users\Z\Documents\Editor
copied equipment.pzeqp into same directory to test it

opened PzCEdit.exe
opened equipment.pzeqp
just clicked "ok" when it asks me to choose graphics directory

selected country germany
naval unit destroyer
changed Range to 2
saved
selected schnellbotte
selected destroyer
Range still 0

Please explain how to permanently change unit stats.
Thanks
berndN
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 141
Joined: Sat Aug 07, 2010 6:13 pm

Post by berndN »

Maybe just as a tip. Use LINQ and requery the data via queries when selecting different units. Here's a quick example which might help: http://msdn.microsoft.com/en-us/library/bb397914.aspx
Advantage is to use XML to save and later reload.
For modding while many prefer ascii files, XML files are easier to read and can handle much more data base stuff IMHO :)

But thanks for the work on the Editor. I had also the idea to start working on such a 'beast' but was happy to see that someone else started!
Hopefully the creators will change the way the main files are handled to make it easier to create new campaigns without needing to 'backup/protect' the games core files.
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Re: Values not being saved

Post by mgarnett »

shinyhalo wrote:Editor in this directory C:\Users\Z\Documents\Editor
copied equipment.pzeqp into same directory to test it

opened PzCEdit.exe
opened equipment.pzeqp
just clicked "ok" when it asks me to choose graphics directory

selected country germany
naval unit destroyer
changed Range to 2
saved
selected schnellbotte
selected destroyer
Range still 0

Please explain how to permanently change unit stats.
Thanks
Hi Shinyhalo,

To save a unit "over the top" of the currently selected unit, just change the stats to whatever you like and then click the "Commit Unit" button. To add a new unit at the end of the database, just change the currently selected unit to whatever stats you like then select "Add Unit"

Cheers

Mark
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

berndN wrote:Maybe just as a tip. Use LINQ and requery the data via queries when selecting different units. Here's a quick example which might help: http://msdn.microsoft.com/en-us/library/bb397914.aspx
Advantage is to use XML to save and later reload.
For modding while many prefer ascii files, XML files are easier to read and can handle much more data base stuff IMHO :)

But thanks for the work on the Editor. I had also the idea to start working on such a 'beast' but was happy to see that someone else started!
Hopefully the creators will change the way the main files are handled to make it easier to create new campaigns without needing to 'backup/protect' the games core files.
Thanks for the tip berndN.

I'm actually using this project to teach myself dotNet. I'm a Delphi developer mainly, so the features of the dotNET environment are still pretty new to me. If the source data was in XML, I would certainly have kept it that way, but as it is in plain text, I made the decision to store information internally as plain text as well.

Cheers

Mark
Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

How’s the campaign editor coming?
:)
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

New version uploaded, please see first post.

Cheers

Mark
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

Xerkis wrote:How’s the campaign editor coming?
:)
Hi Xerkis,

I hope to have it finished this weekend assuming I don't get roped into playing Barbies with my daughter!!!

Cheers

Mark
Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

mgarnett wrote:New version uploaded, please see first post.
You must have just done that. It was .6 when I came in here.... True I came in to this thread walked away for awhile, came back and posted.
:lol:
Last edited by Xerkis on Fri Aug 19, 2011 1:53 pm, edited 1 time in total.
Xerkis
Major-General - Tiger I
Major-General - Tiger I
Posts: 2312
Joined: Thu Jul 07, 2011 12:56 pm
Location: Northeast, USA

Post by Xerkis »

Settings file is now there for me.
Fixed.
:D
VPaulus
Slitherine
Slitherine
Posts: 8324
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Post by VPaulus »

mgarnett wrote:
Hi Xerkis,

I hope to have it finished this weekend assuming I don't get roped into playing Barbies with my daughter!!!

Cheers

Mark
Don't forget to bring your Action Man (European version of G.I. Joe). I've always loved my "Deep Sea Diver" suit. He looked wonderful in my bathtub filled with water. His voice was never the same after that, but he looked nice.
http://www.actionmanhq.co.uk/pages/sold ... diver.html
Post Reply

Return to “Panzer Corps : Scenario Design”