AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Force Round to End in Draw (https://forums.alliedmods.net/showthread.php?t=29889)

Brad 06-14-2006 23:12

Force Round to End in Draw
 
Is there a way to force a round to end in a draw?

BAILOPAN 06-14-2006 23:30

I only know of a way that involves hacks, unfortunately.

Throstur 06-18-2006 06:57

I know of one way which would however use quite alot of CPU...

save ALL THE STATUS of a player, ie if the player is still alive you must save all the player's guns, and no matter if the player is alive you must also save money, frags, deaths, location, etc.

then transfer all players to spectator team and spawn a fake player onto EITHER of the teams (lets just use CT)... Then this player is killed and the round is drawn, players are revived and teleported, and equipped with their previous guns (and holding the one they were previously holding), facing the same direction. Then the fake CT is removed and team scores are placed in order; (ie if the score was 3-2 and there's a draw it stays 3-2, and if the round is actually drawn, the scores will often revert back to 0, so you must save these scores)

I am however unsure if some of these things are possible, an extra module would probably be needed.

mysticssjgoku4 06-18-2006 10:03

Re: Force Round to End in Draw
 
Quote:

Originally Posted by Brad
Is there a way to force a round to end in a draw?

For CS?
Just kill the remaining players?

What are you using it for? :S

Brad 06-18-2006 10:19

Yes for CS.

You can't just kill the remaining players because depending on which team is fully killed first, the other team would win.

I'm trying to make it so that if the last two players are in a knife duel and neither of them kills the other by the time the round time runs out, I don't want either player to win. I want them both to lose. Ideally I'd end the game on a draw and then smite those two players from upon high, after the draw is registered, for their insolence.

Throstur 06-18-2006 16:53

I think my suggestion can actually be used for that!

mysticssjgoku4 06-19-2006 06:17

Quote:

Originally Posted by Brad
Yes for CS.

You can't just kill the remaining players because depending on which team is fully killed first, the other team would win.

I'm trying to make it so that if the last two players are in a knife duel and neither of them kills the other by the time the round time runs out, I don't want either player to win. I want them both to lose. Ideally I'd end the game on a draw and then smite those two players from upon high, after the draw is registered, for their insolence.

Oh I get what you're saying.
Yeah, CS decides the winner based on who did their task right. I'm not sure if you can itnerfere with that with AMXX.

If there is an event that is triggered to check to see who completed their task, may be you can hook it and end it before it decides.

As far as I know, I don't believe you can do this though.

Sorry I couldn't have been more help bud. :?

k007 07-26-2006 19:51

Re: Force Round to End in Draw
 
i'm not sure if this is on topic, but i was playin in a server where they got item mod from CSDM, people are respawning but u know how in CSDM the round ends but in this server when it does it teleport every client back to the place that they were too and save their guns(does this come with item mod and dm?)

xMBx 05-24-2007 05:06

Re: Force Round to End in Draw
 
Round draw would be a solution for my problem - http://forums.alliedmods.net/showthread.php?t=54758

Have anyone made any script that will draw the game if round time left is 0:00 and none dies and the guns remain?


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

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