Jump to content
[TWS] The Vaiil

Add an image onto billboards

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

Share this post


Link to post
Share on other sites

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.

Edited by Ibailzy

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
6 hours ago, ToxicFFS said:

when i add my images to a billbort i use .paa i get a 3D effect on my images why?

What do you mean? Take a picture of it.

Share this post


Link to post
Share on other sites
1 minute ago, imthatguyhere said:

You made the PAA wrong or it's not the right size / a power of 2.

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
On 8/25/2018 at 9:12 PM, Johnny Cash said:

and if it is double billboard?

Late response, but this should work for the other board:

this setObjectTexture [1, "images\YOURIMAGEHERE.jpg"];

 

7 hours ago, warutsansuk112 said:

Not Wrok 5.0

This has nothing to do with Altis Life Versions and it does work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×