Jump to content

[DEATH BODY LOST EVENT] 1.6


juandayz

Recommended Posts

  On 5/25/2017 at 9:54 PM, dayz noob said:

i havent had time to test the new edit juan put up, hopefully it works cos its a pretty cool event :)

 

Expand  

to prevent the despawn i just add this

_deathcorpse setVariable ["bodyName","unknown",false];

the sleep function i think do not work in the case of despawn.. cuz the epoch clean_up  is who delete the death bodys,, not the script.

anyway is very strange that this dissapear so fast.. cuz the first body is not really a death character.. just an AI playing an animation. this is why you need shoot on him.

 

I remember in one of my first test bwfore post it.. i was suffer the same (AI the body).. despawn quick,... and this was a config in my init.sqf about the local Ai amount around players)

Link to comment
Share on other sites

@juandayz thanks for the fast reply, i will add that line in at our next restart,apart form the body despawning quick my players are loving the event :)
i should of realized about the body needing a name as that was happening on ai convoys as well, when you shoot the ai he goes to dead body like any other ai so clean up grabs him :)

our next restart is just under 2 hours , will report back to let u know :)

Link to comment
Share on other sites

  On 5/25/2017 at 10:08 PM, dayz noob said:

@juandayz thanks for the fast reply, i will add that line in at our next restart,apart form the body despawning quick my players are loving the event :)
i should of realized about the body needing a name as that was happening on ai convoys as well, when you shoot the ai he goes to dead body like any other ai so clean up grabs him :)

our next restart is just under 2 hours , will report back to let u know :)

Expand  

other thing to try.. to check if is not the Ai and the animation who despàawn the body.. is spawn the body.. before the condition of player present be true..

and setdamage on the Ai.. to find it death..  this way see:

  Reveal hidden contents

so using this way.. the event must wait for players nearest (20mts from the Ai).. then gonna spawn the Ai.. and kill them

Link to comment
Share on other sites

  On 5/27/2017 at 9:49 PM, Robert261171 said:

been running a few tests and still the same, the body disappears as you walk up to it.. 

Expand  

do you try with this?

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/27/2017 at 9:51 PM, juandayz said:

do you try with this?

  Reveal hidden contents

 

Expand  

I will test it now

Link to comment
Share on other sites

@juandayz same results for me , body dissapears instantly (needs to be shot first) and the other edit no body at all , also the versions where you shoot the body it still despawns very fast whilst u are looting the items. for me that version would be fine, dose not hurt players to use  bullet, but body needs to stay on map longer so payers can loot it with out having to be super fast

Link to comment
Share on other sites

  On 5/29/2017 at 7:08 PM, dayz noob said:

@juandayz same results for me , body dissapears instantly (needs to be shot first) and the other edit no body at all , also the versions where you shoot the body it still despawns very fast whilst u are looting the items. for me that version would be fine, dose not hurt players to use  bullet, but body needs to stay on map longer so payers can loot it with out having to be super fast

Expand  

ok,, i have a better idea.. we gonna forgot the AI.. and gonna spawn a dead body (object) and the loot on the ground.. this way i guess gonna fix all this issues.. give me a few minutes please.. and i come back with a code.

Link to comment
Share on other sites

@dayznoob @Robert261171

its the ryan soldier now :D

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/29/2017 at 7:34 PM, iben said:

Hi mate,

guys saying random(3) returns number from 0,1,2 array are right I think. You can check this source to be sure.
I know, it's confusing, but as you know, you selecting first element in array: _this select 0;

Cheers

Expand  

good to know! tnks iben

 

so i was fine:

floor random 10;   have 9 cases

Link to comment
Share on other sites

  On 5/31/2017 at 5:30 PM, dayz noob said:

I have tested the new edit several times in the last 24 hours or so, not seen a dead body, even with admin tools looking for a dead body none showed up in the mission area

Expand  

yes i was spawning an object like a AI. gonna upload it in my server to not made you test a lot of codes

Link to comment
Share on other sites

@dayz noob  test it and works..

  Reveal hidden contents

to make your test.. just change this line

_marker = createMarker ["DeathLostBody", _position];

by

_marker = createMarker ["DeathLostBody", _mainpos];

Then you will know whers exactly the body

Link to comment
Share on other sites

  On 6/1/2017 at 9:10 PM, dayz noob said:

dose the body auto spawn or is it done when you are with in a distance of it ? dose the ai show as dead body on antihack ? the code for showing body you give if i am not mistaken would show to everybody exactly where the body is ?

Expand  

no, the code do not show the exact position

 to make your test.. just change this line

_marker = createMarker ["DeathLostBody", _position];

by

_marker = createMarker ["DeathLostBody", _mainpos];

Then you will know whers exactly the body 

*The body spawns.. the loot wait until thers players nearest to spawn.

Link to comment
Share on other sites

  Reveal hidden contents

test and works for me... Many thanks juandayz for this awesome event!

Link to comment
Share on other sites

  On 6/1/2017 at 10:01 PM, juandayz said:

no, the code do not show the exact position

 to make your test.. just change this line

_marker = createMarker ["DeathLostBody", _position];

by

_marker = createMarker ["DeathLostBody", _mainpos];

Then you will know whers exactly the body 

*The body spawns.. the loot wait until thers players nearest to spawn.

Expand  

thank you bud, i misunderstood the code :) i will add the change to code at our next restart if i am still up, if not will be early tomorrow

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...