NateDaBeast Posted September 14, 2013 Report Share Posted September 14, 2013 I'm trying to get the bloodbag script to work on my epoch server when I install it I can't get traders to have the menu there I also plan to add more scripts too but I'm afraid too right now since that easy script install is not working ... Please Help Link to comment Share on other sites More sharing options...
0 NateDaBeast Posted September 15, 2013 Author Report Share Posted September 15, 2013 bump Link to comment Share on other sites More sharing options...
0 MrTesla Posted September 15, 2013 Report Share Posted September 15, 2013 Did you use a "compiles.sqf" and "fn_selfactions.sqf" from your own client files, or did you download it somewhere else? If you downloaded them, the files may be from an older version of Epoch, which causes issues such as trader menus not working. -go to your @DayZ_Epoch folder in your Arma 2 OA directory -unpack the dayz_code.pbo -copy the "fn_selfactions.sqf" from the compiles folder and the "compiles.sqf" from the init folder -paste them over the ones you downloaded -open the "fn_selfactions.sqf" find this line: _canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder); -after that line add the self-bloodbag code; it should look like this: // ---------------------------------------Krixes Self Bloodbag Start------------------------------------ _mags = magazines player; // Krixes Self Bloodbag if ("ItemBloodbag" in _mags) then { hasBagItem = true; } else { hasBagItem = false;}; if((speed player <= 1) && hasBagItem && _canDo) then { if (s_player_selfBloodbag < 0) then { s_player_selfBloodbag = player addaction[("<t color=""#c70000"">" + ("Self Bloodbag") +"</t>"),"custom\player_selfbloodbag.sqf","",5,false,true,"", ""]; }; } else { player removeAction s_player_selfBloodbag; s_player_selfBloodbag = -1; }; // ---------------------------------------Krixes Self Bloodbag End------------------------------------ -open the "compiles.sqf" and find this line: fnc_usec_selfActions = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_selfActions.sqf"; //Checks which actions for self -change the file path to point to the "fn_selfactions.sqf" that you just added (ie. if you have it in a folder in your mission file called "dayz_code", the path would be "dayz_code\fn_selfactions.sqf") The rest of the install is the same. You just have to make sure those files stay up-to-date. Just repeat this every time you update to a new version of Epoch. This applies to any mods that overwrite scripts from the Epoch client files. Link to comment Share on other sites More sharing options...
Question
NateDaBeast
I'm trying to get the bloodbag script to work on my epoch server when I install it I can't get traders to have the menu there
I also plan to add more scripts too but I'm afraid too right now since that easy script install is not working ...
Please Help
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now