Jump to content
Halvhjearne

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

Recommended Posts

Question, I noticed this addon requires me to edit a file that's already in my mission folder. If i do a little copy-pasta over the thing will it effect any of the other addons i have? I guess something i already have in my server runs on the same file.

 

Im looking right now and i see no difference between the two files. Is it the same for all of the halv mods? Or am i missing something small and just not seeing it?

 

Thanks guys.

Share this post


Link to post
Share on other sites

Question, I noticed this addon requires me to edit a file that's already in my mission folder. If i do a little copy-pasta over the thing will it effect any of the other addons i have? I guess something i already have in my server runs on the same file.

 

Im looking right now and i see no difference between the two files. Is it the same for all of the halv mods? Or am i missing something small and just not seeing it?

 

Thanks guys.

 

it would help if you specify what you mean, i dont feel like playing 20 questions to find out what files you are talking about ...

Share this post


Link to post
Share on other sites

it would help if you specify what you mean, i dont feel like playing 20 questions to find out what files you are talking about ...

Halv_Defines.hpp

 

it seems to already exist and is identical to the one in your github.

 

However, I dont have this addon on my server. I believe I just have a simple safezone script by you.... or an intro message.. i forgot which one was yours.

Share this post


Link to post
Share on other sites

hi, what image size is optimal for custom textures?

 

it dosnt really matter much, but personally i try to keep then as rectangles.

 

 

Halv_Defines.hpp

 

it seems to already exist and is identical to the one in your github.

 

However, I dont have this addon on my server. I believe I just have a simple safezone script by you.... or an intro message.. i forgot which one was yours.

 

my guess is you have some other mod i created, if you have this file already it is not needed again.

Share this post


Link to post
Share on other sites

Hello Halv.  Love all of your scripts. I saw in your Taru Pods script post that you use r3f.  I use the Epoch modded version found on this site and have an issue when i paint a vehicle; it loses the ability to tow or be towed.  Even if switch back to default.  I may have missed a solution in a previous post but search may have failed me.

Share this post


Link to post
Share on other sites

Hello Halv.  Love all of your scripts. I saw in your Taru Pods script post that you use r3f.  I use the Epoch modded version found on this site and have an issue when i paint a vehicle; it loses the ability to tow or be towed.  Even if switch back to default.  I may have missed a solution in a previous post but search may have failed me.

 

i never heard about this before.

 

my guess is you can relog and it works again ... are you using the earplug script by computermancer?

Share this post


Link to post
Share on other sites

 ... are you using the earplug script by computermancer?

 

Yes i am.  Init copy below

 

// Black Eagle Missions

#include "start_blck.sqf";

// Black Market Traders

[] execVM "trader\init.sqf";

[] execVM "trader\HALV_takegive_crypto_init.sqf";

[] execVM "trader\resetvehicleammo.sqf";

// Briefing Script by Suppe

[] execVM "Custom\briefing.sqf";

// cmEARPLUGS

call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";

// R3F_Logistics EPOCH

[] execVM "R3F_LOG\init.sqf";

// Welcome Credits by Gr8

//[] execVM "custom\welcome.sqf";

// Status Bar and Paintshop

if (hasInterface) then{

[] execVM "addons\Status_Bar\init_statusBar.sqf";

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

};

// Spawn Point ATMs

if (isServer) then {

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

};

// Supply Drop Alert Event

//"SDROP_Alert" addPublicVariableEventHandler {

//hint parseText format["%1", _this select 1];

//};

// Taru pods

[] execVM "addons\taru_pods\taru_init.sqf";

Share this post


Link to post
Share on other sites

Halv are vehilce paintings now persitent with the official version?

 

Do you have to call in @epochhive for file paintshop_serveraddon.sqf via a custom launch pbo like for map addons? e.g. the one from maca's 3d editor or can it be called from mission pbo file?

 

Thanks

Share this post


Link to post
Share on other sites

Halv are vehilce paintings now persitent with the official version?

 

Do you have to call in @epochhive for file paintshop_serveraddon.sqf via a custom launch pbo like for map addons? e.g. the one from maca's 3d editor or can it be called from mission pbo file?

 

Thanks

 

its for future additions ...

 

i have it working on my own server, but i cannot currently post it cause it requires edit in the server file that spawns in the vehicles after restarts.

but epoch devs specifically says not to rely on edits like this in the default epoch server files, sorry.

 

however i belive awol was going to implement a similar method when spawning vehicles from the server, so my guess is it will be possible in the near future.

Share this post


Link to post
Share on other sites

So i should not implement it as it is on your github? restart is in 2 minutes... aaaaaaaaaaaah

 

it wont work yet, unless you do other edits aswell

you should definitely NOT execute the addition in your init yet as i will save vehicles to the database with ["VEHICLE_TEXTURE",666] wich will most likely fail, if you have not done the edits needed in EPOCH_load_vehicles.sqf.

i have yet to add a way to readd the colours on restarts, again becourse i am waiting to see what awol comes up with.

Share this post


Link to post
Share on other sites

Is there a way to add more places that players can paint at?

Just noticed it in the settings...

Question #2

Is it possible to have the custom textures server side instead of mission just to cut down on the mission size.

Edited by Three Plus

Share this post


Link to post
Share on other sites

@Halvhjearne Have you thought of rewriting this with it looping through the vehicles on the map and matching them based on PositionASL + Class?

Then it wouldn't require any Epoch code edits.

tbh i dont think its a good idea to have a loop running like that.

i thought of many ways to make it permanent, but i dont see any good way to do it without modifying the script that loads vehicles from the db a bit.

i did have a talk with awol at one point about how custom skins could be integrated with epoch, but i think he might have forgot about it. (i did)

Share this post


Link to post
Share on other sites

I didn't mean a loop. Basically a script that would pull the coordinates paired with a skin and classname. Look for the vehicle classname within so many meters of the coordinate and if found change the color (once on server startup). Have a tracker that saves the color when the color changes.

Not sure if Epoch has vehicle Id's but if so it should be easy to do, if not it might be a little more difficult but doable.

Edited by TheVampire

Share this post


Link to post
Share on other sites

i am sorry to say that i will not be updating this in the near future ...

that dosnt necessarily mean that it will stop working right away so you wont be able to use it, however if it does stop working in a future update of epoch, chances are i will not have the time to fix it.

i have not been playing or doing anything for arma in quite some time now ... but who knows, maybe i will return sometime. ;)

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...