Jump to content
Halvhjearne

Painshop ... paint/set custom textures on Backpack, Uniforms and vehicles.

Recommended Posts

@Halv, Hi, i was just wondering if it is possible to add a billboard to fit in the woodwork on top of the service building see below

 

http://images.akamai.steamusercontent.com/ugc/450708155973077317/E09B7A7EDA13A7476397DC42CBD8B11C219EA399/

 

I was thinking something like " Halve's Repair, Rearm and Paintshop"

 

Simon

 

it is actually not very hard to do, but its kindof a lot of billboards to spawn around the world imho ... i have a marker on each and it counts 28 service stations on altis map.

 

that would result in 28 billboards if i was to add one for each building, but i like the idea ... i might make it happend as an option, if someone make a good picture that does not fillup a lot of space in the missions.

Share this post


Link to post
Share on other sites

Having /* Remove Actions Plr */ _OAP = false; allows hackers to use scroll menu's.

 

if you dont have it false, you wont be able to use scroll actions ... you can blame infistar for not makeing a whitelist array for his a3 version.

 

also scroll menus are usually based on commanding menus, wich im not allowing ..

Share this post


Link to post
Share on other sites

Halv one question: The servername which has to be changed: Where does it show up? In menu of paintshop? Are spaces allowed? Does it has to match the real server name which is shown in launcher or ingame browser?

 

Think this is just written in menu so if somebody sees a screen or video it should be your name. Am i right?

 

Thank you

Share this post


Link to post
Share on other sites

Halv one question: The servername which has to be changed: Where does it show up? In menu of paintshop? Are spaces allowed? Does it has to match the real server name which is shown in launcher or ingame browser?

 

Think this is just written in menu so if somebody sees a screen or video it should be your name. Am i right?

 

Thank you

 

it does not really matter much what its called, but no spaces or specialchars allowed.

 

basicly it is to prevent players setting a texture on one server and then jumping to another wich does not have that texture and then possibly causing a serverwide error message not to metion the player will possibly turn partly or completly invisible when setting a texture that does not exsist.

 

if you have multiple servers with same skins on each i suggest you use the same name for both as the players will then have the selected colour(s) on all the servers.

Share this post


Link to post
Share on other sites

Mmmh. Followed the instructions on page one. Also the infistar checks are disabled (since today i installed infi) but the menu does not show up. Should it appear like ther rearm/repair thing or is there another trigger?

Share this post


Link to post
Share on other sites

Mmmh. Followed the instructions on page one. Also the infistar checks are disabled (since today i installed infi) but the menu does not show up. Should it appear like ther rearm/repair thing or is there another trigger?

 

by default its the same building i used for service stations, its the garage near the gasstations.

 

you need to get near it then get out of any vehicle you might be in and you will get scroll options to paint vehicles near and your uniform+backpack.

Share this post


Link to post
Share on other sites

This are the buildings with glass front and jack inside to lift vehicles up? Dont get the option. Here my files:

 

init.sqf

 


// Logo
[] execVM "images\logo.sqf";
[] execVM "addons\OX3_GetInProtect.sqf";

if (isServer) then {
    execVM "\q\addons\traderATMs\init.sqf";
};
/////////////////////////////////////////////////////////////// Earplugs for vehicles
call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";

/////////////////////////////////////////////////////////////// Custom Spawn selection
[] execVM "addons\halv_spawn\init.sqf";

/////////////////////////////////////////////////////////////// Control the epoch ai limit per player
// 1. Cultist, 2. Shark, 3. Sapper regular, 4. Super Sapper, 5. Drone, 6. Invisible Phantom, 7. Transport Heli
EPOCH_spawnLimits = [2, 1, 4, 0, 0, 0, 1];

// Mission script
if(hasInterface) then {
execVM "semClient.sqf";
[] execVM "addons\service_point\service_point.sqf";
[] execVM "addons\halo\halo_out.sqf";
[] execVM "addons\paintshop\paintshop.sqf";
};

[] execVM "trader\init.sqf";
[] execVM "trader\HALV_takegive_crypto_init.sqf";
[] execVM "trader\resetvehicleammo.sqf";
[] execVM "effect.sqf";
[] execVM "addons\messages\init.sqf";
[] execVM "briefing.sqf";

 

 

description.ext (only the beginning)

#include "infiSTAR_AdminMenu.hpp"
#include "addons\halv_spawn\spawndialog.hpp"
#include "trader\tradedialog.hpp"
#include "trader\HSPricing.hpp"
#include "addons\paintshop\paintshop.hpp"

I whitelisted 6666 menu and disabled those two checks but i get no mouse wheel or other option for that. Rearm/repair works fine

