Equipment\FX\Campaign Editor - New version 0.9.0
Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design
If you could email it through, that would be great.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”.
Cheers
Mark
For anybody reading the thread, this error has now been fixed and a new version uploaded.mgarnett wrote:If you could email it through, that would be great.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”.
Cheers
Mark
Cheers
Mark
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..
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.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..
Cheers
Mark
-
- Major-General - Tiger I
- Posts: 2312
- Joined: Thu Jul 07, 2011 12:56 pm
- Location: Northeast, USA
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)
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)
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.
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,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.
I'll have a look at this tonight.
Cheers
Mark
Hi wino,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.
This is now fixed a new version is available for download.
Cheers
Mark
Not sure
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.
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.
Re: Not sure
Run the editor choose "Open". You've to browse for your equipment.pzeqp file. Usually it's in Panzer Corps\Data folder.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?
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.
Re: Not sure
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 wellVPaulus wrote:Run the editor choose "Open". You've to browse for your equipment.pzeqp file. Usually it's in Panzer Corps\Data folder.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?
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.

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?
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?
Re: Equipment\FX\Campaign Editor - New version 0.7.1
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.