Raised This Month: $51 Target: $400
 12% 

Prevent round end from occurring?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-12-2004 , 09:06   Prevent round end from occurring?
Reply With Quote #1

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?
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-12-2004 , 10:14  
Reply With Quote #2

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.
Johnny got his gun is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-12-2004 , 10:16  
Reply With Quote #3

Quote:
Originally Posted by Johnny got his gun
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.
I like that idea for the damage problem, but not the end_round "problem"

BTW, your module kicks ass, w/o it I wouldn't have moles in my mod (transport to enemy spawn).
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-12-2004 , 10:19  
Reply With Quote #4

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...
Johnny got his gun is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-12-2004 , 10:22  
Reply With Quote #5

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.
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 03-12-2004 , 10:29  
Reply With Quote #6

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 :-)
Johnny got his gun is offline
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 03-12-2004 , 10:30  
Reply With Quote #7

Yea good point, that will be interesting
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-14-2004 , 03:24  
Reply With Quote #8

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
Scarzzurs is offline
Send a message via MSN to Scarzzurs
MagicShot
Senior Member
Join Date: Mar 2004
Location: MN
Old 03-14-2004 , 04:41   Hmm
Reply With Quote #9

Quote:
Originally Posted by Johnny got his gun
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 :-)
register_message... this one ought to be interesting on to work with...
Oh the evil things I could do muhahahaha
__________________
|v|agic$hot
.
Without a Sound
MagicShot is offline
Send a message via MSN to MagicShot Send a message via Yahoo to MagicShot
Scarzzurs
Junior Member
Join Date: Mar 2004
Location: Denmark
Old 03-14-2004 , 05:08  
Reply With Quote #10

Evil? Nah..... I'd say Frikin Awesome!

Scarzzurs
Scarzzurs is offline
Send a message via MSN to Scarzzurs
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode