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

Respawn on death place


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xyellowhdx
Member
Join Date: Aug 2013
Old 11-01-2014 , 05:56   Respawn on death place
Reply With Quote #1

Hi,
I have set my server with this cvar
mp_respawn_on_death_t 1
mp_respawn_on_death_ct 1

And i want to know if we are able to make they spawn at their death location.
Thanks in advance
xyellowhdx is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 11-01-2014 , 12:13   Re: Respawn on death place
Reply With Quote #2

Attached Files
File Type: sp Get Plugin or Get Source (respawnAtDeath.sp - 571 views - 1.9 KB)
thecount is offline
xyellowhdx
Member
Join Date: Aug 2013
Old 11-01-2014 , 14:07   Re: Respawn on death place
Reply With Quote #3

Thanks a lot! It's very helpful for our train server for my team.
Is there a way to make them respawn without the "fall" ? Because the ydon't spawn at the ground, they spawn, and fall to the ground
xyellowhdx is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 11-01-2014 , 16:04   Re: Respawn on death place
Reply With Quote #4

Quote:
Originally Posted by xyellowhdx View Post
Is there a way to make them respawn without the "fall" ? Because they don't spawn at the ground, they spawn, and fall to the ground
The plugin takes the location of where they died, and teleports them there when they are respawned. So, maybe they died in the air or maybe it spawns them above the ground to make sure they aren't stuck inside the ground. To answer your question, I would not know how to spawn them exactly on the ground without manually altering the y-axis value. I could create a offset convar so that you could test around different values until you find a working one.
thecount is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 11-01-2014 , 16:12   Re: Respawn on death place
Reply With Quote #5

Use this version if you want. You can set "mp_respawn_offset" to a number from 1 to 200. The greater the value, the more it will pull the player down. Once you find a suitable value, just use that as a default in your server.cfg
Attached Files
File Type: sp Get Plugin or Get Source (respawnAtDeath.sp - 505 views - 2.2 KB)

Last edited by thecount; 11-01-2014 at 16:37. Reason: Realized I put a faulty version of the plugin up
thecount is offline
Mires
Junior Member
Join Date: Jul 2006
Old 11-22-2014 , 14:45   Re: Respawn on death place
Reply With Quote #6

could someone make this for tf2?
Mires is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 11-22-2014 , 15:57   Re: Respawn on death place
Reply With Quote #7

Quote:
Originally Posted by Mires View Post
could someone make this for tf2?
This does work for TF2. mp_respawn_on_death_t would be for the Red team, and mp_respawn_on_death_ct would be for the Blue team.
thecount is offline
Mires
Junior Member
Join Date: Jul 2006
Old 11-22-2014 , 16:23   Re: Respawn on death place
Reply With Quote #8

ah ok

i got it now :S

thx for reply

Last edited by Mires; 11-22-2014 at 16:47.
Mires is offline
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 20:00.


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