Jump to content

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


Halvhjearne

Recommended Posts

My apologies when you say to add thsi to run.sqf

 

in _allowedDialogs like this: _allowedDialogs = [-1,602,6666];

 

I already have this    _allowedDialogs = [-1,602,7777];

 

Should I change it to this?

_allowedDialogs = [-1,602,7777,6666];

 

My apologies for the noob question but I've only had Inf for 1 day and when i google stuff it takes me to his forum thats seems to be down.

 

Simon

 

its ok, you cant know what you have not learned yet ... but you are correct

Link to comment
Share on other sites

//set your server name here to avoid problems with ppl logging into anther server with diffrent textures
_servername = "[GER] EPOCH Altis|DragonFyre|HalvSpawn|KillFeed|AI-Mission|HMG Cars|Repair/Rearm|IGLoad|ATM||Many More";
//these are the classnames of buildings that will activate the paintshop
_paintshopbuildings = ["Land_CarService_F","Land_Repair_center"];
//add textures and preset colors here
_textures = ]   <<<<< FAiler
//default arma 3 textures  
 
he say me by _textures = ]   is a Failer  in the rpt log from the Server.  i have  no button to activate the paintshop, i use infistar and all is  on False, i use this only for Kick/Ban,     the _allowdialog is in the run.sqf,
 
 
and now this new failer, 23:24:35 File mpmissions\epoch.Altis\addons\paintshop\settings.sqf, line 14   
Link to comment
Share on other sites

 

//set your server name here to avoid problems with ppl logging into anther server with diffrent textures
_servername = "[GER] EPOCH Altis|DragonFyre|HalvSpawn|KillFeed|AI-Mission|HMG Cars|Repair/Rearm|IGLoad|ATM||Many More";
//these are the classnames of buildings that will activate the paintshop
_paintshopbuildings = ["Land_CarService_F","Land_Repair_center"];
//add textures and preset colors here
_textures = ]   <<<<< FAiler
//default arma 3 textures  
 
he say me by _textures = ]   is a Failer  in the rpt log from the Server.  i have  no button to activate the paintshop, i use infistar and all is  on False, i use this only for Kick/Ban,     the _allowdialog is in the run.sqf,
 
 
and now this new failer, 23:24:35 File mpmissions\epoch.Altis\addons\paintshop\settings.sqf, line 14   

 

 

ill explain better in the info, but you cannot use such a long name ...

 

try this instead:

_servername = "GER_EPOCH_Altis";
Link to comment
Share on other sites

i Changed the name to siqual ^^  but i have the failer n the line 14 say rpt.log. 

 

and the dialog in the game not show up.  have you a idea ?   you make nice scripts..     i have the halv spawn kill feed ^^ and now this script mhm   in 4 Month i have a server only scripts from you ? :D 

Link to comment
Share on other sites

i Changed the name to siqual ^^  but i have the failer n the line 14 say rpt.log. 

 

and the dialog in the game not show up.  have you a idea ?   you make nice scripts..     i have the halv spawn kill feed ^^ and now this script mhm   in 4 Month i have a server only scripts from you ? :D

 

show me what you changed

Link to comment
Share on other sites

For some reason I keep getting kicked when I try to connect after adding this. I get kicked for Battleye Scirpt restriction #22, here is the line that shows up in the script.log file.

#22 "mpmissions\__CUR_MP.Altis\init.sqf"
if(hasInterface) then{
[] execVM "addons\paintshop\paintshop.sqf";
};"

If someone could help me with this I would appreciate it. My init.sqf only contains 

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

if that helps.

Link to comment
Share on other sites

show me what you changed

 

Setting.sqf 

--------------------------

 

