SLB2k11

Custom Keybinds with Waterbarrel building

3 posts in this topic

Hi

On the old Forum Midgetgrimm postet his Custom Framework dont know if he is here but i post it here maybe it help some of you.

https://github.com/midgetgrimm/Clientside-Framework-For-Arma-3-Exile-Mod

CREDITS GOES TO MIDGETGRIMM!!!

 

I have made a additional script for a Waterbarrel you can place it one time per Life! Its not the best way but better then nothing. :)

Installation:

  1. Copy file to System\Network
  2. go to System\fn_keybinds.sqf

case 10 :
    {
            [] spawn exsys_fnc_water;
    };

case can you modify like you want here are the case numbers:

ESC = 1
F1 = 59
F2 = 60
F3 = 61
F4 = 62
F5 = 63
F6 = 64
F7 = 65
F8 = 66
F9 = 67
F10 = 68
F11 = 87
F12 = 88
PRINT = 183
SCROLL = 70
PAUSE = 197
^ = 41
1 = 2
2 = 3
3 = 4
4 = 5
5 = 6
6 = 7
7 = 8
8 = 9
9 = 10
0 = 11
ß = 12
´ = 13
Ü = 26
Ö = 39
Ä = 40
# = 43
< = 86
, = 51
. = 52
- = 53
+ = NOT DEFINED
POS1 = 199
TAB = 15
ENTER = 28
DELETE = 211
BACKSPACE = 14
INSERT = 210
END = 207
PAGEUP = 201
PAGEDOWN = 209
CAPS = 58
A = 30
B = 48
C = 46
D = 32
E = 18
F = 33
G = 34
H = 35
I = 23
J = 36
K = 37
L = 38
M = 50
N = 49
O = 24
P = 25
Q = 16
U = 22
R = 19
S = 31
T = 20
V = 47
W = 17
X = 45
Y = 44
Z = 21
SHIFTL = 42
SHIFTR = 54
UP = 200
DOWN = 208
LEFT = 203
RIGHT = 205
NUM_0 = 82
NUM_1 = 79
NUM_2 = 80
NUM_3 = 81
NUM_4 = 75
NUM_5 = 76
NUM_6 = 77
NUM_7 = 71
NUM_8 = 72
NUM_9 = 73
NUM_+ = 78
NUM = 69
NUM_/ = 181
NUM_* = 55
NUM_- = 74
NUM_, = 83
NUM_ENTER = 156
STRGL = 29
STRGR = 157
WINL = 220
WINR = 219
ALT = 56
SPACE = 57
ALTGR = 184
APP = 221

3. go to custom_code.h add class water {} under class quickStats {}

/*

Filename: fn_water.sqf

Edited by SLB2k11

*/

private["_position","_water"];

if(wasserspendergesetzt > 0) exitWith {hint "Du kannst nur einen Spender setzen"}; // {hint "You can only playe one Waterbarrel"}
_water = "Land_WaterCooler_01_new_F" createVehicle [0,0,0];
_water attachTo[player,[0,3,1]];
_water setDir 90;
_water setVariable["item","waterDeployed",true];

action_waterDeploy = player addAction["<t color='#00FF00'>Wasserspender aufstellen</t>",{if(!isNull  water) then {detach  water;  water = ObjNull;}; player removeAction  action_waterDeploy;  action_waterDeploy = nil;},"",999,false,false,"",'!isNull  water'];
//action_waterDeploy = player addAction["<t color='#00FF00'>Place Waterbarrel</t>",{if(!isNull  water) then {detach  water;  water = ObjNull;}; player removeAction  action_waterDeploy;  action_waterDeploy = nil;},"",999,false,false,"",'!isNull  water'];
water = _water;
waitUntil {isNull  water};
if(!isNil " action_waterDeploy") then {player removeAction  action_waterDeploy;};
if(isNull _water) exitWith { water = ObjNull;};
wasserspendergesetzt = 1;

 

 

HERE ONLY ENGLISH!!

German support at:

Edited by SLB2k11
  • Like 1

Share this post


Link to post
Share on other sites
On 17.09.2015 at 9:43 PM, SLB2k11 said:

Hi

On the old Forum Midgetgrimm postet his Custom Framework dont know if he is here but i post it here maybe it help some of you.

https://github.com/midgetgrimm/Clientside-Framework-For-Arma-3-Exile-Mod

CREDITS GOES TO MIDGETGRIMM!!!

 

I have made a additional script for a Waterbarrel you can place it one time per Life! Its not the best way but better then nothing. :)

Installation:

  1. Copy file to System\Network
  2. go to System\fn_keybinds.sqf

Hidden Content

3. go to custom_code.h add class water {} under class quickStats {}

Hidden Content

 

HERE ONLY ENGLISH!!

German support at:

Hi SLB2k11;

This script i installed. Working on local server. But Not Working Online Server.

Why Not Working ?

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.