Page 1 of 1

How to add images to briefings

Posted: Mon May 14, 2012 9:37 pm
by El_Condoro
(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

Re: How to add images to briefings

Posted: Mon May 14, 2012 10:23 pm
by VPaulus
Thanks, El-Condoro. :)

Re: How to add images to briefings

Posted: Tue May 15, 2012 11:04 pm
by flakfernrohr
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. :lol:

Re: How to add images to briefings

Posted: Tue May 15, 2012 11:55 pm
by HBalck
Is it possible to use also gif animations or video files in this briefing sets ?

H.Balck

Re: How to add images to briefings

Posted: Wed May 16, 2012 12:08 am
by El_Condoro
Yes - DMP do it.

Re: How to add images to briefings

Posted: Wed May 16, 2012 12:10 am
by El_Condoro
flakfernrohr 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. :lol:
Thanks but the main things - the AI and executable and some other hard-coded stuff - are where I am at a loss! Cheers

Re: How to add images to briefings

Posted: Wed May 16, 2012 12:55 am
by HBalck
Yes - DMP do it.
I have seen only image files - no animated gifs - which video format do they use ?

H.Balck

Re: How to add images to briefings

Posted: Wed May 16, 2012 1:10 am
by El_Condoro
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>

Re: How to add images to briefings

Posted: Wed May 16, 2012 7:45 am
by DMPTeam
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

Re: How to add images to briefings

Posted: Wed May 16, 2012 11:31 pm
by HBalck
OK - Thank you - thats good - now I can use my 3D lipsyncron speaking general figures and some nice animated briefing maps.

H.Balck

Re: How to add images to briefings

Posted: Tue Mar 19, 2013 9:21 am
by veranschi13
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...

Re: How to add images to briefings

Posted: Sun Mar 24, 2013 1:39 am
by MikeAP
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.

Re: How to add images to briefings

Posted: Sun Mar 24, 2013 11:46 am
by fsx
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...
Hi!
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)