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

Post Reply
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 have the (very long) detail for the error message “Access to path C:\ is denied” if you want it. I didn’t want to right off post it on the forum but can email it if that would be better.

It happens when I select my campaign in the top part and then right click in bottom and choice “Add”.
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

Xerkis wrote:I have the (very long) detail for the error message “Access to path C:\ is denied” if you want it. I didn’t want to right off post it on the forum but can email it if that would be better.

It happens when I select my campaign in the top part and then right click in bottom and choice “Add”.
If you could email it through, that would be great.

Cheers

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

Post by mgarnett »

mgarnett wrote:
Xerkis wrote:I have the (very long) detail for the error message “Access to path C:\ is denied” if you want it. I didn’t want to right off post it on the forum but can email it if that would be better.

It happens when I select my campaign in the top part and then right click in bottom and choice “Add”.
If you could email it through, that would be great.

Cheers

Mark
For anybody reading the thread, this error has now been fixed and a new version uploaded.

Cheers

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

Post by mgarnett »

Hi All,

I've released a new version fixing some additional bugs, but I also wanted to take the time to expressly thank Xerkis and El_Condoro for testing this app above and beyond anything I could have expected and for finding the many bugs left behind by my inept coding!

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 »

Any time. It’s my pleasure and honor to do so.
:D
wino
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 52
Joined: Fri Jan 14, 2011 2:41 pm

Post by wino »

New feature request. You can try to produce using GraphViz campaign tree, similar to this:
http://wino.babilon24.org/pgcam_pg.png

It is quite easy to, just define "relations" and then GraphViz will produce a picture for you. It could be a great add-on for campaign editor.

--
Make a units cheat sheet for given country and date.
Just a window with list of all units for given country and date with pictures and basic parameters. This can help to control what units are available at what time for each country. Mayby export to BMP or PDF..
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

wino wrote:New feature request. You can try to produce using GraphViz campaign tree, similar to this:
http://wino.babilon24.org/pgcam_pg.png

It is quite easy to, just define "relations" and then GraphViz will produce a picture for you. It could be a great add-on for campaign editor.

--
Make a units cheat sheet for given country and date.
Just a window with list of all units for given country and date with pictures and basic parameters. This can help to control what units are available at what time for each country. Mayby export to BMP or PDF..
Thanks for the suggestion. I've had a look at their site and can see that there is a dotNET SDK so I'll see how much work is involved in incorporating it.

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 »

Just thought I would give a heads up on the 1.01 patch that was just released.

All the units I added to the E-File turned in to Free French.
So if you used the Equipment Editor to add new units, like I do – you might have this issue too.

Easy to fix though. I just added a “9” to the front of the unit ID and then reassigned them in the scenarios…. Yeah I know, I should have done that to begin with, but oh well.

And I haven’t done any real testing to make sure a jump in the unit IDs doesn’t cause any issue (either in the game or in the editor)
wino
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 52
Joined: Fri Jan 14, 2011 2:41 pm

Post by wino »

I was trying to convert some old PG efile to PzC. It seems that PzCEdit got buggy egpzc file parser.
When you use a '#' this is comment. You can use it at the end of the line or in the beginning.
Now it is impossible. All lines even with '#' as first char must have same number of 'tab' chars.

Parsing IMO should look like these:
1. find '#' in line, when found make copy of string from position 0 to position of '#', then use it in 2,3,4
2. tokenize using 'tab' as field (column) delimiter
3. if number of tokens nor equal 30 report this line broken (with line number), but do not throw exception
4. if token number equals 30 try to parse line

This will greatly improve PzCEdit.

BTW. I have spend on this two evenings before figuring this. Brrr.
mgarnett
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 110
Joined: Mon Nov 30, 2009 9:10 am

Post by mgarnett »

wino wrote:I was trying to convert some old PG efile to PzC. It seems that PzCEdit got buggy egpzc file parser.
When you use a '#' this is comment. You can use it at the end of the line or in the beginning.
Now it is impossible. All lines even with '#' as first char must have same number of 'tab' chars.

Parsing IMO should look like these:
1. find '#' in line, when found make copy of string from position 0 to position of '#', then use it in 2,3,4
2. tokenize using 'tab' as field (column) delimiter
3. if number of tokens nor equal 30 report this line broken (with line number), but do not throw exception
4. if token number equals 30 try to parse line

This will greatly improve PzCEdit.

BTW. I have spend on this two evenings before figuring this. Brrr.
Thanks wino,

I'll have a look at this tonight.

Cheers

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

Post by mgarnett »

wino wrote:I was trying to convert some old PG efile to PzC. It seems that PzCEdit got buggy egpzc file parser.
When you use a '#' this is comment. You can use it at the end of the line or in the beginning.
Now it is impossible. All lines even with '#' as first char must have same number of 'tab' chars.

Parsing IMO should look like these:
1. find '#' in line, when found make copy of string from position 0 to position of '#', then use it in 2,3,4
2. tokenize using 'tab' as field (column) delimiter
3. if number of tokens nor equal 30 report this line broken (with line number), but do not throw exception
4. if token number equals 30 try to parse line

This will greatly improve PzCEdit.

BTW. I have spend on this two evenings before figuring this. Brrr.
Hi wino,

