Blaster Posted February 24, 2004 Share Posted February 24, 2004 Hi, I am trying to kill a Rancor by crushing it with a door (Return of the Jedi). However when the door catches the Rancor underneath, it dies but it disappears and seems to get pushed through the floor when it closes. I want it to die but actully make its body stay there when its dead. Any ideas? Link to comment Share on other sites More sharing options...
lassev Posted February 24, 2004 Share Posted February 24, 2004 Is this for MP or SP? And more precisely: Is this for a cinematic or for an actual game situation? Link to comment Share on other sites More sharing options...
Blaster Posted February 25, 2004 Author Share Posted February 25, 2004 It's for single player and I'm not using it as a cinematic. Link to comment Share on other sites More sharing options...
lassev Posted February 25, 2004 Share Posted February 25, 2004 So, basically it's a normal door that is normally usable to the player, and he can also crush the rancor with it? Well, let's see. The way I would most probably try to do it, if the simplest way you already tried is no good, would be to make the door a func_static instead of a normal func_door. Then there should be a trigger to keep an eye on the rancor. When the player uses the button to close the door, and the rancor happens to be under the door, a different script compared to the normal door opening / closing script would launch. Now comes one tricky part. You could either use the kill script command to the rancor. I have heard it leaves the body to lie there, although I cannot confirm this because I don't remember if I have actually used it myself. This might produce the effect you want, however, the manner the rancor dies in uncertain, and might not be suitable for the dying under a door situation. Or you could change the rancor to behavior_state "cinematic" and then play a suitable "being crushed under a door" animation (if there is such) when the door is closed. However, the door wouldn't be closed all the way to the end, but just enough to make it look like as if the rancor was crushed under it, yet not pushing the poor beast inside the floor. However, although this would leave the rancor lying comatose on the floor, it wouldn't be dead, and might react, if the player goes to mess with it. This drawback might, however, be sorted out with some script command. Well, that would obviously require some intermediate/advanced scripting. If you are familiar with scripting, give it a shot. If you are not, or are not too keen on my view, then you must just think of another way. Link to comment Share on other sites More sharing options...
RenikDelan Posted March 23, 2004 Share Posted March 23, 2004 Well where he's doing SP, I'm doing MP. I suppose in that situation, I'd be just plain SOL right? Link to comment Share on other sites More sharing options...
lassev Posted March 24, 2004 Share Posted March 24, 2004 Scripting is supported in JA MP. Basically I cannot think right away any reason why this method couldn't work also in MP. However, I have never scripted anything for MP, so I cannot confirm it either. Give it a try, if you are willing to spend the time to learn the methods. Link to comment Share on other sites More sharing options...
lukeskywalker1 Posted March 25, 2004 Share Posted March 25, 2004 Now comes one tricky part. You could either use the kill script command to the rancor. I have heard it leaves the body to lie there, although I cannot confirm this because I don't remember if I have actually used it myself. Yeah, it stays there.... thats what they used to get dead bodies here and there in JA and JK2. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.