PDA

View Full Version : Spectate switching



legacy-P3nT4gR4m
08-02-2003, 06:09 AM
I'm not a coder and I wouldn't know where to start. So I'm going to throw this out to anyone who might be capable.

Basically what I want to see is the ability to switch to spectate mode from inside a game, and then back to player. Check out this thread : http://www.ataricommunity.com/forums/showthread.php?s=&postid=4121934#post4121934

I don't know anything more about the ins and outs but it does strike me that the solution (if there is one) should be reasonably simple. Although I have been wrong before.

ProAsm
08-02-2003, 11:00 AM
Unfortunately there is no simple solution and there is no provision from within the game.

The only way is in a Mod through code which I often use and is built into UT2Vote as follows:

Player to Spectator


PlayerController.ClientTravel(ServerIPAddr$":"$PortNumber$"?SpectatorOnly=True?Name="$NickName, TRAVEL_Absolute, false);


Spectator to Player


PlayerController.ClientTravel(ServerIPAddr$":"$PortNumber$"Name="$NickName, TRAVEL_Absolute, false);

legacy-P3nT4gR4m
08-02-2003, 01:39 PM
Can I do something with this code? Like assign it to a bind or something? Sorry if I sound thick. :bulb:

ProAsm
08-02-2003, 04:22 PM
No there is not much you can do with it except make a small Mutator with 2 Mutate commands that can execute the code.

legacy-P3nT4gR4m
08-02-2003, 11:12 PM
would this need to be enabled server side?

ProAsm
08-03-2003, 06:25 AM
Yes, only Serverside.