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

Would it be possible to stop people from joining boss team?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rowedahelicon
Senior Member
Join Date: Feb 2011
Location: The Observatory
Old 12-08-2012 , 01:25   Would it be possible to stop people from joining boss team?
Reply With Quote #1

We have a boss who can cloak as a spy, and we keep having people join that team to point out where he is. I've been gagging them but it's still quite annoying.
__________________
SCG, A furry community in the stars - https://www.scg.wtf
rowedahelicon is offline
Send a message via Skype™ to rowedahelicon
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-08-2012 , 05:39   Re: Would it be possible to stop people from joining boss team?
Reply With Quote #2

You could try turning off dead talk/alltalk, but probably not what you were going for.
Players can still sit in spectate. You could disable spectator, and force players to spectate their own team. Then your suggestion would work.

However, FF2 sets spectate mode to all on it's own.
SetConVarInt(FindConVar("mp_forcecamera"),0);
setting mp_forcecamera to 0 - spectate anybody with all cameras

I had a similar problem, just ended up making the boss a non-spy and rendering them invisible+invulnerable for the short rage duration. That way it doesn't really matter if they point the boss out. The player can't be seen/detected even with damage.

You could try something similar and just loop remove fire/bleed/whatever condition over the boss while invisible for the duration of the invisibility/stealth if you wanted them to be vulnerable. You could add a timer to count down how long they can have it on/off for an use the button listeners to toggle the stealth or something if you wanted to make it overly complex.
friagram is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 12-08-2012 , 16:20   Re: Would it be possible to stop people from joining boss team?
Reply With Quote #3

Yeah, ideally people shouldn't be able to/have to do this, to do things like talk to Hale. They should either always be able to talk to him, or not be able to at all if they're dead.

To answer your question, though, of course it's possible. Just a simple block of "jointeam blue" while the round is in progress.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

Last edited by MasterOfTheXP; 12-08-2012 at 16:20.
MasterOfTheXP is offline
rowedahelicon
Senior Member
Join Date: Feb 2011
Location: The Observatory
Old 12-13-2012 , 16:31   Re: Would it be possible to stop people from joining boss team?
Reply With Quote #4

Quote:
Originally Posted by MasterOfTheXP View Post
Yeah, ideally people shouldn't be able to/have to do this, to do things like talk to Hale. They should either always be able to talk to him, or not be able to at all if they're dead.

To answer your question, though, of course it's possible. Just a simple block of "jointeam blue" while the round is in progress.
Oh excellent!

...How would I go about doing this? >.>
__________________
SCG, A furry community in the stars - https://www.scg.wtf
rowedahelicon is offline
Send a message via Skype™ to rowedahelicon
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-13-2012 , 17:06   Re: Would it be possible to stop people from joining boss team?
Reply With Quote #5

I thought joining the boss team was already blocked. I'll have to take a look at it.

(I spotted this topic last week, but I've been kinda sick most of this week and hadn't actually done anything about it.)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 12-13-2012 at 17:08.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-18-2012 , 12:57   Re: Would it be possible to stop people from joining boss team?
Reply With Quote #6

you can join the boss' team from spectator / when you join the game, people do it pretty often. Also sometimes when you die, it puts you there.

There have been times on the first round where i've seen like half the server on blue

er- also, ff2 forces the free spectator camera, like i said earlier, so dead players will be able to spectate the boss anyways (I think). I think there's a convar to force them to spectate the boss, but I don't think there is one to make it spectate their team.

It's by nature of your rage that this will happen, I suggest you change it.

I kind of got around it like this:
Build array from alive nonubered players-
select player from this array randomly
teleport player to bosses location
switch player to boss's team
equip player with boss's model, some weapon
make boss invisible/immune to sentry/invulnerable
teleport boss to random enemy player location
after X seconds switch player back to their old team

This way it doesn't matter if somone points out where the boss is, it happens so fast nobody can really do anything about it.
Also, people will be preoccupied with the decoy...

Last edited by friagram; 12-18-2012 at 13:02.
friagram is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-18-2012 , 13:14   Re: Would it be possible to stop people from joining boss team?
Reply With Quote #7

I'll probably change how this works in later FF2 versions (and no longer override mp_forcecamera), but it's too large an issue to fix in a minor update.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 13:55.


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