Share this post


Link to post
Share on other sites

This are the buildings with glass front and jack inside to lift vehicles up? Dont get the option. Here my files:

 

init.sqf

 

// Logo

[] execVM "images\logo.sqf";

[] execVM "addons\OX3_GetInProtect.sqf";

if (isServer) then {

    execVM "\q\addons\traderATMs\init.sqf";

};

/////////////////////////////////////////////////////////////// Earplugs for vehicles

call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";

/////////////////////////////////////////////////////////////// Custom Spawn selection

[] execVM "addons\halv_spawn\init.sqf";

/////////////////////////////////////////////////////////////// Control the epoch ai limit per player

// 1. Cultist, 2. Shark, 3. Sapper regular, 4. Super Sapper, 5. Drone, 6. Invisible Phantom, 7. Transport Heli

EPOCH_spawnLimits = [2, 1, 4, 0, 0, 0, 1];

// Mission script

if(hasInterface) then {

execVM "semClient.sqf";

[] execVM "addons\service_point\service_point.sqf";

[] execVM "addons\halo\halo_out.sqf";

[] execVM "addons\paintshop\paintshop.sqf";

};

[] execVM "trader\init.sqf";

[] execVM "trader\HALV_takegive_crypto_init.sqf";

[] execVM "trader\resetvehicleammo.sqf";

[] execVM "effect.sqf";

[] execVM "addons\messages\init.sqf";

[] execVM "briefing.sqf";

 

 

description.ext (only the beginning)

#include "infiSTAR_AdminMenu.hpp"
#include "addons\halv_spawn\spawndialog.hpp"
#include "trader\tradedialog.hpp"
#include "trader\HSPricing.hpp"
#include "addons\paintshop\paintshop.hpp"

I whitelisted 6666 menu and disabled those two checks but i get no mouse wheel or other option for that. Rearm/repair works fine

 

does it work for you as admin?

 

if not do you have any rpt errors clientside then?

 

again you cannot be inside the vehicle, you need to be on foot for the scroll actions to show up.

Share this post


Link to post
Share on other sites

Yeah i tried that. No errors in rpt log. Maybe the order of executing the script in init.sqf or in description.ext?

16:17:38 "<infiSTAR.de FNC_AH218_KICKLOGSPAWN> ["u0zu6iex5xblksl3c",["[pXk] Flow","76561197973438955","ALOG",[115,112,97,119,110,105,110,103,32,72,117,110,116,101,114,32,40,66,95,77,82,65,80,95,48,49,95,69,80,79,67,72,41]]]"
16:17:38 "<infiSTAR.de>AdminLog| 1h 17min | [pXk] Flow(xxxx) | spawning Hunter (B_MRAP_01_EPOCH) (v0206)"
16:17:44 "SERVER-FPS: 45.4545 | PLAYER ONLINE: 6 | No need to clean up"
16:17:48 "<infiSTAR.de FNC_AH218_KICKLOGSPAWN> ["u0zu6iex5xblksl3c",["[pXk] Flow","76561197973438955","ALOG",[84,101,108,101,112,111,114,116,32,116,111,32,91,49,54,55,52,49,46,55,44,49,50,53,50,49,46,53,44,48,93,40,71,80,83,58,32,49,54,55,49,50,53,41]]]"
16:17:48 "<infiSTAR.de>AdminLog| 1h 17min | [pXk] Flow(xxxx) | Teleport to [16741.7,12521.5,0](GPS: 167125) (v0206)"
16:18:44 "SERVER-FPS: 45.584 | PLAYER ONLINE: 7 | No need to clean up"
16:19:29 "<infiSTAR.de FNC_AH218_KICKLOGSPAWN> ["u0zu6iex5xblksl3c",["[pXk] Flow","76561197973438955","ALOG",[115,112,97,119,110,105,110,103,32,73,102,114,105,116,45,72,77,71,32,40,79,95,77,82,65,80,95,48,50,95,104,109,103,95,70,41]]]"
16:19:29 "<infiSTAR.de>AdminLog| 1h 19min | [pXk] Flow(xxxx) | spawning Ifrit-HMG (O_MRAP_02_hmg_F) (v0206)"
16:19:44 "SERVER-FPS: 45.8453 | PLAYER ONLINE: 7 | No need to clean up"

Share this post


Link to post
Share on other sites

 

Yeah i tried that. No errors in rpt log. Maybe the order of executing the script in init.sqf or in description.ext?

