[v1.2] First Person View On Death (Tumble)

Author Topic: [v1.2] First Person View On Death (Tumble)  (Read 13737 times)

Sometimes when I die from getting shot, the screen flickers a screenshot of me getting shot before respawning me. And also, it auto respawns me too.
You are the chosen one.
Come forth and seek out the golden brick!

I really LOVE this mod but in lava it does not do the First Person Death.

Sometimes when I die from getting shot, the screen flickers a screenshot of me getting shot before respawning me. And also, it auto respawns me too.
Not sure how this happens, I have been testing it a lot in many ways, other than environments like water/lava.

I really LOVE this mod but in lava it does not do the First Person Death.
I will take a look at that.

The forget is up with this code?

         %trans = %obj.getTransform();
         if(!strLen(%trans))
            %trans = %killer.getTransform();


Why are you spawning bodies at the position of the killer player if it exists, and if it doesn't, the position of the client who killed them? If the killer's player is alive, bodies spawn at the killer. If they aren't, two errors are displayed and the bodies spawn at 0 0 0.

         if(isObject(%obj.tempbrick))
            %obj.tempbrick.delete(); //Make sure we don't have this glitch


So whenever I kill somebody, my ghost brick disappears? Makes sense..

   function serverCmdUseTool(%this,%slot)
   {
      if(%this.isDown)
         return;
      Parent::serverCmdUseTool(%this,%slot);
   }


Uhh.. they don't have a player anyway, you deleted it.

Parent::onDeath(%this,%obj,%killer,%type,%area);

You are deleting the player before calling this function. This means errors every time somebody dies.

%body.clearTools();

Just.. no.

         if(!%player.corpse)
            %player.addHealth(-%vel);


Why would a non-corpse player be mounted to the corpse vehicle..?

I could go on and on about several other things, but I think you get the point.

Would it be possible to make a corpse mod compatible edition via mounting a camera to the vehicle used by the corpse?

Can you remove the blood on HUD?

The forget is up with this code?

         %trans = %obj.getTransform();
         if(!strLen(%trans))
            %trans = %killer.getTransform();


Why are you spawning bodies at the position of the killer player if it exists, and if it doesn't, the position of the client who killed them? If the killer's player is alive, bodies spawn at the killer. If they aren't, two errors are displayed and the bodies spawn at 0 0 0.

         if(isObject(%obj.tempbrick))
            %obj.tempbrick.delete(); //Make sure we don't have this glitch


So whenever I kill somebody, my ghost brick disappears? Makes sense..

   function serverCmdUseTool(%this,%slot)
   {
      if(%this.isDown)
         return;
      Parent::serverCmdUseTool(%this,%slot);
   }


Uhh.. they don't have a player anyway, you deleted it.

Parent::onDeath(%this,%obj,%killer,%type,%area);

You are deleting the player before calling this function. This means errors every time somebody dies.

%body.clearTools();

Just.. no.

         if(!%player.corpse)
            %player.addHealth(-%vel);


Why would a non-corpse player be mounted to the corpse vehicle..?

I could go on and on about several other things, but I think you get the point.
I am not sure why the addHealth code is in there.

I will fix those other codes.

Edit: Removed them, I wasn't sure why I even planned that kind of coding, it didn't make any sense.
« Last Edit: January 21, 2014, 06:34:21 PM by Advanced Bot »

I just tried out dying in the lava, and a few other things, removing that AI code has seemed to fix everything.

Actually, I am not so sure, it seems to work on and off. Trying to see how it is happening.
« Last Edit: January 21, 2014, 08:15:36 PM by Advanced Bot »

I supported this in the suggestion topic. Good job


Anything I should add?
Fix crashing when I get killed by a bot thats near me. Using this addon, I spawned a bot from a hole, let it kill me, and BL either crashes when it kills me or when it damages me.(Had to be really close to it.)

Anything I should add?

Can you disable the auto respawn with it? Possibly make it a RTB preferance?

Overall I kinda dislike this, I'd rather use a corpse mod.
It is really a bummer how this cannot work with corpse mods. There must be some way that you can combine them.
I have noticed that only the default player types work with this. The parkour playertype does not work with it.
Also, I dislike how it doesn't let you view yourself falling all the way off a cliff, it just dissappears and you respawn. Please fix that.

Overall I kinda dislike this, I'd rather use a corpse mod.
It is really a bummer how this cannot work with corpse mods. There must be some way that you can combine them.
I have noticed that only the default player types work with this. The parkour playertype does not work with it.
Also, I dislike how it doesn't let you view yourself falling all the way off a cliff, it just dissappears and you respawn. Please fix that.
I cannot combine them with the corpse mods. It is pretty glitchy.

I have tried and it doesn't work well. This mod only works if you don't have any body related mods when they die.

Once I am able to code again, I will keep trying to fix it.

Is there anyway to make it so you don't leave a corpse at all?
Whenever you get killed, and tumble in first person, sometimes you catch a glimpse of your now-dead body, and it kind of ruins the aesthetic a little...