How to add images to briefings

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

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

Post Reply
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2096
Joined: Tue Jun 03, 2008 9:32 am

How to add images to briefings

Post 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
VPaulus
Slitherine
Slitherine
Posts: 8278
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Re: How to add images to briefings

Post by VPaulus »

Thanks, El-Condoro. :)
flakfernrohr
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1572
Joined: Wed Aug 03, 2011 11:56 pm
Location: Texas

Re: How to add images to briefings

Post 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:
Old Timer Panzer General fan. Maybe a Volksturm soldier now. Did they let Volksturm drive Panzers?
HBalck
1st Lieutenant - Grenadier
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

Post by HBalck »

Is it possible to use also gif animations or video files in this briefing sets ?

H.Balck
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2096
Joined: Tue Jun 03, 2008 9:32 am

Re: How to add images to briefings

Post by El_Condoro »

Yes - DMP do it.
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2096
Joined: Tue Jun 03, 2008 9:32 am

Re: How to add images to briefings

Post 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
HBalck
1st Lieutenant - Grenadier
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

Post by HBalck »

Yes - DMP do it.
I have seen only image files - no animated gifs - which video format do they use ?

H.Balck
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2096
Joined: Tue Jun 03, 2008 9:32 am

Re: How to add images to briefings

Post 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>
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
DMPTeam
Senior Corporal - Destroyer
Senior Corporal - Destroyer
Posts: 112
Joined: Thu Jan 20, 2011 7:13 am

Re: How to add images to briefings

Post 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
HBalck
1st Lieutenant - Grenadier
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

Post 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
veranschi13
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 40
Joined: Wed Dec 07, 2011 6:30 pm

Re: How to add images to briefings

Post 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...
MikeAP
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 517
Joined: Fri Sep 03, 2010 3:14 pm

Re: How to add images to briefings

Post 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.
fsx
Warhammer Moderator
Warhammer Moderator
Posts: 388
Joined: Mon Dec 26, 2011 2:47 pm

Re: How to add images to briefings

Post 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)
Post Reply

Return to “Panzer Corps : Scenario Design”