Variable to attach different xBot

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

dfrodo

New Member
Mar 14, 2006
4
0
0
Hope this question is not to confussing (not in-terms of content but in terms of my wording).

I am building off of the "The Hunted" example which extends GameInfo

in the default properties section I have the following

Code:
defaultproperties
{
     GameName="My Game"
     DefaultPlayerClassName="Hunted.HuntPawn"
     PlayerControllerClassName="XGame.xPlayer" 
     
     MapPrefix="DM" 
     HUDType="hunted.HUDhunted"  
}

HuntPawn extends xPawn, and I am overriding the methods "Fire" and "TakeDamage" however these methods only override the human controlled player, not the other computer controlled characters. I am guessing that is what is meant by "DefaultPlayerClassName". I searched for a variable where I can attach a different Pawn/Bot, such as "DefaultBotClassName", but I am unable to find such a variable. I am assuming that it is the xBot class I need to override and somehow connect to the controller?

I really appreciate any help. Thanks
-dfrodo