Jump to content

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


Halvhjearne

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.

Link to comment
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 ..

Link to comment
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

Link to comment
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.

Link to comment
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.

Link to comment
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

Link to comment
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.

Link to comment
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"
Link to comment
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.

Link to comment
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 :)

Link to comment
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.

Link to comment
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.

Link to comment
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.

Link to comment
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

Link to comment
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

Link to comment
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.

Link to comment
Share on other sites

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
×
×
  • Create New...