/*
Vehicle & backpack Paintshop
By Halv
 
Copyright © 2015  Halvhjearne > README.md
*/
//set your server name here to avoid problems with ppl logging into anther server with diffrent textures
_servername = "SiqualTV";
//these are the classnames of buildings that will activate the paintshop
_paintshopbuildings = ["Land_CarService_F","Land_Repair_center"];
//add textures and preset colors here
_textures = []
//default arma 3 textures
["Debriefing background","\a3\Ui_f\data\gui\cfg\Debriefing\debriefingbackground_co.paa"],
["CommunityGuide background 1","\a3\Ui_f\data\gui\cfg\CommunityGuide\airassault_co.paa"],
["CommunityGuide background 2","\a3\Ui_f\data\gui\cfg\CommunityGuide\basicinfantrycombat_co.paa"],
["CommunityGuide background 3","\a3\Ui_f\data\gui\cfg\CommunityGuide\combinedarms_co.paa"],
["CommunityGuide background 4","\a3\Ui_f\data\gui\cfg\CommunityGuide\groundvehiclecrew_co.paa"],
["CommunityGuide background 5","\a3\Ui_f\data\gui\cfg\CommunityGuide\guerrillawarfare_co.paa"],
["CommunityGuide background 6","\a3\Ui_f\data\gui\cfg\CommunityGuide\helicopters_co.paa"],
["CommunityGuide background 7","\a3\Ui_f\data\gui\cfg\CommunityGuide\introduction_co.paa"],
["CommunityGuide background 8","\a3\Ui_f\data\gui\cfg\CommunityGuide\sniperslaunchers_co.paa"],
["CommunityGuide background 9","\a3\Ui_f\data\gui\cfg\CommunityGuide\zeus_co.paa"],
["LoadingScreens 1","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_06_co.paa"],
["LoadingScreens 2","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_07_co.paa"],
["LoadingScreens 3","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_10_co.paa"],
["LoadingScreens 4","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_14_co.paa"],
["LoadingScreens 5","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_16_co.paa"],
["LoadingScreens 6","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_17_co.paa"],
["LoadingScreens 7","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_18_co.paa"],
["LoadingScreens 8","\a3\Ui_f\data\gui\cfg\LoadingScreens\loading_01_co.paa"],
["Bootcamp Background","\a3\Ui_f\data\gui\Rsc\RscDisplayBootcampMsgBox\bootcampmsgbox_background_ca.paa"],
["Workshop defaultimage","\a3\Ui_f\data\gui\Rsc\RscDisplayPublishMission\steamworksdefaultimage_co.paa"],
["WelcomeScreens 1","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome1_ca.paa"],
["WelcomeScreens 2","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome2_ca.paa"],
["WelcomeScreens 3","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome3_ca.paa"],
["WelcomeScreens 4","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome4_ca.paa"],
//karts pics
["Karts Content","\a3\data_f_kart\images\karts_contentbrowserpicture_co.paa"],
["Karts illustration 1","\a3\data_f_kart\images\karts_illustration_01_ca.paa"],
["Karts illustration 2","\a3\data_f_kart\images\karts_illustration_02_ca.paa"],
["Karts illustration 3","\a3\data_f_kart\images\karts_illustration_03_ca.paa"],
["Karts illustration 4","\a3\data_f_kart\images\karts_illustration_04_ca.paa"],
["Karts illustration 5","\a3\data_f_kart\images\karts_illustration_05_ca.paa"],
["Karts illustration 6","\a3\data_f_kart\images\karts_illustration_06_ca.paa"],
["Karts Overview","\a3\data_f_kart\images\karts_overviewpicture_co.paa"],
["Karts Flag 1","\a3\data_f_kart\Flags\flag_bluking1_co.paa"],
["Karts Flag 2","\a3\data_f_kart\Flags\flag_bluking2_co.paa"],
["Karts Flag 3","\a3\data_f_kart\Flags\flag_fuel1_co.paa"],
["Karts Flag 4","\a3\data_f_kart\Flags\flag_fuel2_co.paa"],
["Karts Flag 5","\a3\data_f_kart\Flags\flag_koke1_co.paa"],
["Karts Flag 6","\a3\data_f_kart\Flags\flag_koke2_co.paa"],
["Karts Flag 7","\a3\data_f_kart\Flags\flag_redburger_co.paa"],
["Karts Flag 8","\a3\data_f_kart\Flags\flag_redstone_co.paa"],
["Karts Flag 9","\a3\data_f_kart\Flags\flag_suatmm_co.paa"],
//Epoch
["Bear","\x\addons\a3_epoch_assets\textures\bear\bear_co.paa"],
["Candy","\x\addons\a3_epoch_assets\textures\candy\candy_ca.paa"],
["Circuit","\x\addons\a3_epoch_assets\textures\circuit\circuit_co.paa"],
["Concrete","\x\addons\a3_epoch_assets\textures\concrete_ca.paa"],
["Wood","\x\addons\a3_epoch_assets\textures\wood_co.paa"],
["Supply crate","\x\addons\a3_epoch_assets_1\textures\supply_crate_co.paa"],
["Carry Tent","\x\addons\a3_epoch_assets_3\carnival\carnyTent_co.paa"],
//other
["Heli Content","\a3\data_f_heli\images\heli_overviewpicture_co.paa"],
["Eagle","\a3\data_f_curator\Eagle\Data\eagle_co.paa"],
//preset colors
["Red","#(argb,8,8,3)color(1,0,0,1)"],
["Green","#(argb,8,8,3)color(0,1,0,1)"],
["Blue","#(argb,8,8,3)color(0,0,1,1)"],
["Black","#(argb,8,8,3)color(0,0,0,0.6)"],
["Pink","#(argb,8,8,3)color(1,0.75,0.84,0.2)"],
["Tan","#(argb,8,8,3)color(0.8,0.7,0.5,0.2)"],];
 
 
 
