Prevent round end from occurring?
I was just wondering if this is possible, or if It's something that can be changed? I basically want it for my frozen throne plugin (some races are given the ability to respawn). And if you are the last person alive and die, you just won't spawn.
Is it possible to change this? So i can like hold off end_round? |
I dont think it is possible, or at least, no one has done yet.
However with a module you could catch TraceLine:s as they happen (when people shoot) and in case the trace hits some guy that has some power, change the trace to not hit anything. this will not work for knifekills, and probably not grenade kills and other kills, it only works with rifles/pistols. |
Quote:
BTW, your module kicks ass, w/o it I wouldn't have moles in my mod (transport to enemy spawn). |
Why not, the guy wouldn't get killed. If you still want him "killed" you can fake a kill...
what module are you referring to now? moles, sounds like my I Spy plugin... |
Yeah that's not a bad idea, I can display a fake kill message then like transport him back to his spawn, so it sorta seems like he died. Is there a way to detemine how much damage would have been dealt? (doubt it :( )
Yes, your i-spy plugin, i got the code from that. |
its true, you dont know the damage.
Still I think it is possible to just call spawn on that player and he will be really spawned as normal, no need to set_user_origin etc. Maybe its possible to intercept damage events though. You could try this once we get register_message running :-) |
Yea good point, that will be interesting :)
|
I don't know about this.... untested...
What if you at death event (happens before real death), and really set his flags to already dead? instead of waiting to get killed falling etc.? Scarzzurs |
Hmm
Quote:
Oh the evil things I could do muhahahaha :twisted: |
Evil? Nah..... I'd say Frikin Awesome! :D
Scarzzurs |
All times are GMT -4. The time now is 11:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.