Jump to content

Mods installation guide, i'm totaly green ;)


Recommended Posts

can anybody tell me how create custom fn_selfactions.sqf  and Variables.sqf simply without kill my server again xD ?

@Edit: I'm using:

I do all of it and i stop on adding "fnc_usec_selfActions = compile preprocessFileLineNumbers "custom\fn_selfActions.sqf";" in my custom compiles.sqf.

So now i have few questions:

1. how do this same with variables.sqf guide not tell nothing about that

2. when i add "fnc_usec_selfActions = compile preprocessFileLineNumbers "custom\fn_selfActions.sqf";" to the custom compiles.sqf will fn_selfActions.sqf show up in custom folder or i have to create in manually, i mean create blank fn_selfActions.sqf?

Link to comment
Share on other sites

ok right now my custom folder looks that:

eju9h1.jpg

fn_selfActions.sqf and variables.sqf are empty ( i create them blank)

inside compiles.sqf i have this:

11imw4j.jpg

so when i start install this:

and installation guide say to do something in fn_selfactions.sqf  and Variables.sqf i just add what he says? i mean "A-Find: and" and "and below Add this line:" i just paste into  fn_selfactions.sqf  all from  "A-Find:" +  "and below Add this line:" so fn_selfactions.sqf content should loos that:

Spoiler


/*
    if(_typeOfCursorTarget == "TOW_DZE") then {
        if (s_player_towing < 0) then {
            if(!(_cursorTarget getVariable ["DZEinTow", false])) then {
                s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_ATTACH" "\z\addons\dayz_code\actions\tow_AttachStraps.sqf",_cursorTarget, 0, false, true];                
            } else {
                s_player_towing = player addAction [localize "STR_EPOCH_ACTIONS_DETACH", "\z\addons\dayz_code\actions\tow_DetachStraps.sqf",_cursorTarget, 0, false, true];                
            };
        };
    } else {
        player removeAction s_player_towing;
        s_player_towing = -1;
    };
    */

if (!_isAlive && {(_cursorTarget isKindOf "zZombie_base")}) then {
_wasguted = _cursorTarget getVariable["wasguted",false];

if (!_wasguted) then {
if ("ItemKnife" in _itemsPlayer) then {
if (s_player_zhide2 < 0) then {
s_player_zhide2 = player addAction [format["<t color='#0096ff'>SmearGutsOnYou</t>"], "zedutility\walkamongstthedead\smear_guts.sqf",_cursorTarget,0, false,true];
};
          
          
} else {
    
        player removeAction s_player_zhide2;
        s_player_zhide2 = -1;    
        };
        };
_lootzed = _cursorTarget getVariable["lootzed",false];        
if (!_lootzed) then {        
if (s_player_zhide3 < 0) then {
s_player_zhide3 = player addAction [format["<t color='#0096ff'>CheckZed</t>"], "zedutility\walkamongstthedead\lootzed.sqf",_cursorTarget,0, false,true];
};
} else {
player removeAction s_player_zhide3;
s_player_zhide3 = -1;    
};    

};   

i should take fn_selfactions.sqf  and Variables.sqf from dayz_code.pbo or dayz_epoch.pbo or dayz.pbo because right now i have no gut zombie action again, maybe it's because of empty  fn_selfactions.sqf  and Variables.sqf ??

Edited by Draundenth
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
  • Advertisement
×
×
  • Create New...