![]() |
|
|
#1 |
|
Modifying a player with game type
I've made a mut that chages a players stats based on species type, but I want to create a new game type that does the same thing. When I try and compile the compiler does not recognize
Super.ModifyPlayer(Other) Is there a command that can modify a player I can use for a game types? (under XDeathMatch)
__________________
My that was dastardly Last edited by rhinodog; 4th Feb 2004 at 03:07 PM. |
|
|
|
|
|
|
#2 |
|
Have you tried looking for the function that tells mutators to ModifyPlayer() yet?
__________________
How can you challenge a perfect immortal machine? |
|
|
|
|
|
|
#3 |
|
The thought had crossed my mind, but I don't know how to do it.
__________________
My that was dastardly |
|
|
|
|
|
|
#4 |
|
Oops sorry. miss read your post. Your talking about the:
function ModifyPlayer(Pawn Other) correct?
__________________
My that was dastardly |
|
|
|
|
|
|
#5 |
|
Can anyone help me out?
__________________
My that was dastardly |
|
|
|
|
|
|
#6 |
|
rhinodog-
have a look at GameInfo.RestartPlayer and the functions that create a bot (AddBot, etc). also look at xPawn.Setup and the species and roster classes. GameInfo.RestartPlayer is where the pawn gets created and possessed... it might be a good place to start looking. codepig |
|
|
|
|
|
|
#7 |
|
Thx.
__________________
My that was dastardly |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|