Nick Stewart

Player corpse falls from destroyed vehicle.

21 posts in this topic

After many "behind the wheel" deaths, I would like to suggest that a players corpse falls out of the vehicle when the vehicle is destroyed or that you are given the option to do something to make the inventory of the corpse available.

Be it from a deadly AI rocket, mine, explosive charge, or simply ramming into a bicycle which happily spawned in the middle of a highway, we have all "crashed and burned". It is frustrating to return to your corpse only to find that you can not access the inventory of the corpse because it is slumped over the wheel of your burned out vehicle. You can see it.. you just can't get to it.

Perhaps we can make it a scroll wheel option "eject corpse" or "recover remains", or "remove kebab" lol. 

  • Like 10

Share this post


Link to post
Share on other sites

That is frutrating I know I have been there, you maybe able to get around this by making the vehicle cleanup time faster then the corpse cleanup though.

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement
Guest

Simple and basic salvage vehicle implementation.

SalvageVehicle.sqf

private ["_salvage"];
player playMove "AinvPknlMstpSnonWnonDr_medic1";
sleep 10;
deleteVehicle (_this select 0);

config.cpp (add for each type like car, air, boat...)

		// Salvage Vehicle
            class Salvage: ExileAbstractAction
            {
                title = "Salvage Vehicle";
                condition = "(!(alive (ExileClientInteractionObject)))";
                action = "_this call NR_fnc_SalvageVehicle";
            };

initPlayerLocal.sqf

NR_fnc_SalvageVehicle = compileFinal preprocessFileLineNumbers "SalvageVehicle.sqf";

Your welcome.

PS: Please, hit Like if you like or use. Video example:

https://tlgur.com/d/vg3Eyv83

Edited by [4THC] NoRulez
  • Like 4

Share this post


Link to post
Share on other sites
On 11/12/2016 at 5:36 AM, [4THC] NoRulez said:

Simple and basic salvage vehicle implementation.

SalvageVehicle.sqf


private ["_salvage"];
player playMove "AinvPknlMstpSnonWnonDr_medic1";
sleep 10;
deleteVehicle (_this select 0);

config.cpp (add for each type like car, air, boat...)


		// Salvage Vehicle
            class Salvage: ExileAbstractAction
            {
                title = "Salvage Vehicle";
                condition = "(!(alive (ExileClientInteractionObject)))";
                action = "_this call NR_fnc_SalvageVehicle";
            };

initPlayerLocal.sqf


NR_fnc_SalvageVehicle = compileFinal preprocessFileLineNumbers "SalvageVehicle.sqf";

Your welcome.

PS: Please, hit Like if you like or use. Video example:

https://tlgur.com/d/vg3Eyv83

This needs to be moved to the scripts section since it works well. I am just making sure the mysql is deleting them too.

 

  • Like 1

Share this post


Link to post
Share on other sites
Guest

I think with that but this script is essentialy "Hide Body script" from @Natu adapted to be used in vehicles.

I try to add respect/poptabs to salvage, but i don't know how can do it (but needs to run in server, this script runs in local).

I think too with add some objects spawned like wheels, scrap metal, etc. This not give poptabs or respect directly but can be solded in the trader. Maybe when I have some time work again with this. For now can be a cherry pick for more intensive forum users.

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.