Redfutz

Replace Default Exile Billboard Pictures?

9 posts in this topic

Hello I am looking to simply swap pictures for the default trader billboards on Exile Altis at the terminal trader. I can't seem to find the file path for the images to replace.

This is what I am trying to achieve. Thanks for the help! <3

820d902e1d3dffbfca0fbf998e0adc02.jpg

Edited by Redfutz

Share this post


Link to post
Share on other sites

the only way you achieve this to replace all signs in the server with new images is to edit the config.bin of the @exile\addons\exile_client\config.bin

then you would have to resign the pbo file, and your players would have to download that new file you would have to place the new bikey in your servers keys folder.

Share this post


Link to post
Share on other sites
Advertisement

you can add your own billboards to the server though, by using something like

Spoiler

private _billboard = [
["Exile_Sign_RussianRoulette", [8062.22, 9266.62, 470.118], [0.94989, -0.312584, 0], [0, 0, 1], false]
];

{
    private _vehicle = (_x select 0) createVehicle (_x select 1);
    _vehicle allowDamage false;
    _vehicle setPosWorld (_x select 1);
    _vehicle setVectorDirAndUp [_x select 2, _x select 3];
    _vehicle enableSimulationGlobal (_x select 4);
    _vehicle setVariable ["ExileIsLocked", -1, true];
   
    if (_vehicle isKindOf "Exile_Sign_RussianRoulette") then
    {
        _vehicle SetObjectTextureGlobal [0,"images\01.paa"];
    };
}
forEach _billboard;

 

the parts in the config.bin is

Spoiler

class Exile_Sign_Aircraft: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Aircraft)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Aircraft_co.paa"};
	};
	class Exile_Sign_AircraftCustoms: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Aircraft Customs)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_AircraftCustoms_co.paa"};
	};
	class Exile_Sign_AircraftCustoms_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (AircraftCustoms, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_AircraftCustoms_Small_co.paa"};
	};
	class Exile_Sign_Aircraft_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Aircraft, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Aircraft_Small_co.paa"};
	};
	class Exile_Sign_Armory: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Armory)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Armory_co.paa"};
	};
	class Exile_Sign_Armory_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Armory, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Armory_Small_co.paa"};
	};
	class Exile_Sign_Boat: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Boat)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Boat_co.paa"};
	};
	class Exile_Sign_BoatAndDiving_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Boat and Diving, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Boat_Diving_co.paa"};
	};
	class Exile_Sign_BoatCustoms: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Boat Customs)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_BoatCustoms_co.paa"};
	};
	class Exile_Sign_BoatCustoms_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (BoatCustoms, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_BoatCustoms_Small_co.paa"};
	};
	class Exile_Sign_Boat_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Boat, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Boat_Small_co.paa"};
	};
	class Exile_Sign_Diving_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Diving, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Diving_co.paa"};
	};
	class Exile_Sign_Equipment: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Equipment)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Equipment_co.paa"};
	};
	class Exile_Sign_Equipment_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Equipment, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Equipment_Small_co.paa"};
	};
	class Exile_Sign_Food: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Food)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Food_co.paa"};
	};
	class Exile_Sign_Food_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Food, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Food_Small_co.paa"};
	};
	class Exile_Sign_Foolbox: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Foolbox)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Foolbox_co.paa"};
	};
	class Exile_Sign_Hardware: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Hardware)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Hardware_co.paa"};
	};
	class Exile_Sign_Hardware_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Hardware, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Hardware_Small_co.paa"};
	};
	class Exile_Sign_Hausmann: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Hausmann)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Hausmann_co.paa"};
	};
	class Exile_Sign_Locker: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Locker)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Locker_co.paa"};
	};
	class Exile_Sign_Office: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Office)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Office_co.paa"};
	};
	class Exile_Sign_Office_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Office, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Office_Small_co.paa"};
	};
	class Exile_Sign_RussianRoulette: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Russian Roulette)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_RussianRoulette_co.paa"};
	};
	class Exile_Sign_SpecialOperations: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Special Operations)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_SpecialOperations_co.paa"};
	};
	class Exile_Sign_SpecialOperations_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Special Operations, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_SpecialOperations_Small_co.paa"};
	};
	class Land_Billboard_F;
	class Exile_Sign_TraderCity: Land_Billboard_F
	{
		scope = 2;
		author = "Exile Mod Team";
		displayName = "Exile Sign (Trader City)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_TraderCity_co.paa"};
	};
	class Exile_Sign_VehicleCustoms: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Vehicle Customs)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_VehicleCustoms_co.paa"};
	};
	class Exile_Sign_VehicleCustoms_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Vehicle Customs, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_VehicleCustoms_Small_co.paa"};
	};
	class Exile_Sign_Vehicles: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Vehicles)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Vehicles_co.paa"};
	};
	class Exile_Sign_Vehicles_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Vehicles, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_Vehicles_Small_co.paa"};
	};
	class Exile_Sign_WasteDump: SignAd_Sponsor_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Waste Dump)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_WasteDump_co.paa"};
	};
	class Exile_Sign_WasteDump_Small: SignAd_SponsorS_F
	{
		author = "Exile Mod Team";
		displayName = "Exile Sign (Waste Dump, small)";
		hiddenSelectionsTextures[] = {"exile_assets\model\Exile_Sign_WasteDump_Small_co.paa"};
	};

 

 

  • Like 2