run.sqf 
-------------------------------------
 
 
_allowedDialogs = [-1,602,7777,6666,7778,9999,9980];
 
 
nothing other stuff i changed. i give my best my eng is not the best sry. 
Link to comment
Share on other sites

I dont know why say rpt.log this failer.  i dont find a Failer.   

 

 0:11:53 File mpmissions\epoch.Altis\addons\paintshop\settings.sqf, line 14

 

 

//default arma 3 textures
["Debriefing background","\a3\Ui_f\data\gui\cfg\Debriefing\debriefingbackground_co.paa"],
 
 
and the Dialog not show in the mouse menu. 
Link to comment
Share on other sites

 

you also have an extra ending bracket here ... remove the last bracket, like this:

_textures = []

I Changed this.   

 

and  the linie 14 is a failer.  not fixed this,

 

0:23:04 File mpmissions\epoch.Altis\addons\paintshop\settings.sqf, line 14

 

and ya dialog not work thanks for your help 

Link to comment
Share on other sites

I Changed this.   

 

and  the linie 14 is a failer.  not fixed this,

 

0:23:04 File mpmissions\epoch.Altis\addons\paintshop\settings.sqf, line 14

 

and ya dialog not work thanks for your help 

 

start over, get files from github and try again, you must have messed something up

Link to comment
Share on other sites

so its new instaled.  no dialog.  or meassage up.. 

 

same failer in the rpt. 

 

 0:41:22 File mpmissions\epoch.Altis\addons\paintshop\settings.sqf, line 14

 

try this as settings:

