is there a way to set a timed respawn during rounds

Post here if you need help setting up your server, etc.
Post Reply
User avatar
TalonTSM
On Lightcycle Grid
Posts: 10
Joined: Mon May 25, 2009 10:59 pm

is there a way to set a timed respawn during rounds

Post by TalonTSM »

just wondering if i could respawn ppl on my server like 5 seconds or so after death or is that not possible??
Word
Reverse Adjust Outside Corner Grinder
Posts: 4260
Joined: Wed Jan 07, 2009 6:13 pm

Re: is there a way to set a timed respawn during rounds

Post by Word »

/admin respawn_time 5
(after you've installed sty)
User avatar
TalonTSM
On Lightcycle Grid
Posts: 10
Joined: Mon May 25, 2009 10:59 pm

Re: is there a way to set a timed respawn during rounds

Post by TalonTSM »

i have been trying to install sty for weeks im trying to avoid it cuz its just problem after problem is there another way?
User avatar
DDMJ
Reverse Outside Corner Grinder
Posts: 1882
Joined: Thu Jun 08, 2006 12:15 am
Location: LA, CA, USA, NA
Contact:

Re: is there a way to set a timed respawn during rounds

Post by DDMJ »

respawning only works with the sty branch, sorry
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: is there a way to set a timed respawn during rounds

Post by Z-Man »

Or as the very crude hack implemented for testing. For that, you need to compile the server with "-enable-respawn" if it's fresh from bzr/svn or "-DRESPAWN_HACK" appended to CXXFLAGS if it's not. Then you also have the RESPAWN_TIME configuration item.
User avatar
TalonTSM
On Lightcycle Grid
Posts: 10
Joined: Mon May 25, 2009 10:59 pm

Re: is there a way to set a timed respawn during rounds

Post by TalonTSM »

so how do i do that drespawn hack thing or how would i install sty patch if im using cygwin on windows im all the way to the part where i make but there are errors at the end and please explain it as simple as possible lol
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: is there a way to set a timed respawn during rounds

Post by Z-Man »

Ah. As said in the other thread, cygwin is not supported; it's probably not hard to get it to work if you know your way around, but you'd be on your own there. We use code::blocks with mingw to build stuff on Windows. Search for "Windows development system" on the wiki, you'll find all instructions there.
User avatar
TalonTSM
On Lightcycle Grid
Posts: 10
Joined: Mon May 25, 2009 10:59 pm

Re: is there a way to set a timed respawn during rounds

Post by TalonTSM »

so how would i "append" this DRESPAWN_HACK to cxxflags???
User avatar
Z-Man
God & Project Admin
Posts: 11589
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: is there a way to set a timed respawn during rounds

Post by Z-Man »

Before you do that, you should compile the source unmodified. Have you found and followed the code::blocks instructions already?

If you have, the easiest way is to open up the file src/tron/gGame.cpp and just add the line

Code: Select all

#define RESPAWN_HACK
somewhere at the top. Or search the file for RESPAWN_HACK, there's a 'uncomment this line to enable respawning' bit you just have to uncomment.
starrynte
On Lightcycle Grid
Posts: 26
Joined: Thu Jun 25, 2009 12:59 am

Re: is there a way to set a timed respawn during rounds

Post by starrynte »

or you can use the build infamous provided, http://fight-clan.org/stuff/Builds/arma ... .win32.exe (it has sty included)
Post Reply