Jump to content

Recommended Posts

Hi everyone, good morning.
I have a question about billboards with modified textures.

I usually insert my image into the standard billboard, with the sqf file in mp example, example:

/*
	File: billboards.sqf
	Author: Trill
	Contact: 
	
	Description: Custom Buildings
*/

diag_log format['Custom %1 - Starting billboards.sqf',time];

//Krasnostav Aircraft Trader//
_pos = [11999.81,12669.938,0];
_object = createVehicle ["Land_Billboard_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 52.993;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "textures\newtonio.jpg"];
_object allowDamage false;

and it works perfectly well, and I put them in dozens with "Land_Billboard_F"

but, if I wanted to put two pictures on this billboard, always using the billboard.sqf file, how can i put it in two, considering that the billboard coordinates are unique?
the billboard is:
"Land_Billboard_04_blank_F"
cartellonedoppio2.jpg
cartellonedoppio1.jpg
 
to consider that I obviously use them on my server.
 
I thank all those who are interested in my problem, and I apologize for mistaken posting in a section that does not agree.

Thank you
Antonio
  • Like 1

Share this post


Link to post
Share on other sites
_object setObjectTextureGlobal [0, "textures\newtonio.jpg"];
_object setObjectTextureGlobal [1, "textures\whateveryour2ndpiciscalled.jpg"];
  • Like 3

Share this post


Link to post
Share on other sites
7 minutes ago, BadHabitz said:

_object setObjectTextureGlobal [0, "textures\newtonio.jpg"];
_object setObjectTextureGlobal [1, "textures\whateveryour2ndpiciscalled.jpg"];

 

Ok then, do you intend to insert it so ????
 

_pos = [11999.81,12669.938,0];
_object = createVehicle ["Land_Billboard_04_blank_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 52.993;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "textures\newtonio.jpg"];

_object setObjectTextureGlobal [1, "textures\2newtonio.jpg"];
_object allowDamage false;

 

Thanks a lot, tonight I try to use it, and then I immediately share it with everyone.

 

 

GRAZIE

Share this post


Link to post
Share on other sites

Great, great, spectacular!
You are a great one, with two rows, you've solved me a problem!
All talk and write and speak, but you have made the facts!
It works:
 

 

//Elektrozavdsk Trader//

_pos = [10045.109,1786.062,0.02];
_object = createVehicle ["Land_Billboard_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 179.804;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "textures\ELEKTRO\TraderCity_ELEKTRO_SIN.jpg"];				// strada ELETTRO VS VICINO TRADER
_object allowDamage false;

_pos = [10258.672,2126.965,0];
_object = createVehicle ["Land_Billboard_04_blank_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 266.697;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "textures\ELEKTRO\TraderCity_ELEKTRO_UP.jpg"];				// strada ELETTRO DOPPIO ALTO TRADER
_object setObjectTextureGlobal [1, "textures\texcart_pubbli.jpg"];
_object allowDamage false;

 

  • Like 1

Share this post


Link to post
Share on other sites
10 hours ago, EBEALIEN THY said:

 

Ok then, do you intend to insert it so ????

 

Yes.

  • Like 1

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

×