Forum Jump :

Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 28
In-game name: VIPER [RR]

 
#1 Posted at 2010-07-14 02:18        
     
ok ive come to a complete stop on making my mission briefing *WALL* , all my tasks and objectives are ok and are working in game, but i want to add a picture to the briefing on a target to be captured,

what i am using is this, i have put it in severel places in the briefing .sqf but it doesnt show up please help, any links to a step by step guide on how to add pictures to brieifing.sqf will be greatly appreciated :-)

<img image='JackSpades.jpg' width='553' height='730'/>


its a custom width/height picture too
P.S. I am using the mikey briefing template, thats where i got the code from
also my briefing doesnt seem to come up on mp startup(mission briefing) but can be seen while in-game with 'M'.


Modedit:
Topic moved to mission editing.

This post was edited by Foxhound (2010-07-14 06:40, ago)


Author Message

W0lle  

call me evil


Posts: 1944
Rank:


Country: de
Location:
Occupation: CWR² Project Lead
Age: 101
In-game name:

 
#2 Posted at 2010-07-15 02:19        
     
AFAIK the pictures used must always ^2, e.g. 512x256, 1024x512 etc.

You don't need to specify the dimensions though, just make sure the picture has the correct dimensions and then add it with:

<img image='JackSpades.jpg'/> 


If you have the

waitUntil {!(isNull player)};

line in your briefing.sqf then you won't see the briefing before the mission starts because at that point you're not the player. Remove or comment the line out then the briefing should be visible before the mission starts.

Make sure you execute the briefing.sqf from the init.sqf file with

[] execVM "briefing_sp.sqf";

This post was edited by W0lle (2010-07-15 02:25, ago)


Advertisement


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 28
In-game name: VIPER [RR]

 
#3 Posted at 2010-07-15 14:42        
     
ok i altered my picture to the specs you said (i chose 512x1024) and added it to my Seize Chak Chak diary note, but it doesnt show up in map :-(

player createDiaryRecord["Diary", ["Seize Chak Chak and Capture Jack of Clubs","A High Value Target is situated somewhere in the town of Chak Chak you must find him and bring him back to base command for questioning, the target must be captured alive at all cost, we believe he has vital intel on the possible where abouts of WMD's, He's holed up in the small town of Chak Chak after the demise and retreat of the Takistani Army, Bring him home men<img image='JackofSpades.jpg'/>"]];

do i have to have the picture in the mission folder? as i have done that aswell, as i wasnt quite sure how it would find it.

i also dont have this
waitUntil {!(isNull player)};
in my brieifng.sqf so its strange how the briefing doesnt show up in mp briefing startup
P.S. when i changed the dimension of the picture i also changed the name so i could keep the original

This post was edited by VIPER[CWW] (2010-07-15 17:55, ago)


Author Message

W0lle  

call me evil


Posts: 1944
Rank:


Country: de
Location:
Occupation: CWR² Project Lead
Age: 101
In-game name:

 
#4 Posted at 2010-07-15 15:12        
     
Well yes of course the picture in question must be in your mission folder. ;-)


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 28
In-game name: VIPER [RR]

 
#5 Posted at 2010-07-15 16:54        
     
any ideas to why it wont work then?


Author Message

W0lle  

call me evil


Posts: 1944
Rank:


Country: de
Location:
Occupation: CWR² Project Lead
Age: 101
In-game name:

 
#6 Posted at 2010-07-15 17:58        
     
I tried that line with a 512x512 px image and it was working just fine:
player createDiaryRecord["Diary", ["Seize Chak Chak and Capture Jack of Clubs","A High Value Target is situated somewhere in the town of Chak Chak you must find him and bring him back to base command for questioning, the target must be captured alive at all cost, we believe he has vital intel on the possible where abouts of WMD's, He's holed up in the small town of Chak Chak after the demise and retreat of the Takistani Army, Bring him home men<img image='JackofSpades.jpg'/>"]];

Maybe you provide me a download link to your mission (by PM if you don't want everyone to get it) and I take a look what's going wrong. That might be faster.


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 28
In-game name: VIPER [RR]

 
#7 Posted at 2010-07-15 21:23        
     
ok its wip tho, some triggers have not been made for the briefing.sqf etc, if it all goes well it might go public, i will pm you with a link to the download on a friends site

my mate uploaded it to his website only i know this link
and the download will be gone after you got it


Author Message


Posts: 7
Rank:


Level: Member

Country: pt
Location: Algarve
Occupation: Student/Airsoft Player
Age: 23
In-game name: Warhammer

 
#8 Posted at 2014-04-10 14:05        
     
Hi
In order to avoid new posts I'll write in this 1.
I'm using Briefing Manager to create my briefings and for the first time I tested to put some imgs in there. Followed the instructions with no problems. After preview, the imag in the briefing was shown in white (blank). I changed the resolution, type of format and imag but nothing.
Any ideas why?