16:17:38 "<infiSTAR.de FNC_AH218_KICKLOGSPAWN> ["u0zu6iex5xblksl3c",["[pXk] Flow","76561197973438955","ALOG",[115,112,97,119,110,105,110,103,32,72,117,110,116,101,114,32,40,66,95,77,82,65,80,95,48,49,95,69,80,79,67,72,41]]]"
16:17:38 "<infiSTAR.de>AdminLog| 1h 17min | [pXk] Flow(xxxx) | spawning Hunter (B_MRAP_01_EPOCH) (v0206)"
16:17:44 "SERVER-FPS: 45.4545 | PLAYER ONLINE: 6 | No need to clean up"
16:17:48 "<infiSTAR.de FNC_AH218_KICKLOGSPAWN> ["u0zu6iex5xblksl3c",["[pXk] Flow","76561197973438955","ALOG",[84,101,108,101,112,111,114,116,32,116,111,32,91,49,54,55,52,49,46,55,44,49,50,53,50,49,46,53,44,48,93,40,71,80,83,58,32,49,54,55,49,50,53,41]]]"
16:17:48 "<infiSTAR.de>AdminLog| 1h 17min | [pXk] Flow(xxxx) | Teleport to [16741.7,12521.5,0](GPS: 167125) (v0206)"
16:18:44 "SERVER-FPS: 45.584 | PLAYER ONLINE: 7 | No need to clean up"
16:19:29 "<infiSTAR.de FNC_AH218_KICKLOGSPAWN> ["u0zu6iex5xblksl3c",["[pXk] Flow","76561197973438955","ALOG",[115,112,97,119,110,105,110,103,32,73,102,114,105,116,45,72,77,71,32,40,79,95,77,82,65,80,95,48,50,95,104,109,103,95,70,41]]]"
16:19:29 "<infiSTAR.de>AdminLog| 1h 19min | [pXk] Flow(xxxx) | spawning Ifrit-HMG (O_MRAP_02_hmg_F) (v0206)"
16:19:44 "SERVER-FPS: 45.8453 | PLAYER ONLINE: 7 | No need to clean up"

 

you need to look in clientside rpt to find errors for this, nothing is logged on the server in this script.

 

and yes its possibly something to do with the order of wich you have stuff in the init, but who knows, i think its more possible that you changed something in the sttings and messed up the array, so it does not start at all.

Share this post


Link to post
Share on other sites

Oooouch :) One day i will get that with client side RPT :D Indeed i think it is because last line of settings had a comma. I commented out your textures and forgot to remove the last comma. Thank you again :) Will see the next restart if it  works

 

EDIT:  yes it works now :)

Share this post


Link to post
Share on other sites

Hello Halv,

 

Thanks for your script. It works so far, but there is one Problem.

After Server-Restart all painted Cars or Helicopter are in normal paint. No paintings saved !? 

Is that correct ?

Share this post


Link to post
Share on other sites

Hello Halv,

 

Thanks for your script. It works so far, but there is one Problem.

After Server-Restart all painted Cars or Helicopter are in normal paint. No paintings saved !? 

Is that correct ?

 

yes this is correct, only players uniform and backpack colours are saved.

Share this post


Link to post
Share on other sites

IMPORTANT FOR THIS UPDATE:

 

the resource file have been update and i have added a "shared" Halv_defines.hpp!

 

this "shared" Halv_defines will be universal for most of what i will make from now on and is only needed once in your mission and will therefore save some space and resouces alltogether.

 

however,

if you have already have this file and add another, your server WILL fail to load, so ONLY add this file once.

 

if you use other of my mods that has this file, it can be safely ignored and deleted from either as long as it is loaded once.

Share this post


Link to post
Share on other sites

Ok so last night someone came to my ts just to ask me if he could donate to use my paintshop...

<snip>

Regards

Halv

Haven't tried this but this is the exact thing we were after in A2 era. Excellent job sharing with the community! keep it up.

Share this post


Link to post
Share on other sites

Hi Guys, Dont know if someone can throw some light on my problem. It is not directly to do with this script but it has happened on 2 scripts now that I try to add. What happens is I install the script as per instructions and then restart the server and get instantly kicked via Script restriction #21:

See below:

 

19.07.2015 10:27:40: MegaZ (82.44.149.191:2304) 0b1dc4a7582eb8258e82c8505c644b6a - #21 "sions\__CUR_MP.Altis\init.sqf"
;

if (hasInterface) then{

[] execVM "addons\paintshop\paintshop.sqf";
"VEMFChatMsg" addPublicVa"

 

i get a simular error when tying to install a safezone script too-

 

19.07.2015 18:01:48: MegaZ (82.44.149.191:2304) 0b1dc4a7582eb8258e82c8505c644b6a - #21 "'"]
]
] spawn BIS_fnc_typeText2;
VEMFChatMsg = nil;
};
};

