View Full Version : The death camera...
TheTwistedSpasm
06-17-2002, 04:57 PM
Is there any way to disable it? I have this snazzy idea for the camera to pan up and away from the player, letting you poor saps watch yourself get trampled by Gran. *snickers* The problem is, the death cam takes over, and all I get is the message I put in for test purposes.
------------------
Christianity: Don't knock it if you haven't tried it.
Why should the devil have all the good music? www.thousandfootkrutch.com (http://www.thousandfootkrutch.com)
Try this...
Damaged:
If(Getparam(0) >= Getthinghealth(Player))
Returnex(0);
//Camera code here...
Stop;
------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.
JK editing resources (http://www.tbns.net/GBK/ol/index.htm).
Descent_pilot
06-17-2002, 06:50 PM
You also need to move the player, and replace it with a dummy and play the killed key. GBK's code would just make the player invulerable.
------------------
The Sniper Missions. Current project, The Sniper Missions
Yeah, I kinda thought that went unsaid... http://forums.massassi.net/html/rolleyes.gif
------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.
JK editing resources (http://www.tbns.net/GBK/ol/index.htm).
Descent_pilot
06-18-2002, 06:23 AM
You do mean the first part, don't you? Or is it the second, because you don't like being upstaged. I just like reminding people what they have to do. Most times, its the simple, easy things you forget. http://forums.massassi.net/html/redface.gif
------------------
The Sniper Missions. Current project, The Sniper Missions
[This message has been edited by Descent_pilot (edited June 18, 2002).]
I didnt forget, I just didnt feel like typing out all that code.... Besides, he'd figure it out sooner or later... http://forums.massassi.net/html/wink.gif
------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.
JK editing resources (http://www.tbns.net/GBK/ol/index.htm).
Descent_pilot
06-19-2002, 07:11 AM
I was talking about TheTwistedSpam forgeting, not you GBK. http://forums.massassi.net/html/wink.gif PS no one does like typing out code for that.
------------------
The Sniper Missions. Current project, The Sniper Missions
TheTwistedSpasm
06-20-2002, 10:40 PM
Thanks. I do wanna know, why do I have to create a dummy? Is it because of the ReturnEx(0), which means that the game doesn't know the player's dead? In that case, what if I were to use this in multi? Would I have to cog in the scoring? Lastly, what about the killed message? Does that not get called?
Ok, that was three or four questions more than I planned to ask. Danged train of thought! Sorry.
[This message has been edited by TheTwistedSpasm (edited June 20, 2002).]
Descent_pilot
06-21-2002, 06:40 AM
GBK, I don't like saying those words, so I won't say them. The dummy, that is so you can use the panning camera, watching the player die. ReturnEx(0); just makes the player invurnerable. So, in order to help you further, is this JK or MotS?
------------------
The Sniper Missions. Current project, The Sniper Missions
<font face="Verdana, Arial" size="2">Originally posted by Descent_pilot:
GBK, I don't like saying those words, so I won't say them. </font>
http://forums.massassi.net/html/confused.gif
------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.
JK editing resources (http://www.tbns.net/GBK/ol/index.htm).
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.