PDA

View Full Version : Any way to change a PlayerPawn's class in mid-game?


Vig
21st Aug 2001, 08:23 AM
Let's say I wanted to make a subclass of TournamentPlayer that, for the sake of example, had a lower Mass (I don't know what the Mass property is actually used for, but that's beside the point) than a normal TournamentPlayer. Is there any way I could change the player's class from one of the other classes (like Tmale1 and Tmale2) to the new class in the middle of a game?

Euphoric Beaver
21st Aug 2001, 03:02 PM
The inherent problem with character class systems and Unreal Tournament is that a player is assigned a PlayerPawn class in the Login() event in a GameInfo class. Having logged into the game it's not possible to assign the player a new PlayerPawn class without them leaving the game and re-joining (actually in-game PlayerPawn class reassignment can be done but requires quite a lot of complicated work to implement).

This is a quote from http://www.webtribe.net/s/seerlord/UScript/tutes/CCS.html

I think you should take a look because it talks about a way around this problem.