[] execVM "scripts\safezone.sqf";"

 

I must be doing something wrong but can see what?

 

Here is what I have in my init.sqf

 

//DZAI -------------------------------
#include "A3EAI_Client\A3EAI_initclient.sqf";

if (hasInterface) then

[] execVM "addons\paintshop\paintshop.sqf";
{
"VEMFChatMsg" addPublicVariableEventHandler
{
  systemChat ((_this select 1) select 0);
  [
   [
    [((_this select 1) select 0),"align = 'center' size = '1' font=PuristaBold'],
    ["","<br/>"],
    [((_this select 1) select 1),"align = 'center' size = '0.5'"]
   ]
  ] spawn BIS_fnc_typeText2;
  VEMFChatMsg = nil;
};
};

 also tried:

 

//DZAI -------------------------------
#include "A3EAI_Client\A3EAI_initclient.sqf";

if (hasInterface) then
{
"VEMFChatMsg" addPublicVariableEventHandler
{
  systemChat ((_this select 1) select 0);
  [
   [
    [((_this select 1) select 0),"align = 'center' size = '1' font=PuristaBold'],
    ["","<br/>"],
    [((_this select 1) select 1),"align = 'center' size = '0.5'"]
   ]
  ] spawn BIS_fnc_typeText2;
  VEMFChatMsg = nil;
};
};

 

if(hasInterface)then{execVM "addons\paintshop\paintshop.sqf"};

any help would be appreciated and thanks for releasing these mods

I have only have these installed AH-infastar - Zupa Hud Builder - and A3EAI

MegaZ

Share this post


Link to post
Share on other sites

check yours BE filters..

Hi Thanks, I sure it is some be filter problem but what do I need to add as the server runs fine without the paint or safezone script adding ( I get no kick from server) so the only thing new added in the Scripts log is  execVM "addons\paintshop\paintshop.sqf";  would this need to be added, as this is just the path to the script right?  I didnt know you should or can add  the path to .sqf files to the filters ?

So anyone who has installed this have you added any thing to your BE filters ? (running infastar AH)

Im at a  loss

thanks

MegaZ

 

Ok sorted this by adding:

!=execVM "addons\paintshop\paintshop.sqf;"       to the 7 exec line in Scripts text

Share this post


Link to post
Share on other sites

Any chance you can upload the skin for the Ghost Hawk Halv ? ["Shark Teeths","custom\shark.jpg"]

 

maybe at some point, who knows ... but wouldnt you rather have some that was unique to your server instead?

 

 

Hi Thanks, I sure it is some be filter problem but what do I need to add as the server runs fine without the paint or safezone script adding ( I get no kick from server) so the only thing new added in the Scripts log is  execVM "addons\paintshop\paintshop.sqf";  would this need to be added, as this is just the path to the script right?  I didnt know you should or can add  the path to .sqf files to the filters ?

So anyone who has installed this have you added any thing to your BE filters ? (running infastar AH)

Im at a  loss

thanks

MegaZ

 

Ok sorted this by adding:

!=execVM "addons\paintshop\paintshop.sqf;"       to the 7 exec line in Scripts text

 

sorry, but i dont do be filters, or i wouldnt be able to write a line of code without getting constantly kicked or banned ... i dont have time for that, sorry.

 

however there is usually helpful ppl around that post the filters in the thread somewhere, if you flip through some pages.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By 2DayZ2Retirement
      -PROBLEM SOLVED-
       
      G'day, Survivors.
      I am having an issue on my server where vehicles which spawn randomly around the map repair themselves upon server restart.
      I use this config in my init.sqf which successfully spawns the vehicles in damaged and with low fuel...
      DynamicVehicleDamageLow = 75;
      DynamicVehicleDamageHigh = 100;
      DynamicVehicleFuelLow = 0;
      DynamicVehicleFuelHigh = 25;
      ...However upon each server restart the vehicles repair themselves (the fuel remains low however) and for the life of me I can't figure out why this is happening. 
      DayZ Version -DayZ Epoch 1.0.6.2
      Scripts Used -DZAI | -DZMS | -Right Click Actions (Suicide, Smoke Drugs, GPS Scan)
      AntiHack - InfiSTAR
      Server Host - GTXGaming
      My HiveEXT.log and arma2oaserver.RPT logs are not showing anything out of the ordinary.
      I'm not sure if it matter, but all Planes/Helicopters and Boats have been removed from the server via the dynamic_vehicle.sqf.
      In addition, all of the traders and trader cities being removed by removing the call for the CfgServerTrader.hpp in the description.ext.
      If there is any other info I can show to assist in fixing this problem please let me know, any help would be greatly appreciated.
      Cheers.
    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      Find
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By calinova22
      How would I go about adding custom vehicles to my server? I want to have an F35B with no weapons. I know how to remove the weapons, just cant find the file for the jet itself to edit.
    • By iben
      Hello guys,
      do you remember old "Paint vehicles" script? Let's look back to idea fathers:
      ===
      CREDITS:
      All credits goes to its original authors:
      DayZ Epoch developers, collaborators and contributors (thank you guys for your excellent work!) (visit them on github)
      Maca134 for orginal color vehicle script.
      @Zupa for the idea of painting vehicles in two different colors.
      @0verHeaT for script public release - this version we are updating for 1.0.6.1+ (see original thread)
      @raymix for list of paintable vehicles for this script (see original thread)
      ---
      Special Thank you goes to @DAmNRelentless for taking care of Github repo.
       ===
      This script was updated for Epoch 1.0.6.2 and upgraded.
      ===
      FEATURES:
      Vehicles can be painted in two different colors Only vehicles which you own can be painted (vehicles with key) Only vehicles in ColourVehicles array can be painted Script is designed to be used along with Single currency. Player will pay for painting vehicles. UPDATED: Color values are saved in the worldspace field in database NEW: Vehicles can be unpainted to default state (default textures are loaded) UPDATED: Vehicles can be painted using GUI with visual enhancements. Use PaintVehicles defines.hpp for defining custom GUI color scheme UPDATED: Script is now fully compatible with Virtual Garage and Vehicle Key Changer (VKC) script thanks to @salival (2017-08-22).
      All scripts by @salival and this one prior update date should be upgraded to get much better player experience! UPDATED: for Epoch 1.0.6.2 ===
      Changelog:
      [2017-05-22], v1.0 | Initial release [2017-05-25], v1.1 | Optimized compiles: 5 files reduced to 1. See changes: [commit  ae29c13] [2017-08-20], v1.2 | Regular code maintenance. See changes: [commit 682f99a] and [commit 7cd8fce] [2017-10-23], v1.3 | Roll back to full version of player_forceSave (uniCoins fix: Issue not related to script itself). [2017-12-04], v1.4 | Safer manipulation with data sending to server. Basic defines fix - from sqf to hpp.  See changes: [commit 2735dea] [2017-29-04], v1.5 | Update for Epoch 1.0.6.2 [2017-29-04], v1.5.1 | FIX: fn_selfAction path (thx @hooty): [commit 38fe105] ===
      How it looks like:

      === database screenshot

      ===
      MiniShowcase
      ===
      How to install:
      We are not using common way how is script included to current folder structure (like grab whole folder and put it to the root of mission folder) - 
      that's why read carefully, use repo folder structure (or similar) and compare tool like diffmerge! If you have troubles, just ask here or send me PM.
      Source files are available at Github repo. You can download them from here.
      For client side we need these folders in the root of your 'MPMissions\Dayz_Epoch_11.Chernarus' folder:
      actions: we will store file with scroll action menu command Paint vehicle here compile: we will store core script client files here Configs: we will store defines && dialog config files for script GUI here gui:  we will store your "Money" or "Coins" picture here (Change path inside: `dayz_code\compile\player_paintVehicle.sqf`) init: we will load all compiles and variables from here ... and finaly files:
      description.ext: we will load your defines and dialogs from here via master.hpp init.sqf: we will load your custom compiles and variables from here For server side (dayz_server) we need to touch these files:
      compiles\paintVehicles  (copy whole folder to compiles) compiles\server_updateObject.sqf system\server_monitor.sqf init\server_functions.sqf (compile init.sqf) ===
      Battleye
      // Add an exception to publicvariable.txt !="PVDZE_veh_Color" ===
      infiSTAR
      // Add an exception to allowed dialogs 571113 ===
      ...that's all, Have Fun!!
      Cheers...
      ===
    • By Irradiated Beef
      Howdy folks, sorry to ask what should be an obvious and easy thing, but my searches over the last two days haven't found me a current answer.
      Apparently in the older versions of Epoch, you would add vehicles by editing the allowedvehicleslist,  however that seems to have changed in later versions, as the list is no longer there. I found some documents that state it's in the mission.pbo, some that state it's in the epochconfig.hpp (there's a reference to it but no actual list), and some that state it should be somewhere else in the epoch_server_settings, but I've come up completely blank.
      Does anyone happen to know where this is in the current (Epoch 1.0) release? 
      Considering most documentation I'm finding is several years old, I can only assume I'm looking in the wrong places. :( 
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...