How i can force the loser to spect?

Discuss all aspects related to modding Zandronum here.
Post Reply
doomero
Forum Regular
Posts: 134
Joined: Tue Jun 05, 2012 3:45 am

How i can force the loser to spect?

#1

Post by doomero » Sun Jun 30, 2013 7:28 pm

My mod MKII also is compatible for dm and duels, for the case on duels could be necesary force the loser to spectator, exist a acs command for that? if exist a example about how looks into a script.

Catastrophe
Retired Staff / Community Team Member
Posts: 2571
Joined: Sat Jun 02, 2012 2:44 am

RE: How i can force the loser to spect?

#2

Post by Catastrophe » Sun Jun 30, 2013 7:45 pm

1. ConsoleCommand + strparam
2. Use kickfromgame in the next version of Zandronum

Jigsaw
Forum Regular
Posts: 180
Joined: Sun Jun 24, 2012 9:43 am

RE: How i can force the loser to spect?

#3

Post by Jigsaw » Sun Jun 30, 2013 7:45 pm

consolecommand("spectate"); is the only way I know about, but using consolecommand can be abused so watch out what you do.
Last edited by Jigsaw on Sun Jun 30, 2013 7:47 pm, edited 1 time in total.

one_Two
Addicted to Zandronum
Posts: 1753
Joined: Thu Jun 07, 2012 4:47 pm

RE: How i can force the loser to spect?

#4

Post by one_Two » Sun Jun 30, 2013 7:48 pm

Can't you just trigger an instance that ends a duel?

Konar6
Retired Staff / Community Team Member
Posts: 455
Joined: Sun May 27, 2012 9:38 am

RE: How i can force the loser to spect?

#5

Post by Konar6 » Sun Jun 30, 2013 7:48 pm

There is ACS command to force a player to spectate in the 1.1 beta version:

KickFromGame (int playernumber, str reason)
Ijon Tichy wrote:I like how your first responses to concerns being raised was to start insulting people, accusing random people on the Internet of being Shadowfox, and digging up irrelevant shit from the past. It really inspires confidence in me that you guys are level-headed and rational folks.


<BlueCool> you guys IQ is the same as my IP, Dynamic

Synert
Forum Regular
Posts: 228
Joined: Mon Jun 04, 2012 12:54 pm
Contact:

RE: How i can force the loser to spect?

#6

Post by Synert » Sun Jun 30, 2013 8:10 pm

one_Two wrote: Can't you just trigger an instance that ends a duel?
Just killing the loser should work fine

doomero
Forum Regular
Posts: 134
Joined: Tue Jun 05, 2012 3:45 am

RE: How i can force the loser to spect?

#7

Post by doomero » Sun Jun 30, 2013 8:21 pm

Synert wrote:
one_Two wrote: Can't you just trigger an instance that ends a duel?
Just killing the loser should work fine
but how? for example if the server have 1 frag limit, killing the loser who? the winner cant kill the other on my mod, or maybe a acs command to kill the loser but giving the credit to the winner as a legal frag.
Last edited by doomero on Sun Jun 30, 2013 8:22 pm, edited 1 time in total.

Ijon Tichy
Frequent Poster Miles card holder
Posts: 901
Joined: Mon Jun 04, 2012 5:07 am

RE: How i can force the loser to spect?

#8

Post by Ijon Tichy » Sun Jun 30, 2013 8:26 pm

move player to other player
give player an item that fires a projectile that does absurd amounts of damage
move player back to old position

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: How i can force the loser to spect?

#9

Post by Ænima » Tue Jul 02, 2013 1:35 pm

Ijon Tichy wrote: move player to other player
give player an item that fires a projectile that does absurd amounts of damage
move player back to old position
Can't you just force him to telefrag the other player? Then the projectile isn't even necessary.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

doomero
Forum Regular
Posts: 134
Joined: Tue Jun 05, 2012 3:45 am

RE: How i can force the loser to spect?

#10

Post by doomero » Thu Jul 18, 2013 7:09 pm

i used telefrag, but appear a bug, after of the telefrag, if the frag limit is 1, the next time for a match, nobody cant see whant happen on the cameratexture, only can be solved increasing the frag limit, but the mod is perfect for duel and frag limit 1 for change players. The other way is force the loser to spect with a command, recently i saw this: http://wiki.zandronum.com/KickFromGame, but not sure if the int player is the tid number or nickname....

Klofkac
Forum Regular
Posts: 481
Joined: Sat Jun 09, 2012 1:31 pm
Location: Ask Grandvoid servers

RE: How i can force the loser to spect?

#11

Post by Klofkac » Thu Jul 18, 2013 7:28 pm

I am pretty sure it is the player number as it is player-related function, not thing.
𝕂𝕝𝕠𝕗𝕜𝕒𝕔

Post Reply