• Defibrillator weapon!
    12 replies, posted
Alright FP, So here is what I need. I need a new weapon. I need a defibrillator weapon. This defib will work like this: 1. I see a ragdoll on the ground, somone is waiting for their spawn timer to hit 0. 2. I pull out my defib. 3. I left click on the body and he is revived! Skipping his spawn timer. (P.S. He spawns right where the body was.) 4. we ride off on a pony into the sunset. Like the example? Thought you would. Hopefully it makes sense. Please tell me if it is something that can not be done. I would rather be told then to have no responses to this thread. (P.S. If it helps, I need it to work hand-in-hand with this script: [url]http://www.facepunch.com/threads/1026429-Death-Factor![/url]) Thanks for reading!
[QUOTE=Dwatring;26070305]Alright FP, I got a toughie for ya! But I'm sure the greatest Lua coders on earth can handle even this! So here is what I need. I need a new weapon. I need a defibrillator weapon. This defib will work like this: 1. I see a ragdoll on the ground, somone is waiting for their spawn timer to hit 0. 2. I pull out my defib. 3. I left click on the body and he is revived! Skipping his spawn timer. (P.S. He spawns right where the body was.) 4. we ride off on a pony into the sunset. Like the example? Thought you would. Hopefully it makes sense. Please tell me if it is something that can not be done. I would rather be told then to have no responses to this thread. (P.S. If it helps, I need it to work hand-in-hand with this script: [url]http://www.facepunch.com/threads/1026429-Death-Factor![/url]) Thanks for reading![/QUOTE] For fuck sake stop making your posts sound so gay. Also this shouldn't be to hard, I will work on it when I'm not busy.
Lol! I'll try not to sounds so "gay." Thanks for helping out too.
[QUOTE=Dwatring;26071208]Lol! I'll try not to sounds so "gay." Thanks for helping out too.[/QUOTE] Alright FP, I got a toughie for ya! I cringed at that. Lol
HAHA! I removed it. I just re-read it and it actually does sound a little "gay." By the way I really appreciate the help god!
Anyways does your gamemode, or what you are using this with use assmod or does your gamemode have some sort of ragdoll function?
It does. I am using Exsto as an admin module! The console command would be "exsto ragdoll (playername)" Like I said before I appreciate the help!
[QUOTE=Godlike2;26070923]For fuck sake stop making your posts sound so gay. Also this shouldn't be to hard, I will work on it when I'm not busy.[/QUOTE] He type's like a regular cheery dude. You type like a complete bumhole. Thanks for trolling.
^Stop flaming... the only way I think you could do this is... somehow put a string inside the ragdoll entity so that when you die it stores the "owner", and the coordinates(x,y,z) in the ragdoll, and do a trace to like 500 units to see if there is a person who died in that area, if he did, and your defib is out, put text on the screen that says "Left click to jump start this noob's heart" or something like that, and when you left click it spawn the person in the stored coordinates, maybe with less health if you want. The only way I see this isn't possible is id you cant recognize the ragdoll's "owner" with a trace, or any way for that matter...
I believe this is completely possible. I have seen sweps like this before, though not on public download.
Ive done this twice... Once in my MW2 pack and once in my L4D2 pack.
I think your copying Noobonic Plague's RP... What, with how you described it in the link you provided... and how you described it to work... But it's really easy to do, you just have to make it so the person is ragdolled on 1 HP, and the Ragdoll is linked to the player's entity, then you take a healing entity or a Medkit to heal them and get them back up. and if you want to be real secure, make it so they auto get up after 300 seconds with 5 HP.
Could anyone attempt this?
Sorry, you need to Log In to post a reply to this thread.