This is now fixed a new version is available for download.

Cheers

Mark
HandzarSS
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 5
Joined: Sat Nov 12, 2011 2:53 pm

Not sure

Post by HandzarSS »

Sorry if someone has asked about this in some of the previous pages, but the thing is that I've downloaded the 0.7.0 version, and as far as I can notice, it's a powerful tool, but I'm afraid I'm totally lost on how to use it properly. I don't know how to open the existing files (units) in it?

Also, How can I make a unit from scratch and add it to my active units in my editor via this tool?

I've already opened a thread here http://slitherine.com/forum/viewtopic.php?t=29614 not knowing that there is a whole EqEd-dedicated thread already on Slitherine forums, sorry about that.
VPaulus
Slitherine
Slitherine
Posts: 8324
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Re: Not sure

Post by VPaulus »

HandzarSS wrote:Sorry if someone has asked about this in some of the previous pages, but the thing is that I've downloaded the 0.7.0 version, and as far as I can notice, it's a powerful tool, but I'm afraid I'm totally lost on how to use it properly. I don't know how to open the existing files (units) in it?
Run the editor choose "Open". You've to browse for your equipment.pzeqp file. Usually it's in Panzer Corps\Data folder.
Then it will ask you to "Choose your Graphic Directory", usually it's in Panzer Corps\Graphics\Units.
If you want to add a unit to the equipment file (remember to do a back up before editing anything) just press "Add Unit" button and after you've wrote down the parameters, you'll have to press "Commit Unit". In order to save in the file you've before exiting the editor to press button "Save".
Don't forget that you have also to edit and add the new unit to the efx file.
So within the editor press "Edit EFX". A new windows will open.
Now choose "Open" from that Window. You'll have to browse for you efx.pzdat file. Usually it's on Panzer Corps\Graphics folder. Press the button "Add Entry". It will add a line in the end of the Unit Icon List. This line is usually a clone of the first line or of other line you have selected.
Write the parameters you want (sound and animation). Press "Commit" button. Add more units if you want. Don't forget before closing that window, that you've to save the file by pressing "Save" button.
And that's all.
HandzarSS
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 5
Joined: Sat Nov 12, 2011 2:53 pm

Re: Not sure

Post by HandzarSS »

VPaulus wrote:
HandzarSS wrote:Sorry if someone has asked about this in some of the previous pages, but the thing is that I've downloaded the 0.7.0 version, and as far as I can notice, it's a powerful tool, but I'm afraid I'm totally lost on how to use it properly. I don't know how to open the existing files (units) in it?
Run the editor choose "Open". You've to browse for your equipment.pzeqp file. Usually it's in Panzer Corps\Data folder.
Then it will ask you to "Choose your Graphic Directory", usually it's in Panzer Corps\Graphics\Units.
If you want to add a unit to the equipment file (remember to do a back up before editing anything) just press "Add Unit" button and after you've wrote down the parameters, you'll have to press "Commit Unit". In order to save in the file you've before exiting the editor to press button "Save".
Don't forget that you have also to edit and add the new unit to the efx file.
So within the editor press "Edit EFX". A new windows will open.
Now choose "Open" from that Window. You'll have to browse for you efx.pzdat file. Usually it's on Panzer Corps\Graphics folder. Press the button "Add Entry". It will add a line in the end of the Unit Icon List. This line is usually a clone of the first line or of other line you have selected.
Write the parameters you want (sound and animation). Press "Commit" button. Add more units if you want. Don't forget before closing that window, that you've to save the file by pressing "Save" button.
And that's all.
Wow, that's a really good reply, I got everything to work. Thank you!!! I'm happy to be a part of this modding community now, I can't wait to start posting my work here as well :)
VPaulus
Slitherine
Slitherine
Posts: 8324
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Post by VPaulus »

Great.
New modders are always welcome. :D

Please don't hesitate in sharing your work.
blindsey
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 49
Joined: Fri May 28, 2010 3:50 pm
Location: Washington, DC

Post by blindsey »

Is this editor compatible with the new DLC, '39 and '40, camapigns, equipment, etc?
Thanks!
BlindsEye
VPaulus
Slitherine
Slitherine
Posts: 8324
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Post by VPaulus »

At least the efx and equipment, yes.
VPaulus
Slitherine
Slitherine
Posts: 8324
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Post by VPaulus »

Mark, you've a PM. :)
bebro
Slitherine
Slitherine
Posts: 4506
Joined: Sun Nov 19, 2006 12:50 pm

Post by bebro »

BTW, does anyone know whether/how you can get the country filters to work with custom nations?

So far all the custom units I have for countries I added beyond the stock PzC nations show up when I set "all" (so no filter at all), but having the filter function working for them would be very useful.

When I click on the flag button there's a list showing up possible entries for custom nations, but it seems there you cannot enter other nations (at least I can't get it to work), or can you somehow?
sschleif
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 6
Joined: Thu Oct 06, 2011 6:43 pm

Re: Equipment\FX\Campaign Editor - New version 0.7.1

Post by sschleif »

I'm trying to edit the SU122 because of the FREEZE problem in '42. I'm using your editor but it isn't obvious how to remove the nopurchase trait which I've been advised to do.
Post Reply

Return to “Panzer Corps : Scenario Design”