How to add images to briefings
Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design
-
- Panzer Corps Moderator
- Posts: 2096
- Joined: Tue Jun 03, 2008 9:32 am
How to add images to briefings
(Deduced from a DMP briefing)
1. Put the image file in the Panzer Corps\UI folder (or the same folder used for the GME installation if you're using that) with any name ([image_name] below)
2. Add the following code to the briefing where you want the image to appear:
<CENTER><p><img src="[image_name].png" width="xxx" height="yyy" alt="[alternative text for mouse hover-over]"></p></CENTER>
xxx = the width of the image in pixels
yyy = the height of the image in pixels
[alternative text] is what will show in the pop-up when you hover the mouse over the image in the briefing
1. Put the image file in the Panzer Corps\UI folder (or the same folder used for the GME installation if you're using that) with any name ([image_name] below)
2. Add the following code to the briefing where you want the image to appear:
<CENTER><p><img src="[image_name].png" width="xxx" height="yyy" alt="[alternative text for mouse hover-over]"></p></CENTER>
xxx = the width of the image in pixels
yyy = the height of the image in pixels
[alternative text] is what will show in the pop-up when you hover the mouse over the image in the briefing
Re: How to add images to briefings
Thanks, El-Condoro. 

-
- Colonel - Ju 88A
- Posts: 1572
- Joined: Wed Aug 03, 2011 11:56 pm
- Location: Texas
Re: How to add images to briefings
El Condoro: I have to say that I am always amazed at your expertise! I don't think there is anything in this game you cannot do or change and that's a very good thing for all of us. 

Old Timer Panzer General fan. Maybe a Volksturm soldier now. Did they let Volksturm drive Panzers?
-
- 1st Lieutenant - Grenadier
- Posts: 786
- Joined: Thu May 21, 2009 9:28 pm
- Location: Augsburg / Bavaria / Germany...but I am from Eastern Germany !
Re: How to add images to briefings
Is it possible to use also gif animations or video files in this briefing sets ?
H.Balck
H.Balck
-
- Panzer Corps Moderator
- Posts: 2096
- Joined: Tue Jun 03, 2008 9:32 am
Re: How to add images to briefings
Yes - DMP do it.
-
- Panzer Corps Moderator
- Posts: 2096
- Joined: Tue Jun 03, 2008 9:32 am
Re: How to add images to briefings
Thanks but the main things - the AI and executable and some other hard-coded stuff - are where I am at a loss! Cheersflakfernrohr wrote:El Condoro: I have to say that I am always amazed at your expertise! I don't think there is anything in this game you cannot do or change and that's a very good thing for all of us.
-
- 1st Lieutenant - Grenadier
- Posts: 786
- Joined: Thu May 21, 2009 9:28 pm
- Location: Augsburg / Bavaria / Germany...but I am from Eastern Germany !
Re: How to add images to briefings
I have seen only image files - no animated gifs - which video format do they use ?Yes - DMP do it.
H.Balck
-
- Panzer Corps Moderator
- Posts: 2096
- Joined: Tue Jun 03, 2008 9:32 am
Re: How to add images to briefings
Away from PC at the moment. Put an animated gif in the UI folder and refer to it in the briefing as above and see how it goes is my recommendation. Let us know how you go.
[Edit]
Their animated gifs are in the library (Library folder). This is from marine.htm:
<p><b>In this tutorial we will show you the use of Marinekommando and Sturmpioniere.</b></p>
<p><u>Part 1</u></p>
<img src="Marinekommando_Tutorial_Teil_1.gif" style="float:center; background-image: url(unit_bg.png); margin:10px 10px 10px 10px">
<p><u>Partl 2</u></p>
<img src="Marinekommando_Tutorial_Teil_2.gif" style="float:center; background-image: url(unit_bg.png); margin:10px 10px 10px 10px">
<p><u>Part 3</u></p>
<img src="Marinekommando_Tutorial_Teil_3.gif" style="float:center; background-image: url(unit_bg.png); margin:10px 10px 10px 10px">
<p><b>Good Luck!</b></p>
[Edit]
Their animated gifs are in the library (Library folder). This is from marine.htm:
<p><b>In this tutorial we will show you the use of Marinekommando and Sturmpioniere.</b></p>
<p><u>Part 1</u></p>
<img src="Marinekommando_Tutorial_Teil_1.gif" style="float:center; background-image: url(unit_bg.png); margin:10px 10px 10px 10px">
<p><u>Partl 2</u></p>
<img src="Marinekommando_Tutorial_Teil_2.gif" style="float:center; background-image: url(unit_bg.png); margin:10px 10px 10px 10px">
<p><u>Part 3</u></p>
<img src="Marinekommando_Tutorial_Teil_3.gif" style="float:center; background-image: url(unit_bg.png); margin:10px 10px 10px 10px">
<p><b>Good Luck!</b></p>
Last edited by El_Condoro on Wed May 16, 2012 1:56 am, edited 1 time in total.
Reason: Added new info - code for animated gifs
Reason: Added new info - code for animated gifs
Re: How to add images to briefings
The maps you can see in the briefings are animated gifs, it works fine.
Code
<CENTER><p><img src="m5_01.gif" width="437" height="464" alt="Map;r"></p></CENTER>
The file m5_01.gif is placed in the UI folder.
I also spend hours to get a videoclip into the briefings, without success
Regards Gerhard
Code
<CENTER><p><img src="m5_01.gif" width="437" height="464" alt="Map;r"></p></CENTER>
The file m5_01.gif is placed in the UI folder.
I also spend hours to get a videoclip into the briefings, without success

Regards Gerhard
-
- 1st Lieutenant - Grenadier
- Posts: 786
- Joined: Thu May 21, 2009 9:28 pm
- Location: Augsburg / Bavaria / Germany...but I am from Eastern Germany !
Re: How to add images to briefings
OK - Thank you - thats good - now I can use my 3D lipsyncron speaking general figures and some nice animated briefing maps.
H.Balck
H.Balck
-
- Corporal - 5 cm Pak 38
- Posts: 40
- Joined: Wed Dec 07, 2011 6:30 pm
Re: How to add images to briefings
Awesome job, Eldorado. Just came across this thread here and tried it immediately. Works perfectly.
Thinking about adding maps into the DLC-briefings. Sometimes I just cannot imagine where battles were fought or cities are located...
Thinking about adding maps into the DLC-briefings. Sometimes I just cannot imagine where battles were fought or cities are located...
Re: How to add images to briefings
Also -
The brief files are simple .htm format, which can be edited by Microsoft Word. It is much easier to just add graphics, that way they are coded to the htm file.
The brief files are simple .htm format, which can be edited by Microsoft Word. It is much easier to just add graphics, that way they are coded to the htm file.
Re: How to add images to briefings
Hi!veranschi13 wrote:Awesome job, Eldorado. Just came across this thread here and tried it immediately. Works perfectly.
Thinking about adding maps into the DLC-briefings. Sometimes I just cannot imagine where battles were fought or cities are located...
Look at http://www.designmodproject.de/forum/vi ... 2#p1268531 and the other posts in this thread.
If I find some time, I will add the files for this modification.
OR: Download the latetst DMP-Mod Ostfront and copy the files from it (folder UI and briefings)