Sign in to follow this  
Followers 0
Nick Stewart

Player corpse falls from destroyed vehicle.

10 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. 

9 people like this

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.

Share this post


Link to post
Share on other sites
Advertisement

Hmm on some servers the vehicle despawn is 5 min at which point your body spots out of the vehicle.

Share this post


Link to post
Share on other sites

I still really hope someone can make a script for this, or the Exile devs will think about it. Lost so much gear due to vehicles blowing up cuz of #ArmaBugs.

Share this post


Link to post
Share on other sites

the funny thing is, when i went to look at adding this in, there is already code to eject the player from vehicle on death, not sure why it doesn't work.


 

Share this post


Link to post
Share on other sites

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
5 people like this

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.

 

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.