Go to file
2018-03-12 18:41:50 -05:00
addons/paintshop header change 2017-04-19 22:15:13 -05:00
.gitattributes 🎊 Added .gitattributes & .gitignore files 2017-04-19 20:04:55 -05:00
.gitignore 🎊 Added .gitattributes & .gitignore files 2017-04-19 20:04:55 -05:00
Install.cpp Install procedure added for 64bit Exile 2017-04-23 13:22:50 -05:00
README.md Exile 1.0.4 update compatibility 2018-03-12 18:41:50 -05:00

ArmA 1.80 Exile 1.0.4+ Build Status

news and info

Verified working with Exile 1.0.4 update. No changes were reported as necessary

Vehicle & backpack Paintshop By Halv

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Contact : halvhjearne@gmail.com

Halv's Paintshop eXpanded 4 Exile

by DirtySanchez at DonkeyPunch Community Gaming

All skins provided in this pack are the property of DonkeyPunch Community Gaming and DirtySanchez/=RAV=MusTanG

Installation

STEP 0:

--Move the addons folder into your mission file

####.

STEP 1:

--Run this query on your database

ALTER TABLE construction ADD paintshop TEXT NOT NULL;

####.

STEP 2:

--add this to the description.ext

#include "addons\paintshop\Halv_defines.hpp"

#include "addons\paintshop\paintshop.hpp"

####.

STEP 3:

--add to init.sqf

if(hasInterface)then

{

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

};

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

####.

STEP 4:

--add this to your exile.ini

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Halv's PaintShop eXpanded 4 Exile

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[updateBasePaint]

SQL1_1 = UPDATE construction SET paintshop = ? WHERE id = ?

Number of Inputs = 2

SQL1_INPUTS = 1,2

####.

STEP 5:

--change this in the exile.ini

[loadConstruction]

SQL1_1 = SELECT id,class,account_uid,spawned_at,position_x,position_y,position_z,direction_x,direction_y,direction_z,up_x,up_y,up_z,is_locked,pin_code,territory_id,deleted_at,damage,paintshop FROM construction WHERE id = ?

Number Of Inputs = 1

SQL1_INPUTS = 1

OUTPUT = 1,2-STRING,3-STRING,4-STRING,5,6,7,8,9,10,11,12,13,14,15-STRING,16,17,18,19

####.

STEP 6a:

--add class Paint to your CfgInteractionMenus under class Construction >> Actions

class Construction

{

targetType = 2;

target = "Exile_Construction_Abstract_Static";

class Actions

{

class Paint : ExileAbstractAction

{

title = "Paint Base Part";

condition = "call ExileClient_util_world_isInOwnTerritory";

action = "ExileClientInteractionObject call HALV_paintshop_opendialog";

};

####.

STEP 6b 6c and 6d:

--add class Paint to your CfgInteractionMenus

class Car and class Air and class Boat

class Actions

class Paint : ExileAbstractAction

{

title = "Paint Vehicle";

condition = "((locked ExileClientInteractionObject) isEqualTo 0) && ((locked ExileClientInteractionObject) != 1) && (ExileClientNearPaintShop)";

action = "ExileClientInteractionObject call HALV_paintshop_opendialog";

};

####.

Step 7:

--add this to your CfgExileCustomCode

class CfgExileCustomCode

{

ExileServer_object_construction_database_load = "addons\paintshop\ExileServer_object_construction_database_load.sqf";

####.

STEP 8:

if using infiStar add allowed IDDs 6666

####.

ATTENTION ATTENTION ATTENTION

--If you are running 64bit exile and are on extdb3 use this for your exile.ini not the examples above in step 4 and 5

--This is for 64 bit compatibility upgrades to Exile with extDB3 and Arma 3 1.68

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Halv's PaintShop eXpanded 4 Exile

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[loadConstruction]

SQL1_1 = SELECT id,class,account_uid,spawned_at,position_x,position_y,position_z,direction_x,direction_y,direction_z,up_x,up_y,up_z,is_locked,pin_code,territory_id,deleted_at,damage,paintshop FROM construction WHERE id = ?

SQL1_INPUTS = 1

OUTPUT = 1,2-STRING,3-STRING,4-STRING,5,6,7,8,9,10,11,12,13,14,15-STRING,16,17,18,19

[updateBasePaint]

SQL1_1 = UPDATE construction SET paintshop = ? WHERE id = ?

SQL1_INPUTS = 1,2