Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Please go to this thread and follow my new tutorial and download the newest version of the code. This is an old post and does not represent the code any longer.
New thread is here..........
http://opendayz.net/threads/krixes-self-bloodbag-script.9212/
The best thing to do is to extract the init.sqf, description.sqf and mission.sqm from dayz_code\system\mission. Then copy everything that is in those individual files you extracted and paste it to the bottom end of all the respective files in your mission pbo. DO NOT just copy over the files in the mission PBO! They are not complete! You MUST add the code from the files in the dayz_code pbo into the mission files. That will complete your normal mission files and place them in one, easily-accessible location. From there, edit as normal.
I can tell you from experience that the self blood script does not work in 1.8 as it sits. It needs edited to remove the combat check. Check the discussion thread on OpenDayZ about the script and it will provide instructions.
Also, with SargeAI, make sure to edit the weapons used (in SARconfig.sqf) for the various classes of AIs, as some of the weapons defined may or may not be active.
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf"; //Compile trader configs
call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles
Krixes, I've got an issue where I can no longer fill vehicles with jerry cans. I had to use the auto refuel option due to this. I don't understand code but I know that it involves the self bloodbag script. Any clue as to where I should be looking to fix this up?
A lot of people frown on this idea but me I say to each their own.
My very very basic version of this is this....
Open your dayz_mission.pbo and find init.sqf
add this just before progressLoadingScreen 1.0;
Code:call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles
Now create a folder in your dayz_mission.pbo called custom and create a new empty file called compiles.sqf inside.
Edit the compiles.sqf to look like this.....
Code:fnc_usec_selfActions = compile preprocessFileLineNumbers "custom\fn_selfActions.sqf"; // fnc_usec_selfActions - adds custom actions to dayz code
add the attached fn_selfActions.sqf to your custom folder.
Now lastly add the attached player_selfbloodbag.sqf into your custom folder.
Go in game give urself a bloodbag and use the scroll wheel to select Self Bloodbag and you should be all set!
P.S. Please like this post if you like and it works for you, it would be appreciated!
Have Fun,
Krixes
**Edit - Sorry re-uploaded the player_selfbloodbag.sqf because I had a mistake on the first line lawl!
**Edit2 - Re-Uploaded player_selfbloodbag.sqf once again with Player2's additions.