Share this post


Link to post
Share on other sites

Use a custom billboards script. Create JPG images that are 1024x512 with the images you want and place them in your mission pbo. Next, go into the editor and place the signs that are the same size as the trader signs, classname "SignAd_Sponsor_F". Open your initserver.sqf file and delete whatever signs you want to replace. Export the code generated by placing the signs in the editor (be sure to use the Exile Eden plugin). Replace those lines you deleted.

At the bottom of initplayerlocal.sqf, place this line:

[] ExecVM "signs\billboards.sqf";

Create a folder in your mission pbo called "signs" and put this billboards.sqf file:

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

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

_pos = [5376.17, 4830.06, 0];
_object = createVehicle ["SignAd_Sponsor_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 115.697;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "zedtrading.jpg"];
_object allowDamage false;

_pos = [5430.39, 4822.72, 0];
_object = createVehicle ["SignAd_Sponsor_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 291.021;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "zedtrading.jpg"];
_object allowDamage false;

Create as many entries are you need for each sign, using the coordinates and direction from the exported code. Here's what one looks like:

20170202183238_1.jpg

Edited by BetterDeadThanZed
  • Like 2

Share this post


Link to post
Share on other sites
_pos = [5376.17, 4830.06, 0];
_object = createVehicle ["SignAd_Sponsor_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 115.697;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "zedtrading.jpg"];
_object allowDamage false;

Using that format could you explain what each line represents to this line

["SignAd_Sponsor_F",[14633,16811.2,18.035],[[0.711744,0.702439,0],[0,0,1]],[true,false]]

Because this is the output of M3Editor Eden edition.

 

Thanks....

Share this post


Link to post
Share on other sites
On 4/13/2017 at 10:10 PM, AdmiralCrom said:

_pos = [5376.17, 4830.06, 0];
_object = createVehicle ["SignAd_Sponsor_F", _pos, [], 0, "CAN_COLLIDE"];
_object setDir 115.697;
_object setPosATL _pos;
_object setObjectTextureGlobal [0, "zedtrading.jpg"];
_object allowDamage false;

Using that format could you explain what each line represents to this line

["SignAd_Sponsor_F",[14633,16811.2,18.035],[[0.711744,0.702439,0],[0,0,1]],[true,false]]

Because this is the output of M3Editor Eden edition.

 

Thanks....

I am looking at how to do the same, no joy yet :(

Trying to combine this way of doing it and the first one posted

Edited by Razor77

Share this post


Link to post
Share on other sites

Also I found out that if you do exactly as stated in this mod, as of 1.02 exile, each item spawns every time someone else logs into server. Which I guess doesn't do much to a signpost, but when you use it to do items like monitors, that have screens that you can put an image on, they all start being bounced around due to spawning in same location.

So I moved the whole function to initServer.cpp file 

Share this post


Link to post
Share on other sites
On 4/17/2017 at 0:40 AM, AdmiralCrom said:

Also I found out that if you do exactly as stated in this mod, as of 1.02 exile, each item spawns every time someone else logs into server. Which I guess doesn't do much to a signpost, but when you use it to do items like monitors, that have screens that you can put an image on, they all start being bounced around due to spawning in same location.

So I moved the whole function to initServer.cpp file 

That's happening because you're running the script from initPlayerLocal. All scenery needs to added via initServer.

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.