Jump to content

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


Halvhjearne

Recommended Posts

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

 

Oh, so i dont ACTUALLY have to include them inside the if(hasInterface) then ?

 

Ill try it :)

Link to comment
Share on other sites

Hmm.. shoot no luck really..

 

Ill just post the whole init here in case someone of you sees the issue... (I actually had very very few problems thus far even though my actuall scriptingskill is vanishing in comprison to most of you hehe)

if (!isDedicated) then {
	"VEMFChatMsg" addPublicVariableEventHandler {
		[
			[
				[((_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 "semClient.sqf"};
[] execVM"addons\paintshop\paintshop.sqf";

   execVM "zcp.sqf";
   execVM "debugpic.sqf"; 
   execVM "OX3_GetInProtect.sqf";
   execVM "markers\marker1.sqf";
   execVM "markers\marker2.sqf";
   execVM "markers\marker3.sqf";
[] execVM "addons\messages\init.sqf";

//Supply Drop Alert Event
"SDROP_Alert" addPublicVariableEventHandler {
hint parseText format["%1", _this select 1];
};

call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";

#include "A3EAI_Client\A3EAI_initclient.sqf";

As usual very grateful for all and any help :)

(Most of all since fixing it would probably enable me to use the statusbar aswell hehe)

Link to comment
Share on other sites

my full init

 

#include "start_blck.sqf";


[]execVM "IgiLoad\IgiLoadInit.sqf";

//SEM
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";

//TraderATMs
if (isServer) then {
    execVM "\q\addons\traderATMs\init.sqf";
};

[] execVM "trader\init.sqf"; //black market
[] execVM "trader\HALV_takegive_crypto_init.sqf"; //black market
[] execVM "trader\resetvehicleammo.sqf"; //black market
[] execVM "trader\bmtrader1.sqf"; // black market camp
[] execVM "addons\halv_spawn\init.sqf";
[] execVM "addons\earplugs\init.sqf";
[] execVM "briefing.sqf";
[] execVM "addons\effect.sqf"; // Mediterranean colours
execVM "zcp.sqf"; //capture points
[] execVM "addons\OX3_GetInProtect.sqf"; //remove this when fixed exploding vehicles

// stop server loading the client script
// tutorial: http://killzonekid.com/arma-scripting-tutorials-basic-multiplayer-coding-summary/ 
if (isDedicated) exitWith {};

// compile the script on mission load
// https://community.bistudio.com/wiki/compileFinal
sdropClient=compileFinal preprocessFileLineNumbers "sdropClient.sqf";

// wait client is ready
// https://community.bistudio.com/wiki/waitUntil
// https://community.bistudio.com/wiki/isPlayer
// https://community.bistudio.com/wiki/alive
waitUntil{(isPlayer player) && (alive player) && !isNil "EPOCH_loadingScreenDone"};

// Starts running the script
// https://community.bistudio.com/wiki/spawn
[] spawn sdropClient;

[] execVM "addons\messages\init.sqf"; //spawn system messages
#include "A3EAI_Client\A3EAI_initclient.sqf";

 

Link to comment
Share on other sites

Would anyone have an idea on why the script (which is awesome btw) only works for me lol?  I have it on my test server and a non admin helped test but he didnt see the scroll option but i did standing right next to him.  I also ported away to see if my proximity was the cause but he still could not see the menu.

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

 

you are missing a ; it should look like this:

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

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

 

everything after this line runs on the wrong places:

if(hasInterface)then{execVM "semClient.sqf"};

yours should look like this:

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";
};
Link to comment
Share on other sites

Great script and works perfect. What's a good size for the .jpg's to add into the custom textures to still look good but only have a small footprint ?

 

i found it does not matter much what size they are, as loong as they look nice ingame, i wouldnt bother too much about it.

 

i have some that are not exact rectangles aswell, it dosnt matter much.

 

@all

to get something like i did to the ghosthawk, you will need to get the original skin from the arma pbo files and modify it ...

ill upload a few of them at some point when i get around to it.

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

Infistar allowed dialog 6666

That was put in during install.  

/* 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,7778,9999,9980];
/*	5001, -3: Zupas New Hud (Hud-Builder) - https://github.com/DevZupa/ZHB-A3 */
_allowedDialogs pushBack 5001;
_allowedDialogs pushBack -3;
/*	37400: Custom Menu from AltisLife used on some Epoch Servers */
_allowedDialogs pushBack 37400;

This is my section of the run.sqf

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.

 

I have another issue, but this ios what mine looks like and i see a semi-colon after yours that i think shouldnt be there. 

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

Mine works like a charm, only for me though lol..  thats my issue.  Hope that helped you.

Link to comment
Share on other sites

i found it does not matter much what size they are, as loong as they look nice ingame, i wouldnt bother too much about it.

 

i have some that are not exact rectangles aswell, it dosnt matter much.

 

@all

to get something like i did to the ghosthawk, you will need to get the original skin from the arma pbo files and modify it ...

ill upload a few of them at some point when i get around to it.

 

 

HERE you can download ALL the original skins and customize them as you wish.

 

Large files though so probably going to need to convert them to another format to not make the mission.pbo explode :)

Link to comment
Share on other sites

The script dosent work on my Server.

if(hasInterface)then{

[] execVM "scripts\service\service_point.sqf";

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

};

infistar've run there as something other than 6666?

i have test many other option but nothing works :(

but dosent Error log.And dosent work in game.

I can not see whether the script is loaded with. or if I'm doing wrong in what game. Introduce yourself a vehicle and roll the mouse. did not happen. or am I doing something wrong?

Sorry my english i am german

Link to comment
Share on other sites

I can still only get admins to be able to use this script.  Ive reinstalled it a few times and even reset the test server to do a clean install and friends cant use it still.  They can see what i paint but they get no scroll wheel options.  Also, when i switch to normal player from admin (infiSTAR AH with the 6666 put into the run.sqf) i lose all my painted textures and cannot see the scroll options myself.

Link to comment
Share on other sites

The script dosent work on my Server.

if(hasInterface)then{

[] execVM "scripts\service\service_point.sqf";

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

};

 

Try deleting the ; after the } so its like this.

 

if(hasInterface)then{

[] execVM "scripts\service\service_point.sqf";

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

}

Link to comment
Share on other sites

As an admin if you can see and use it then Infistar is blocking the dialog, 6666 is the dialog ID, you may want to check the install instructions again. It sounds like the script is installed correctly so it's just infistar blocking it. You could make the variables false in the run sqf just to test.

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