Any way to end a round?

Post here if you need help setting up your server, etc.
Post Reply
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Any way to end a round?

Post by dukevin »

I'm trying to create a racing map with a targetzone at the end. target_declare_winner 1 doesn't work anymore in latest sty-ct, so I also want to ask a broader question.

Besides killing everyone or spawning a winzone, is there any other way to end a round (not match)?
Image
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Any way to end a round?

Post by dukevin »

oops, I realized I posted this under strategy, should be under support.
Image
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Re: Any way to end a round?

Post by Z-Man »

Not that I would know. What's wrong with spawning a winzone on top of the target zone?
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Any way to end a round?

Post by dukevin »

Because once someone hits the finish, it displays a 20 second timer to allow for other people to finish before the round ends. Overlaying a winzone would end the round immediately.
Image
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: Any way to end a round?

Post by INW »

You should find animuson from Rogue Tronners. He used to have racing scripts with round end timers. He knows all of it.
User avatar
Clutch
Shutout Match Winner
Posts: 1008
Joined: Fri Aug 28, 2009 5:53 pm
Location: A frozen wasteland

Re: Any way to end a round?

Post by Clutch »

Here's their forum if you want to talk to him :P just incase your too lazy to google "rogue tronners" like I just did :P
Boxed
Word
Reverse Adjust Outside Corner Grinder
Posts: 4258
Joined: Wed Jan 07, 2009 6:13 pm

Re: Any way to end a round?

Post by Word »

well, people like me sometimes change the rubber to a negative value to start a new match/round...perhaps it's possible to do this using a script. But i'm no programmer so you're on your own there.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Any way to end a round?

Post by dukevin »

I'll probably end up spawning a huge winzone when the counter reaches 0.

Thanks for the information though :)
Image
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Re: Any way to end a round?

Post by Infa(mous) »

If I remember right, didn't animuson have some crazy sty+ct hack specifically for racing? Nevermind, he did. https://code.launchpad.net/~absolute-pu ... ty+ct+race might have what you're looking for?
-Infamous
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: Any way to end a round?

Post by kyle »

The state of that code is pretty broken. lots of stupid edits changing stuff that did not need to be changed. however if you can revert back to one of his first few revisions it should not be that bad.

on another note maybe you don't have something configured right for target_declare_winner 1 to work.
Image
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: Any way to end a round?

Post by dukevin »

kyle wrote:on another note maybe you don't have something configured right for target_declare_winner 1 to work.
I couldn't find anything on the documentation
Image
Post Reply