News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 4th Feb 2004, 03:03 PM   #1
rhinodog
I'm gonna eat you
 
rhinodog's Avatar
 
Join Date: Mar. 9th, 2002
Location: To close to the computer.
Posts: 41
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.
rhinodog is offline   Reply With Quote
Old 4th Feb 2004, 03:07 PM   #2
EvilDrWong
Every line of code elevates you
 
EvilDrWong's Avatar
 
Join Date: Jun. 16th, 2001
Location: Inside the machine
Posts: 932
Have you tried looking for the function that tells mutators to ModifyPlayer() yet?
__________________
How can you challenge a perfect immortal machine?
EvilDrWong is offline   Reply With Quote
Old 4th Feb 2004, 03:08 PM   #3
rhinodog
I'm gonna eat you
 
rhinodog's Avatar
 
Join Date: Mar. 9th, 2002
Location: To close to the computer.
Posts: 41
The thought had crossed my mind, but I don't know how to do it.
__________________
My that was dastardly
rhinodog is offline   Reply With Quote
Old 4th Feb 2004, 03:23 PM   #4
rhinodog
I'm gonna eat you
 
rhinodog's Avatar
 
Join Date: Mar. 9th, 2002
Location: To close to the computer.
Posts: 41
Oops sorry. miss read your post. Your talking about the:

function ModifyPlayer(Pawn Other)

correct?
__________________
My that was dastardly
rhinodog is offline   Reply With Quote
Old 4th Feb 2004, 10:15 PM   #5
rhinodog
I'm gonna eat you
 
rhinodog's Avatar
 
Join Date: Mar. 9th, 2002
Location: To close to the computer.
Posts: 41
Can anyone help me out?
__________________
My that was dastardly
rhinodog is offline   Reply With Quote
Old 5th Feb 2004, 12:59 AM   #6
CodePig
Registered User
 
CodePig's Avatar
 
Join Date: Apr. 22nd, 2003
Posts: 124
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
CodePig is offline   Reply With Quote
Old 5th Feb 2004, 12:20 PM   #7
rhinodog
I'm gonna eat you
 
rhinodog's Avatar
 
Join Date: Mar. 9th, 2002
Location: To close to the computer.
Posts: 41
Thx.
__________________
My that was dastardly
rhinodog is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 -5. The time now is 09:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer