Jump to content
Sign in to follow this  
Lucky44

What are the facts about using images in a briefing?

Recommended Posts

I've just spent an hour combing through posts here and at Armaholic, and I've found some conflicting info. What I haven't found is the real facts about what the requirements are for using images in a Arma2 briefing.

It's making me crazy, because I have done it before, and I have the one that works. I can even use that image in my troublesome briefing and IT WORKS there.

Here's what I'm doing:

1) using a JPG image, saved in Photoshop as a JPG with full quality, and the file name has a .jpg extension.

2) using an image that is square, 256 pixels by 256 pixels.

3) some of my images are black and white (i.e., grayscale) and others are color.

I've tried using both the basic " <img image='Pavel.jpg' /> " syntax and the fuller " <img image='Pavel.jpg' width='256' height='256'/> " version. Neither works in this situation. (But both work with the one image that does work.

I made the briefing that does work about 6 months ago, and I seem to recall some key fact about the image format, but I can't find anything now.

Does anyone know the real requirements/limitations of using images in briefings?

(And yes, I've seen the Wiki entry: http://community.bistudio.com/wiki/Briefing.html )

Share this post


Link to post
Share on other sites
)rStrangelove;1645325']
<img src="......

<img image='......

You sure about your syntax?

I've tried both of the above, with no change. My old mission, that has a functional image in the briefing, uses "image" not "src", fwiw.

Here's my current line, exactly:

tskObj0 setSimpleTaskDescription ["Kill the warlord and his two lieutenants. The warlord <img src='warlord1.jpg' width='200' height='200'/> likes to wear track suits. His  #2 man <img src='warlord2.jpg' width='200' height='200'/> usually carries a gold Uzi. And his psycho other lieutenant <img src='warlord1.jpg' width='200' height='200'/> is a Taliban leader who favors camo clothes.","Assassinate 3 men","Assassinate 3 men"];

Edited by Lucky44
typo

Share this post


Link to post
Share on other sites

After a lot of trying variation after variation, I have got this working:

tskObj0 setSimpleTaskDescription ["Kill the warlord and his two lieutenants. The warlord <img image='warlord1.jpg' width='128' height='128'/>likes to wear track suits. His #2 man <img image='warlord2.jpg' width='128' height='128'/>usually carries a gold Uzi. And his psycho other lieutenant <img image='warlord3.jpg' width='128' height='128'/>is a Taliban leader who favors camo clothes.","Assassinate 3 men","Assassinate 3 men"];

I didn't do anything to the images to get them working. It also works w/out the "width" and "height" definitions; that just lets you size the image to what you want. (I had them at 256x256, which also works.)

The last change I made was to go back to using "image" instead of "src" in the syntax.

I think it's basically simple, but there's something weird that can happen sometimes...not sure how to describe it better.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×