Munkeskov Posted June 26, 2013 Report Share Posted June 26, 2013 Hey guys, i used a self bloodbag script http://opendayz.net/threads/self-blood-bag.9063/ but when i edit the init.sqf it worked, but i cannot perform cargo check of salvage from vehicles... anybody got the same problems? and what to do? even better, do anybody have a self bloodbag working with Epoch? Link to comment Share on other sites More sharing options...
Bungle Posted June 26, 2013 Report Share Posted June 26, 2013 There is a working one in my pack, If you just want blood transfusions let me know and what map you run and I can work something out. Link to comment Share on other sites More sharing options...
Munkeskov Posted June 26, 2013 Author Report Share Posted June 26, 2013 if you mean the Custom Cherne Server Pack 1.1, then i will try this when i get home, but as i see, then the code is like the one i am already using, and the 2 .sqf files in dayz-code. actualy i wanted the self bloodbag options for all maps :) Link to comment Share on other sites More sharing options...
Bungle Posted June 26, 2013 Report Share Posted June 26, 2013 It should just be a matter of: 1. Add the latest compiles.sqf and fn_seflActions.sqf to your MPmission from the client dayz_code.bpo 2. Modify your init to use add/replace with the new complies.sqf i.e //call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile Regular Functions call compile preprocessFileLineNumbers "compiles.sqf"; //Compile Custom Functions 3. Modify your compiles.sqf to add/replace the new fn_selfactions.sqf i.e //fnc_usec_selfActions = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_selfActions.sqf"; // Checks which actions for selffnc_usec_selfActions = compile preprocessFileLineNumbers "fn_selfActions.sqf"; // Checks which custom actions for self 4. Modify the fn_selfActions.sqf to add this: /////////////////////////////////////////////////////////////////////////// //Krixes Self Bloodbag _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>"),"player_selfbloodbag.sqf","",5,false,true,"", ""]; }; } else { player removeAction s_player_selfBloodbag; s_player_selfBloodbag = -1; }; /////////////////////////////////////////////////////////////////////////// Just After (roughly line 15) _onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1; _canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder); 5. Add player_bloodbag.sqf to your mission folder. 6. Bloodbag Self via scroll red menu option in game when ItemBloodbag is in Magazines/Inventory Nox, MatthewK, ispan55 and 3 others 6 Link to comment Share on other sites More sharing options...
Northdegree Posted June 26, 2013 Report Share Posted June 26, 2013 Maybe you have just applied the files from Krixes? The fn_selfactions.sqf of epoch if modified already. Link to comment Share on other sites More sharing options...
Munkeskov Posted July 1, 2013 Author Report Share Posted July 1, 2013 @Bungle Thanks, it worked in first try :-) on Namalsk i have looked at your files, and im am very impressed :-) i will try to use the refuel, sarge AI and the TOW script also... @Northdegree yes, i used the files without editing Link to comment Share on other sites More sharing options...
prue420 Posted September 13, 2013 Report Share Posted September 13, 2013 When i try this my trader options are gone. Link to comment Share on other sites More sharing options...
fr1nk Posted September 13, 2013 Report Share Posted September 13, 2013 @Bungle Thanks, it worked in first try :-) on Namalsk i have looked at your files, and im am very impressed :-) i will try to use the refuel, sarge AI and the TOW script also... @Northdegree yes, i used the files without editing You need to apply the individual changes required for self-bloodbag to fn_selfactions.sqf - you can't replace the default Epoch file with the bloodbag one. Link to comment Share on other sites More sharing options...
prue420 Posted September 13, 2013 Report Share Posted September 13, 2013 Can you write exactly what i need to do or just show an example of yours? Link to comment Share on other sites More sharing options...
fr1nk Posted September 13, 2013 Report Share Posted September 13, 2013 Can you write exactly what i need to do or just show an example of yours? Krixes has instructions in his thread, just be sure to follow the steps for existing fn_selfactions.sqf and not the ones for brand new mission files: http://opendayz.net/threads/krixes-self-bloodbag-script.12288/ Link to comment Share on other sites More sharing options...
Munkeskov Posted September 18, 2013 Author Report Share Posted September 18, 2013 Krixes has instructions in his thread, just be sure to follow the steps for existing fn_selfactions.sqf and not the ones for brand new mission files: http://opendayz.net/threads/krixes-self-bloodbag-script.12288/ i followed Krixes instruction for existing custom dayz_mission.pbo and selfActions.sqf BUT i cant find any fn_selfAction.sqf within the mission files... I got: ************************************ R3F_Realism - Directory description.ext dynamic_vehicle.sqf init.sqf mission.sqf mission.sqm server_trader.sqf stringtable.cvs ************************************ where do i find an fn_selfAction.sqf file to use? Link to comment Share on other sites More sharing options...
fr1nk Posted September 20, 2013 Report Share Posted September 20, 2013 i followed Krixes instruction for existing custom dayz_mission.pbo and selfActions.sqf BUT i cant find any fn_selfAction.sqf within the mission files... I got: ************************************ R3F_Realism - Directory description.ext dynamic_vehicle.sqf init.sqf mission.sqf mission.sqm server_trader.sqf stringtable.cvs ************************************ where do i find an fn_selfAction.sqf file to use? fn_selfAction.sqf is not natively part of your mission file, it needs to be copied there. Check this out, might help explain things a bit better: http://opendayz.net/threads/how-to-override-compiles-from-dayz_code-pbo.8251/ Link to comment Share on other sites More sharing options...
Joe Posted October 5, 2013 Report Share Posted October 5, 2013 Would anyone be able to help - I've followed the instructions and the Bloodbag works but now I can't unlock safes. Any help would be appreciated. Regards Joe Link to comment Share on other sites More sharing options...
Munkeskov Posted October 24, 2013 Author Report Share Posted October 24, 2013 fn_selfAction.sqf is not natively part of your mission file, it needs to be copied there. Check this out, might help explain things a bit better: http://opendayz.net/threads/how-to-override-compiles-from-dayz_code-pbo.8251/ I have tried it several times, and i can get it to work, but then some of the Epoch features is missing :-/ Is there anybody who have the selfbloodbag script working, and would share the files, or give at step by step tutorial? Link to comment Share on other sites More sharing options...
fr1nk Posted October 24, 2013 Report Share Posted October 24, 2013 I have tried it several times, and i can get it to work, but then some of the Epoch features is missing :-/ Is there anybody who have the selfbloodbag script working, and would share the files, or give at step by step tutorial? Make sure you're using the correct fn_selfActions.sqf: https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_selfActions.sqf Munkeskov 1 Link to comment Share on other sites More sharing options...
Colonel_Patches Posted October 24, 2013 Report Share Posted October 24, 2013 Like they are suggesting, you want a copy of your client fn_selfActions.sqf and compiles.sqf on to your server. The one from your client has all the epoch stuff, since its the epoch mod. The one from krix is just for dayZ, thats why epoch stuff isnt working with his. This is where my fn_selfActions.sqf and compiles.sqf is for epoch. D:\Steam Library\SteamApps\common\arma 2 operation arrowhead\@DayZ_Epoch\addons Its just in your steam folder. Not quite there yet though. There is a bunch of .pbo files in that addons folder and the one you are looking for is dayz_code.pbo. You need to open this file with PBO manager http://www.armaholic.com/page.php?id=16369 you can download it at the bottom of that page. Once you get that installed, open that dayz_code.pbo with that new tool and you will see some folders inside of it. the fn_selfActions.sqf is in the "compile" folder and the compiles.sqf is in the "init" folder. COPY both of these files out of this dayz_code.pbo. If you are hosting your own server and on Chernarus then you want both of these files in your MPMissions\DayZ_Epoch_17.Chernarus. If you want it on a different map, then just pick another folder, but if you are paying for a hosting service, it could be different. Vilayer has their own thing setup to modify the server stuff. But for dedicated server on Chernarus, your paths with now look like... G:\Dayz Server Private\MPMissions\DayZ_Epoch_17.Chernarus\compiles.sqf G:\Dayz Server Private\MPMissions\DayZ_Epoch_17.Chernarus\fn_selfActions.sqf I think the guide that fr1nk linked takes over from here pretty well. You would start at step 3 on that guide. The rest is just changing two file paths in your init.sqf and compiles.sqf so you can use these two new sqf files properly. After all that is setup, go back to Krixes Self BloodBag guide that fr1nk again linked (his first link) and scroll down to the green text that says.. "Installation Instructions For existing custom dayz_mission.pbo and fn_selfActions.sqf:" and follow those short instructions. You jsut put that small bit of code in your new fn_selfActions.sqf and download his player_selfbloodbag.sqf and put it in a new folder in your MPMissions folder, call this folder Scripts so its MPMissions\Scripts\player_selfbloodbag.sqf. If something is unclear, you get stuck, or have any questions about this, please ask. Snowden and Munkeskov 2 Link to comment Share on other sites More sharing options...
Munkeskov Posted October 26, 2013 Author Report Share Posted October 26, 2013 Now it works, thanks to Colonel_Patches and Fr1nk for the help :-) I Think i might have been using some wrong files, because it was the same thing i did last time... Link to comment Share on other sites More sharing options...
Darth_Rogue Posted January 30, 2014 Report Share Posted January 30, 2014 This is not working on Epoch 104. No errors in RPT and everything is installed just like it always has been on previous versions. Link to comment Share on other sites More sharing options...
fr1nk Posted January 30, 2014 Report Share Posted January 30, 2014 Haven't heard of 1.0.4 breaking self-bloodbag. Sure you're using a 1.0.4 version of fn_selfActions.sqf? Link to comment Share on other sites More sharing options...
Clint_102 Posted January 30, 2014 Report Share Posted January 30, 2014 Doesn't work like other scripts uses custom "compiles.sqf" and "fn_slfactions.sqf". Spam in RPT with "File z\addons\dayz_server\system\server_monitor.sqf, line 223" error. And mission never starts. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted January 31, 2014 Report Share Posted January 31, 2014 Haven't heard of 1.0.4 breaking self-bloodbag. Sure you're using a 1.0.4 version of fn_selfActions.sqf? Yep. Pulled it directly out of the new dayz_code.pbo. Referenced the edited complies.sqf in init.sqf in mission file. Referenced the edited selfactions.sqf in compiles. All should be well. No dice. Does the action have to be defined in a new place now? Like in the variables.sqf actions list or in selfactions.sqf? Never had to do that before though. **UPDATE** Nevermind....had a dumbass attack. I commented out the wrong line in compiles.sqf. Was calling the original selfactions file. :/ Link to comment Share on other sites More sharing options...
ValdisMD Posted February 4, 2014 Report Share Posted February 4, 2014 I use this on my server, allways works like a charm. running on 1.0.4 http://www.trainwreckdayz.com/forum/m/17222243/viewthread/9135218-krixes-self-blood-bag-script-epoch need to go throuh a simple registration though. Link to comment Share on other sites More sharing options...
Snowden Posted February 5, 2014 Report Share Posted February 5, 2014 fixed. had an issue where i couldn't cancel any actions (trading, crafting) somehow it was caused by the j0k3r5 stats debug monitor. Link to comment Share on other sites More sharing options...
ViktorReznov Posted February 9, 2014 Report Share Posted February 9, 2014 Hey guyz, new guy here. I got this script from krixes to work but i had to kinda do a workaround. If i placed the 3 files into the "Scripts" folder like the install instructions, then proceeded to source it properly "Scripts\player_selfbloodbag.sqf", i could get it to show on the scroll wheel but would bet a missing script error when used. I had to place it in my core missions folder and i dont like all the clutter. Did i do something wrong? my missions directory (using epoch 1.0.4) is MPMissions\DayZ_Epoch_11.Chernarus Do i need to write all that out if i want to put it in the scripts folder following the instructions. Just keeps the clutter level down Any help would be much appreciated and i can post files upon request Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now