Did someone try to mod the library yet?

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

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

Post Reply
bebro
Slitherine
Slitherine
Posts: 4515
Joined: Sun Nov 19, 2006 12:50 pm

Did someone try to mod the library yet?

Post by bebro »

Seems it's mostly html pages, plus the pics if you want to display any. I'm not exactly an expert in writing html, my knowledge of it is rather rudimentary, but I couldn't be so difficult, or could it?

Anywy, maybe someone has already done it and wants to share some tips/tricks?

I think now the whole lot of text I wrote for the release of the USMC mod would maybe be better placed in there for easier access while playing. At least those parts describing changes, possibly new concepts introduced, for background info, campaign path, maybe a list of switch units etc., etc.

It seems the library displays some changed values correctly automatically from the files in /data, movement stats for example. Other than that I didn't really do much with the library.

Well, long story short if someone has done it and wants to share how-to info I'm all ears :)

For the start I just tried to change the CSS for my mod to display another font in-game but got a total different one as result. /fail

Edit: got the font right, was editing the wrong file :roll:
huertgenwald
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 696
Joined: Wed Oct 05, 2011 6:39 pm
Location: Eifel / south of Aachen

Post by huertgenwald »

"Self-Html" might be a starting point.

http://selfhtml.org

HtH
bebro
Slitherine
Slitherine
Posts: 4515
Joined: Sun Nov 19, 2006 12:50 pm

Post by bebro »

Hey, thx. I have some very basic skills in html, but hardly use them, and as said it's nothing really good, so this will help certainly :)
Uhu
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1437
Joined: Fri Nov 04, 2011 9:16 pm
Location: Hungary

Post by Uhu »

I know, the DMP guys modified it effectively.
I'm right now modifiing the campaign.htm - it is quite easy I only change the scenario names of the campaign. I want to place a sheet about Italian units in the library too so I hope it will not hard. :) (I'm also not a master in htm programming.)

bebro wrote:Hey, thx. I have some very basic skills in html, but hardly use them, and as said it's nothing really good, so this will help certainly :)
huertgenwald
2nd Lieutenant - Panzer IVF/2
2nd Lieutenant - Panzer IVF/2
Posts: 696
Joined: Wed Oct 05, 2011 6:39 pm
Location: Eifel / south of Aachen

Post by huertgenwald »

Already mentioned for other campaign files:

Using NotePad++ is REALLY helpful for modding HTML files.

HtH
bebro
Slitherine
Slitherine
Posts: 4515
Joined: Sun Nov 19, 2006 12:50 pm

Post by bebro »

Uhu wrote:I know, the DMP guys modified it effectively.
I'm right now modifiing the campaign.htm - it is quite easy I only change the scenario names of the campaign. I want to place a sheet about Italian units in the library too so I hope it will not hard. :) (I'm also not a master in htm programming.)
I completely forgot about DMP, yeah, I even saw their campaign path for "Winter War".

As for the html, it seems not to be that hard since we just can use existing files from the library as templates to modify. :)


huertgenwald: yep, I use this one, which is nice and free too: http://www.pnotepad.org/
bebro
Slitherine
Slitherine
Posts: 4515
Joined: Sun Nov 19, 2006 12:50 pm

Post by bebro »

Once you get into it it becomes rather easy indeed:

Image

Otherwise, if you want to edit in specific things huertgenwald's link is a great help.
Post Reply

Return to “Panzer Corps : Scenario Design”