This is no easy task but it can be done.
You will need to remove this entire section...........
// check if infected
if (random(_infectionChance) < 1) then {
r_player_infected = true; //set players client to show infection
player...
Es ist, weil Base Building kommt mit seiner eigenen fn_selfactions.sqf
Öffnen Sie Ihre dayz_mission.pbo und gehen Sie zu "dayz_code \ compile \ fn_selfactions.sqf" und fügen Sie diese in seinem Inneren.
// ---------------------------------------Krixes Self Bloodbag...
K i think the issue has to do with Taviana. Extract the fn_selfactions.sqf that is in your original dayz taviana addons folder @taviana/addons/dayz_code.pbo/compile directory and follow the custom fn_selfactions.sqf installation. Believe this will fix the issue.
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/
Can I see your dayz_mission.pbo.. if you do not wish to upload it to the public you may send me a private message including a download to it.
I don't see anything wrong here i this code.
Im glad you got it working!
This one is a way better. Good job. :)
You can change most of the settings in the config area at the top of player_selfbloodbag.sqf
This line as it is right now is a syntax error and will not work......
if (s_player_selfBloodbag < 0) && ( r_player_blood < 12000 )then {
The line should look like this...........
if (s_player_selfBloodbag < 0 && r_player_blood < 12000) then {
Thank's I have been meaning to do a small update fixing a few of these little tweaks here and there. I have been busy as of late with my new server going up and have not been able to check on things.
This is definitely a strange bug I have never heard of. If you like you may show me your...
I see, well to my knowledge there is no way around using fn_selfActions.sqf... with epoch you may need to extract the original from the dayz_code.pbo from the dayz epoch addons folder as I almost guarantee they added other stuff in there. Then just follow my custom day_mission.pbo portion for...
Try replacing this line in fn_selfActions.sqf......
if ("ItemBloodbag" in _mags) then {
With this.......
if (("ItemBloodbag" in _mags) && ((player distance zonestary) < 50)) then {
If this does not work, then we can use a public variable... just let me know if it does.. im unsure if...
Ok, open the player_selfbloodbag.sqf and just above this part..............
if(_bloodbagTime < _bloodbagLastUsedTime) exitWith { // If cooldown is not done then exit script
cutText [format["You may not use Self Bloodbag this soon please wait %1!",(_bloodbagTime - _bloodbagLastUsedTime)]...
I would need to see your dayz_mission.pbo sir! (It's much easier to debug that way)
Holy crap that's feature I had forgot to add! lawl
There are a couple of ways to do this. One is leaving the option available just so you know its there but not actually allowing you to use the bloodbag...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.