Boba Fetish
New Member
So, I am just failing at adding this custom Billboard.
Image size, 512x512, put in root folder of mission pbo, as well as via script.
object placed via editor:
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [3420.4092, 3530.8779], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -97.567596;
_this setPos [3420.4092, 3530.8779];
_this setVehicleInit "this setObjectTexture [0,""testimage.jpg""]";
};
Placed at bottom of server functions:
[] execVM "\z\addons\dayz_server\addons\FSign\FSign.sqf";
Fsign.sqf
/*
File Name: FSign.sqf
File Created: 2/9/2014
File Version: 1.0
File Author: Foamy
File Last Edit Date: 2/9/2014
File Description: Adds "Sign" Objects to world.
*/
// Add Signs Below this Line
// Sign Location <--- change to your loc
_this = createVehicle ["WarfareBunkerSign", [3420.4092, 3530.8779], [], 0, "CAN_COLLIDE"];
_sign1 = _this;
_this setDir -97.567596;
_this setVehicleInit "this SetObjectTexture [0,""addons\Images\FSign\testimage.jpg""]";
_this setPos [3420.4092, 3530.8779];
Image placed in folder accordingly.
Image size, 512x512, put in root folder of mission pbo, as well as via script.
object placed via editor:
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["WarfareBunkerSign", [3420.4092, 3530.8779], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -97.567596;
_this setPos [3420.4092, 3530.8779];
_this setVehicleInit "this setObjectTexture [0,""testimage.jpg""]";
};
Placed at bottom of server functions:
[] execVM "\z\addons\dayz_server\addons\FSign\FSign.sqf";
Fsign.sqf
/*
File Name: FSign.sqf
File Created: 2/9/2014
File Version: 1.0
File Author: Foamy
File Last Edit Date: 2/9/2014
File Description: Adds "Sign" Objects to world.
*/
// Add Signs Below this Line
// Sign Location <--- change to your loc
_this = createVehicle ["WarfareBunkerSign", [3420.4092, 3530.8779], [], 0, "CAN_COLLIDE"];
_sign1 = _this;
_this setDir -97.567596;
_this setVehicleInit "this SetObjectTexture [0,""addons\Images\FSign\testimage.jpg""]";
_this setPos [3420.4092, 3530.8779];
Image placed in folder accordingly.