/*
	Vehicle & backpack Paintshop
	By Halv
	
	Copyright (C) 2015  Halvhjearne > README.md
*/
//set your server name here to avoid problems with ppl logging into anther server with diffrent textures
//use one string name, no spaces or special chars
_servername = "SiqualTV";
//these are the classnames of buildings that will activate the paintshop
_paintshopbuildings = ["Land_CarService_F","Land_Repair_center"];
//add textures and preset colors here
_textures = [
//default arma 3 textures
	["Debriefing background","\a3\Ui_f\data\gui\cfg\Debriefing\debriefingbackground_co.paa"],
	["CommunityGuide background 1","\a3\Ui_f\data\gui\cfg\CommunityGuide\airassault_co.paa"],
	["CommunityGuide background 2","\a3\Ui_f\data\gui\cfg\CommunityGuide\basicinfantrycombat_co.paa"],
	["CommunityGuide background 3","\a3\Ui_f\data\gui\cfg\CommunityGuide\combinedarms_co.paa"],
	["CommunityGuide background 4","\a3\Ui_f\data\gui\cfg\CommunityGuide\groundvehiclecrew_co.paa"],
	["CommunityGuide background 5","\a3\Ui_f\data\gui\cfg\CommunityGuide\guerrillawarfare_co.paa"],
	["CommunityGuide background 6","\a3\Ui_f\data\gui\cfg\CommunityGuide\helicopters_co.paa"],
	["CommunityGuide background 7","\a3\Ui_f\data\gui\cfg\CommunityGuide\introduction_co.paa"],
	["CommunityGuide background 8","\a3\Ui_f\data\gui\cfg\CommunityGuide\sniperslaunchers_co.paa"],
	["CommunityGuide background 9","\a3\Ui_f\data\gui\cfg\CommunityGuide\zeus_co.paa"],
	["LoadingScreens 1","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_06_co.paa"],
	["LoadingScreens 2","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_07_co.paa"],
	["LoadingScreens 3","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_10_co.paa"],
	["LoadingScreens 4","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_14_co.paa"],
	["LoadingScreens 5","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_16_co.paa"],
	["LoadingScreens 6","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_17_co.paa"],
	["LoadingScreens 7","\a3\Ui_f\data\gui\cfg\LoadingScreens\gc_wallpaper_18_co.paa"],
	["LoadingScreens 8","\a3\Ui_f\data\gui\cfg\LoadingScreens\loading_01_co.paa"],
	["Bootcamp Background","\a3\Ui_f\data\gui\Rsc\RscDisplayBootcampMsgBox\bootcampmsgbox_background_ca.paa"],
	["Workshop defaultimage","\a3\Ui_f\data\gui\Rsc\RscDisplayPublishMission\steamworksdefaultimage_co.paa"],
	["WelcomeScreens 1","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome1_ca.paa"],
	["WelcomeScreens 2","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome2_ca.paa"],
	["WelcomeScreens 3","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome3_ca.paa"],
	["WelcomeScreens 4","\a3\Ui_f\data\gui\Rsc\RscDisplayWelcome\welcome4_ca.paa"],
//karts pics
	["Karts Content","\a3\data_f_kart\images\karts_contentbrowserpicture_co.paa"],
	["Karts illustration 1","\a3\data_f_kart\images\karts_illustration_01_ca.paa"],
	["Karts illustration 2","\a3\data_f_kart\images\karts_illustration_02_ca.paa"],
	["Karts illustration 3","\a3\data_f_kart\images\karts_illustration_03_ca.paa"],
	["Karts illustration 4","\a3\data_f_kart\images\karts_illustration_04_ca.paa"],
	["Karts illustration 5","\a3\data_f_kart\images\karts_illustration_05_ca.paa"],
	["Karts illustration 6","\a3\data_f_kart\images\karts_illustration_06_ca.paa"],
	["Karts Overview","\a3\data_f_kart\images\karts_overviewpicture_co.paa"],
	["Karts Flag 1","\a3\data_f_kart\Flags\flag_bluking1_co.paa"],
	["Karts Flag 2","\a3\data_f_kart\Flags\flag_bluking2_co.paa"],
	["Karts Flag 3","\a3\data_f_kart\Flags\flag_fuel1_co.paa"],
	["Karts Flag 4","\a3\data_f_kart\Flags\flag_fuel2_co.paa"],
	["Karts Flag 5","\a3\data_f_kart\Flags\flag_koke1_co.paa"],
	["Karts Flag 6","\a3\data_f_kart\Flags\flag_koke2_co.paa"],
	["Karts Flag 7","\a3\data_f_kart\Flags\flag_redburger_co.paa"],
	["Karts Flag 8","\a3\data_f_kart\Flags\flag_redstone_co.paa"],
	["Karts Flag 9","\a3\data_f_kart\Flags\flag_suatmm_co.paa"],
//Epoch
	["Bear","\x\addons\a3_epoch_assets\textures\bear\bear_co.paa"],
	["Candy","\x\addons\a3_epoch_assets\textures\candy\candy_ca.paa"],
	["Circuit","\x\addons\a3_epoch_assets\textures\circuit\circuit_co.paa"],
	["Concrete","\x\addons\a3_epoch_assets\textures\concrete_ca.paa"],
	["Wood","\x\addons\a3_epoch_assets\textures\wood_co.paa"],
	["Supply crate","\x\addons\a3_epoch_assets_1\textures\supply_crate_co.paa"],
	["Carry Tent","\x\addons\a3_epoch_assets_3\carnival\carnyTent_co.paa"],
//other
	["Heli Content","\a3\data_f_heli\images\heli_overviewpicture_co.paa"],
	["Eagle","\a3\data_f_curator\Eagle\Data\eagle_co.paa"],
//preset colors
	["Red","#(argb,8,8,3)color(1,0,0,1)"],
	["Green","#(argb,8,8,3)color(0,1,0,1)"],
	["Blue","#(argb,8,8,3)color(0,0,1,1)"],
	["Black","#(argb,8,8,3)color(0,0,0,0.6)"],
	["Pink","#(argb,8,8,3)color(1,0.75,0.84,0.2)"],
	["Tan","#(argb,8,8,3)color(0.8,0.7,0.5,0.2)"]
//custom textures (have to be in your mission pbo)
];
Link to comment
Share on other sites

