English Lock Spectate Mode

13 replies
Goto Page
To the start Previous 1 Next To the start
20.10.13 01:53:41 pm
Up
Marcell
Super User
Offline Off
Welcome!

I'd like to get some idea, or script how to lock specate mode, if possible. Meaning with it, there is a football stadion on the map, and get work to make that, players who go to xy cordinate, they get into spectate mode, and only can spectate XY tiles..
CS2DArchive - Version Database www.CS2DArchive.com - WebHosting: www.BroHosting.eu
20.10.13 02:18:56 pm
Up
eduxd0707
BANNED
Offline Off
Yep . download Adm script
20.10.13 02:19:46 pm
Up
DC
Admin
Offline Off
You could simply use cs2d cmd sv_specmode 2 if you don't want them to see anything.

Letting them view only certain tiles is not supported. The only way to do this would probably be
• use cs2d cmd sv_specmode 1
• kill all players of the same team
• spawn a bot at the position you want them to see and add it to the same team

But of course killing and spawning players to control the spectating will also f*ck up the gameplay. So this probably doesn't work very well in practice.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
20.10.13 02:23:14 pm
Up
Marcell
Super User
Offline Off
user DC, and, what if i make a command which can be control with keys (F2,F3, etc) then it's go to xy position, or it's impossible in spectate mode?)

wanna be get work, to watch footballgame with some position
CS2DArchive - Version Database www.CS2DArchive.com - WebHosting: www.BroHosting.eu

Admin/mod comment:

Quote removed /user useigor
20.10.13 02:31:17 pm
Up
Rainoth
Moderator
Offline Off
If the stadium is not big, you could make something like
"if player steps on tile X1 and Y1 then he becomes spectator (not as team but just like a variable or something...) and if he then tries to move from that tile, he'll get teleported back to it (uses movetile hook for e.g.) and can't leave until the match in stadium is over. Well this is just an example if the stadium isn't big.
20.10.13 03:20:59 pm
Up
Avo
User
Offline Off
You can simply make your own minimap with players and the ball. It would lag hardly, though.
Trust me, I'm an engineer | user DC approved file cs2d Super extra mod for CS2D (64), yeah!
20.10.13 04:21:35 pm
Up
Marcell
Super User
Offline Off
I's a quite big, taken screenshot by 3 part.

CS2DArchive - Version Database www.CS2DArchive.com - WebHosting: www.BroHosting.eu
20.10.13 04:27:57 pm
Up
Rainoth
Moderator
Offline Off
Can't you put them inside spectating spot and let them walk freely, but close the exit until game ends ?
20.10.13 04:59:44 pm
Up
Marcell
Super User
Offline Off
user Rainoth has written:
Can't you put them inside spectating spot and let them walk freely, but close the exit until game ends ?


i didn't created the enter /exit for the players yet... just for the viewers/guests
CS2DArchive - Version Database www.CS2DArchive.com - WebHosting: www.BroHosting.eu
20.10.13 07:00:30 pm
Up
Rainoth
Moderator
Offline Off
That's the point. You just script so first 4 players (example) have their status become "Player" and are transfered to match spot and all the rest go to spectator spots.
20.10.13 07:30:10 pm
Up
Marcell
Super User
Offline Off
user Rainoth has written:
That's the point. You just script so first 4 players (example) have their status become "Player" and are transfered to match spot and all the rest go to spectator spots.


Hey, i didn't said it, but it's a roleplay map, so there is other players like police mans, soldeirs, etc.. so it's not just a football script
CS2DArchive - Version Database www.CS2DArchive.com - WebHosting: www.BroHosting.eu
20.10.13 07:43:51 pm
Up
Rainoth
Moderator
Offline Off
I don't see why it would contradict with my suggestion.
20.10.13 07:45:10 pm
Up
krto
User
Offline Off
@user Marcell: Could you:
If someone comes You Change It Into A Equip You Can Do Like HappyCamper
Code:
1
He Do team transfer
20.10.13 09:41:29 pm
Up
EP
User
Offline Off
use sv_specmode 2 in console
To the start Previous 1 Next To the start