El Rabito

Bury Corpse Script (v0.6)

22 posts in this topic

I made some changes & adaptations + to the hide body script. Now you need a "Exile_Melee_Shovel" equipped in the second weapon slot to hide a corpse and instead of just deleting the body it plays a animation and creates grave after you buried the corpse.

(Adapted from [VNM]cobra4v320 HideBody Script - http://exile.majormittens.co.uk/profile/67632-vnm-cobra4v320/)
 

#Changes in V 0.6
- Error fix (Caused the body to sink into the ground with the grave)

Download (Googledrive)
 

Quote

#####################################        
#############      INSTALLATION     #########
#####################################

##>1. Copy the BuryCorpse.sqf in in the folder \Server\mpmissions\Exile.YOURMISSION\custom\
##>2. Apply the changes & adds listed below to the files in the folder \Server\mpmissions\Exile.YOURMISSION\
##>3. Add BE filter

##########################################################
############# CHANGE THE LINES IN -> File "config.cpp"      ############
#############             FROM (DEFAULT EXILE)                          ############
#########################################################

class HideCorpse: ExileAbstractAction
            {
                title = "Hide Body";
                condition = "!(alive ExileClientInteractionObject) && ('Exile_Melee_Shovel' isEqualTo (currentWeapon player))";
                action = "['HideBody', (_this select 0)] call ExileClient_action_execute";
            };
            
#########################################
#############                CHANGE              ##########
#############                      TO                  ##########
#########################################

class HideBody: ExileAbstractAction
        {
            title = "<t color='#ff0000'>Bury corpse</t>";
            condition = "!(alive ExileClientInteractionObject) && ('Exile_Melee_Shovel' isEqualTo (currentWeapon player))";
            action = "_this call VNM_fnc_Hidebody";
        };   
            
    
###############################################################
#############                ADD THE LINES IN -> File "init.sqf"               #############
###############################################################

//BuryCorpse
VNM_fnc_Hidebody = compileFinal preprocessFileLineNumbers "Custom\BuryCorpse.sqf";

############################################
#############       BATTLEYE                       ############
############################################

You have to add BE filters yourself. So install the script, use it and get kicked,
and then follow the tutorial below to add filters step by step.

Filter tool: https://jamiechivers.com/A3APTemp/BEF.php

Edited by El Rabito
  • Like 6

Share this post


Link to post
Share on other sites
Advertisement
8 hours ago, NeverAgain said:

Wont work any update?

It's still working, you probably made something wrong. You have to equip the shovel like in the video and then move around the corpse and the "Bury corpse" action should appear.

Share this post


Link to post
Share on other sites
11 hours ago, El Rabito said:

It's still working, you probably made something wrong. You have to equip the shovel like in the video and then move around the corpse and the "Bury corpse" action should appear.

Hmm i copy BuryCorpse.sqf to mpmission/custom/bury/BuryCorpse.sqf

And change in config.cpp to

class HideBody: ExileAbstractAction
		{
			title = "<t color='#ff0000'>Bury corpse</t>";
			condition = "!(alive ExileClientInteractionObject) && ('Exile_Melee_Shovel' isEqualTo (currentWeapon player))";
			action = "_this call VNM_fnc_Hidebody";
		};	

then i add this to init.

//BuryCorpse
VNM_fnc_Hidebody = compileFinal preprocessFileLineNumbers "Custom\Bury\BuryCorpse.sqf";

 

But if i try hide body... wont work like video

Here is mine.

 

Share this post


Link to post
Share on other sites

I am not sure what version you use, because in my version there is no progress bar. I looked at my files (same version like in the download) and it's working fine. So the issue must be somewhere else ;-)

Share this post


Link to post
Share on other sites
7 hours ago, El Rabito said:

I am not sure what version you use, because in my version there is no progress bar. I looked at my files (same version like in the download) and it's working fine. So the issue must be somewhere else ;-)

strange ... some idea?

 

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.