Blockland Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2014, 02:24:53 AM

Home Help Login Register
+  Blockland Forum
|-+  Files
| |-+  Add-Ons
| | |-+  [v1.2] First Person View On Death (Tumble)
Pages: [1] 2 3 4
Author Topic: [v1.2] First Person View On Death (Tumble)  (Read 6236 times)
Advanced Bot

« January 19, 2014, 10:27:44 PM »

Description: Basically when you die, you will be tumbled in first person view. (Video)

How does it work?: It overwrites the tumble function, fixing a few things, such as the respawn issue. The new tumble function has args with tumble(%object,%firstPerson). It also uses a different vehicle type using the skis' death vehicle. There are no impact sounds, of course this may be added as a separate version.

%object : What is the depending object? A player? An AIPlayer?
%firstPerson : If the client exists, this will be useful, using true (1) or false (0) to decide if the object should go in first person, otherwise, it will just use regular tumble.
There used to be a %time parameter, but it was not really used in the code.

Credits
Badspot - Having the tumble code
Visolator (Me) - Coding most of the mod



Enjoy the mod. Or not..

I do not recommend getting this mod if you are going to use any kind of corpse mods, I am unable to fix this.

(Dropbox) Direct Download Server_FPView_Death

v0.95
  [Fixed] Doing tumble(%obj,1); too many times in a second will make you stuck in first person mode
v1
  [Fixed] Sometimes you tumble in a strange place in the sky when killed (Such as when a zombie kills you)
v1.2
  Removed the AI player code
  Cleaned up code



Suggested Topic: http://forum.blockland.us/index.php?topic=249215.0
« Last Edit: January 22, 2014, 09:58:17 PM by Advanced Bot » Logged
Ad Bot

Full members do not see ads

Lego lad

« January 19, 2014, 10:29:22 PM »

Just saw the suggestion topic lol
Logged
Racerboy

« January 19, 2014, 10:30:05 PM »

I'm so using this for my CS_Office TDM (forced first-person playertype). Nice job.
Logged
Who Cares99

« January 19, 2014, 10:37:35 PM »

Would this be affected by corpse mods?
NVM, it would if it tumbles the actual player.
« Last Edit: January 19, 2014, 10:42:53 PM by Who Cares99 » Logged
Hawt

« January 19, 2014, 10:40:38 PM »

add me for suggesting
Logged
Advanced Bot

« January 19, 2014, 10:44:13 PM »

add me for suggesting
I guess.
« Last Edit: January 19, 2014, 11:14:31 PM by Advanced Bot » Logged
Advanced Bot

« January 19, 2014, 10:54:09 PM »

I am planning to add prefs to it so you can change the bounciness/gravity/etc. of the tumbling in first person.
Logged
BWOB

« January 19, 2014, 11:19:16 PM »

I am planning to add prefs to it so you can change the bounciness/gravity/etc. of the tumbling in first person.
Thats nice but when I tested it I had SMM's corpse mod and it just makes a camera view and shows my body and they stay forever unless I shoot them in a minigame..
Logged
Advanced Bot

« January 19, 2014, 11:21:20 PM »

Thats nice but when I tested it I had SMM's corpse mod and it just makes a camera view and shows my body and they stay forever unless I shoot them in a minigame..
Yea, I guess it doesn't work with any corpse mods. I will add that in the op.

I can't fix that, I don't think there is a way, just don't use it.
Logged
Lego lad

« January 19, 2014, 11:49:26 PM »

Yea, I guess it doesn't work with any corpse mods. I will add that in the op.

I can't fix that, I don't think there is a way, just don't use it.
still very nice mod.
Logged
Who Cares99

« January 20, 2014, 12:08:14 AM »

You should edit the title to show that it doesn't just edit th camera, like "First Person Tumble on Death" or something.
Logged
BWOB

« January 20, 2014, 10:31:58 AM »

When zombie bots kill you it drops the cam from the sky. Also fall damage deaths make you die in third person.
Logged
Advanced Bot

« January 20, 2014, 10:42:06 AM »

When zombie bots kill you it drops the cam from the sky.
Interesting, I will take a look at that.

EDIT: Fixed that issue.

The fall damage issue, I have been aware of this issue, but I have already tried fixing that, it will sometimes work and sometimes will not work. I am not sure how to fix that.
« Last Edit: January 20, 2014, 03:02:10 PM by Advanced Bot » Logged
xSetrox

« January 20, 2014, 12:29:50 PM »

fuck yeah
Logged
pwningmachine1

« January 20, 2014, 04:08:44 PM »

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.
Logged
Pages: [1] 2 3 4  


Login with username, password and session length

Powered by SMF 1.1.20 | SMF © 2013, Simple Machines
Page created in 0.107 seconds with 15 queries.