Sli Posted April 27, 2014 Report Share Posted April 27, 2014 Hey guys. I made these signs for a server I play on and they've had some good feedback so I thought i'd post them up here if people want to use them on other servers too. They are designed to go on the outside of safe-zoned traders to warn players of the rules as they enter. It helps keep the immersion that you lose through a chat channel message. I have a small imgur album here with various sizes depending on file-size needed to keep your mission file small. You'll want to convert them to .paa or .jpg depending on what is your preferred method of adding it as a texture. My only condition of use is that you include my forum name (Sli) as attribution and don't claim it as your own. Other than that, let me know what you think! Edit: Accidentally posted this here rather than under the server mods corner, it probably makes more sense there right? CartoonrBOY and axeman 2 Link to comment Share on other sites More sharing options...
StiflersM0M Posted April 27, 2014 Report Share Posted April 27, 2014 can you post a small tut how i add them :P or a link :D ? ty btw. looks really nice :) Link to comment Share on other sites More sharing options...
Sli Posted April 27, 2014 Author Report Share Posted April 27, 2014 Hey, I don't have much experience with how server side scripting is structured, but you'll need to place these signs manually in the editor (or via code triggered in init.sqf when the server starts). I have been using a sign with the class name SignM_UN_Base_EP1. Then add... this setObjectTexture [0, "texture.jpg"]; ...to the "init" expression on the object, where "texture.jpg" is the file name for the image placed in the main directory of your scripts. I've used the .jpg as an example just because that's the only compressed version i've provided (100kb each). Obviously if you convert to .paa or use a different name you'll want to update that. If anyone can explain this better, or has a link to a more thorough tutorial, please link it. Link to comment Share on other sites More sharing options...
MjrEyesWater Posted April 28, 2014 Report Share Posted April 28, 2014 Great looking signs, Ive been trying to add custom signs to my server but all of the videos ive seen on how to do it are using a different version editor than the one i have. Ill have a go with your ones and let you know Keep up the good work. Link to comment Share on other sites More sharing options...
MjrEyesWater Posted April 28, 2014 Report Share Posted April 28, 2014 ok so ive got it to work in the editor, im a bit confised as to where i put the .jpeg and how it links to the sign? Link to comment Share on other sites More sharing options...
Defent Posted April 28, 2014 Report Share Posted April 28, 2014 the image file goes in to your mission folder Link to comment Share on other sites More sharing options...
MjrEyesWater Posted April 28, 2014 Report Share Posted April 28, 2014 yeap got it to work. many thanks Link to comment Share on other sites More sharing options...
Sli Posted May 2, 2014 Author Report Share Posted May 2, 2014 On 4/28/2014 at 5:30 PM, MjrEyesWater said: yeap got it to work. many thanks No worries! Glad to hear they are getting some use. Link to comment Share on other sites More sharing options...
Mrthuglink Posted May 2, 2014 Report Share Posted May 2, 2014 These are great man!If you don't mind me asking,Could I hire you to make us a loading screen? Link to comment Share on other sites More sharing options...
calamity Posted May 2, 2014 Report Share Posted May 2, 2014 thankz for these pics.... Link to comment Share on other sites More sharing options...
STENCHOVDETH Posted May 3, 2014 Report Share Posted May 3, 2014 Very Nice Work :lol: Straight into my servers. Link to comment Share on other sites More sharing options...
insertcoins Posted May 3, 2014 Report Share Posted May 3, 2014 what size should be used for flags? Link to comment Share on other sites More sharing options...
Genesis Posted May 3, 2014 Report Share Posted May 3, 2014 any tuts on how to install this? Link to comment Share on other sites More sharing options...
insertcoins Posted May 3, 2014 Report Share Posted May 3, 2014 place a billboard in the editor, in the init line place: this setObjectTexture [0, "yourpicturename.jpg"]; Link to comment Share on other sites More sharing options...
Mochan Posted May 3, 2014 Report Share Posted May 3, 2014 place a billboard in the editor, in the init line place: this setObjectTexture [0, "yourpicturename.jpg"]; Wheres billboard in the editor? and where do you call this in init? Link to comment Share on other sites More sharing options...
Firecock Posted May 3, 2014 Report Share Posted May 3, 2014 I used this tutorial provided in post #10 http://opendayz.net/threads/custom-texture-on-a-board.18357/ I needed to resize the image to 512x512 to get it to work. Hopefully I can get it to work on the billboards. Link to comment Share on other sites More sharing options...
Bob_the_K Posted November 22, 2014 Report Share Posted November 22, 2014 I just found this and want to put some signs in.... I cannot seem to get it to work though. The code in my mission.swf is: _unit_175 = objNull; if (true) then { _this = createVehicle ["WarfareBunkerSign", [11689.864, 15203.046, -1.0456803], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir 23.513571; _this setVehicleInit "this SetObjectTexture [0,""scripts\signs\warning100kb.jpg""]"; _this setPos [11689.864, 15203.046, -1.0456803]; }; I've also tried other signs besides "WarefareBunkerSign". Nothing appears, not even the default sign. And no errors or warnings in either the server side or client side .rpt logs. This is just one entry in a much larger file. Do the _unit_XXX need to be consecutive? Because they are not on my server. And what is the significance of the number on the _vehicle_XX ? I have a number of other _vehicle_xx and some have duplicate numbers and some do not. I cannot see any rationale for when they should be the same vs not. I'm running an Epoch/Overwatch/Origins server and everything else in my mission.sqf (custom traders) appears in-game. What am I missing? Thanks, Bob Link to comment Share on other sites More sharing options...
Sandbird Posted November 22, 2014 Report Share Posted November 22, 2014 1st of all is the scripts\signs\warning100kb.jpg inside your server and mission pbo fles? Thats where i have mine...and here is how i load it. _vehicle_4 = objNull; if (true) then { _this = createVehicle ["SignM_FARP_Winchester_EP1", [15302.972, 9286.2441, 4.2915344e-005], [], 0, "CAN_COLLIDE"]; _vehicle_4 = _this; _this setDir -179.87433; _this setVehicleInit "this setObjectTexture [0,""custom\sign.jpg""];"; _this setPos [15302.972, 9286.2441, 4.2915344e-005]; }; Link to comment Share on other sites More sharing options...
Bob_the_K Posted November 22, 2014 Report Share Posted November 22, 2014 I actually tried the texture file in three different places... The root of dayz_server.pbo (at the same level as the /compile, /init, /system folders) In the dayz_server.pbo/missions folder (where all the DayZ_Epoch_x instances are) In the dayz_server.pbo/missions/DayZ_Epoch_13.Tavi folder (since that's the one I'm using) It never found the file in any of those places. I just kept getting the message that the .jpg couldn't be found. Thanks, Bob Link to comment Share on other sites More sharing options...
Fully Posted November 22, 2014 Report Share Posted November 22, 2014 I just found this and want to put some signs in.... I cannot seem to get it to work though. The code in my mission.swf is: _unit_175 = objNull; if (true) then { _this = createVehicle ["WarfareBunkerSign", [11689.864, 15203.046, -1.0456803], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir 23.513571; _this setVehicleInit "this SetObjectTexture [0,""scripts\signs\warning100kb.jpg""]"; _this setPos [11689.864, 15203.046, -1.0456803]; }; I've also tried other signs besides "WarefareBunkerSign". Nothing appears, not even the default sign. And no errors or warnings in either the server side or client side .rpt logs. This is just one entry in a much larger file. Do the _unit_XXX need to be consecutive? Because they are not on my server. And what is the significance of the number on the _vehicle_XX ? I have a number of other _vehicle_xx and some have duplicate numbers and some do not. I cannot see any rationale for when they should be the same vs not. I'm running an Epoch/Overwatch/Origins server and everything else in my mission.sqf (custom traders) appears in-game. What am I missing? Thanks, Bob Should be _vehicle_50 = objNull; if (true) then { _this = createVehicle ["WarfareBunkerSign", [11689.864, 15203.046, -1.0456803], [], 0, "CAN_COLLIDE"]; _vehicle_50 = _this; _this setDir 23.513571; _this setVehicleInit "this SetObjectTexture [0,""scripts\signs\warning100kb.jpg""]"; _this setPos [11689.864, 15203.046, -1.0456803]; }; I actually tried the texture file in three different places... The root of dayz_server.pbo (at the same level as the /compile, /init, /system folders) In the dayz_server.pbo/missions folder (where all the DayZ_Epoch_x instances are) In the dayz_server.pbo/missions/DayZ_Epoch_13.Tavi folder (since that's the one I'm using) It never found the file in any of those places. I just kept getting the message that the .jpg couldn't be found. Thanks, Bob The images goes into the MPMission folder =) DayZ_Epoch_13.Tavi\scripts\signs folder =) Link to comment Share on other sites More sharing options...
Sandbird Posted November 22, 2014 Report Share Posted November 22, 2014 but if you have the object in your server...then do the same in the dayz_server files...or you'll get an error from there as well. i have in both dayz_server and mission.pbo a folder called custom and inside i have the same jpg file...so when i load it like custom\texture.jpg (cause the object is made in missions.sqf inside dayz_server) i get no errors Link to comment Share on other sites More sharing options...
Tang0 Posted November 23, 2014 Report Share Posted November 23, 2014 works a treat thnx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now