Jump to content

Add an image onto billboards


[TWS] The Vaiil
 Share

Recommended Posts

                           Author:  BSLewis

  This is a quick tutorial on how to add an image to your billboard signs like this:

 
fd4295294330ee656dc29e3d33594e80.png
 
There are 2 separate ways to code these signs with the image, we will do the easiest. 
 
You simply go into the mission editor and create an empty billboard and paste in the code
  

Then go into the Intilization section and type this:

Quote

this allowDamage false; this setObjectTexture [0, "images\YOURIMAGEHERE.jpg"]

Your image should be 512x256. 

Then reupload your mission.sqm to your server.

Annnnnnnd done...

Edited by [TWS] The Vaiil
  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 9 months later...
  • 2 months later...
2 hours ago, Ibailzy said:

I'm a bit new to editor, how do you add the image you want? Like where does the image need to be placed for it to work? This is going into a server.

this allowDamage false; this setObjectTexture [0, "images\YOURIMAGEHERE.jpg"]

the images\yourimagehere

indicates that it is in the images folder, you can change it to textures\image.jpg to make it your textures folder!

Link to comment
Share on other sites

  • 4 months later...
  • 3 weeks later...
3 hours ago, ToxicFFS said:

do you mean  size of the picture ??     what size should it be in ??  i use Texview2 to convert my PNG files to paa

It basically has to be a power of two or a multiple of 256...so 512x512 or 512x256, or 1048x1048 or 1048x512 or 2048x2048 or 2048x1024.....if you do 1024x500 it wont show properly, likewise if you do 1920x1080 it won't work properly.

You can't have 1024x256 or 2048x512.....it has to be half of the highest number or equal sizes. The billboards should ideally be 2048 (width) x1024 (height) for best quality.

Edited by JedINyte
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.