ya its work i dont no why but this working from you.  

 

not all backpacks ,clothes can color change or can all ?,

 

i cant not all changing, 

 

nice work ! i hope you make for longer time  nice scripts, 

 

good night @all 

Link to comment
Share on other sites

ya its work i dont no why but this working from you.  

 

not all backpacks ,clothes can color change or can all ?,

 

i cant not all changing, 

 

nice work ! i hope you make for longer time  nice scripts, 

 

good night @all 

 

most objects will work

Link to comment
Share on other sites

Got it installed but I get this kick

 

0 "halv_defaulttex" = [[0,"a3\soft_f\mrap_01\data\mrap_01_base_co.paa"],[1,"a3\soft_f\mrap_01\data\mrap_01_adds_co.paa"]] 2:2585 B_MRAP_01_EPOCH

 

I have done this to run.sqf

 

/* Use allowed Dialogs ? */ _UDW = true;    /* true or false */
/* _allowedDialogs: Insert IDDs here to prevent them from being closed! Default ArmA3 and Altis-Life idds should be in already. */
_allowedDialogs = [-1,602,7777,6666];
/*    5001, -3: Zupas New Hud (Hud-Builder) - https://github.com/DevZupa/ZHB-A3*/
_allowedDialogs pushBack 5001;
_allowedDialogs pushBack -3;

 

I tried adding

 

!"halv_defaulttex" to line 0 setvariable.txt

 

simon

Link to comment
Share on other sites

Hello Halv, and hey what a great and creative addition!

 

I do however run into an issue that i believe is in the init.sqf

 

I do already have a  - If (hasInterface) then { };

And when adding your i get it to be like this..

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

What happens is that neither SEM nor Paintshop loads so obviously i got this very wrong..

 

Can anyone please point me in the right direction?

(I had the same issue with the statusbarscript so it must be happening in the init.sqf...

 

 

 

 

Best regards /

 

Tac Anders

Link to comment
Share on other sites

This is how i have mine tactical

 

if(hasInterface)then{execVM "semClient.sqf"};
[] execVM "addons\Status_Bar\init_statusBar.sqf";
[] execVM "addons\service_point\service_point.sqf";
[] execVM "custom\halo_out.sqf";
[] execVM "addons\paintshop\paintshop.sqf";

 

Looks like you have ; missing from execVM "semClient.sqf"

 

simon

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