Author |
Message |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Fri Nov 23, 2007 12:36 pm Post subject: core module : respawn |
 |
|
|
|
what module of asss core handles a players respawn? it would have the call back for mykill() and then a timer to wait for time_respawn_after_kill or w.e. that cfg item is called. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Fri Nov 23, 2007 8:45 pm Post subject: |
 |
|
|
|
None of them. That's handled by continuum. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:33 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Fri Nov 23, 2007 9:02 pm Post subject: |
 |
|
|
|
oh. thank you. |
|
Back to top |
|
 |
Animate Dreams Gotta buy them all! (Consumer whore)

Age:37 Gender: Joined: May 01 2004 Posts: 821 Location: Middle Tennessee Offline
|
Posted: Mon Nov 26, 2007 9:24 pm Post subject: |
 |
|
|
|
The client spawns the player, and doesn't even notify the server that the player has been respawned, IIRC. I WISH it did. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:26 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Tue Nov 27, 2007 10:44 pm Post subject: |
 |
|
|
|
you can force the player to spawn in a small box in the corner of the map and then warp him to where he's supposed to start, the player will barely notice the difference and you can respond to player spawn events as well as have alternate spawn locations based on some condition (I think Desert Storm used something similar for their multiple spawn point bot). _________________ SubSpace Discretion: A Third Generation SubSpace Client |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Wed Nov 28, 2007 12:14 am Post subject: |
 |
|
|
|
I used to do the whole spawn-in-a-box trick. You can be a bit smarter with asss though.
Set a flag when they die, and listen for the next position packet with an actual position. When you find it, trigger your respawn event. hscore_spawner has all the gory details. |
|
Back to top |
|
 |
Animate Dreams Gotta buy them all! (Consumer whore)

Age:37 Gender: Joined: May 01 2004 Posts: 821 Location: Middle Tennessee Offline
|
Posted: Sat Dec 01, 2007 1:03 pm Post subject: |
 |
|
|
|
Dr Brain wrote: | I used to do the whole spawn-in-a-box trick. You can be a bit smarter with asss though.
Set a flag when they die, and listen for the next position packet with an actual position. When you find it, trigger your respawn event. hscore_spawner has all the gory details. |
You could always turn it into a nice module that registered a CB_SPAWN. That would be the ideal solution, I'd think. |
|
Back to top |
|
 |
|