1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

UE2 - UT2kX Modify Species maximum health

Discussion in 'Programming' started by Gruntkiller4000, Apr 18, 2012.

  1. Gruntkiller4000

    Gruntkiller4000 New Member

    Joined:
    Jul 11, 2011
    Messages:
    49
    Likes Received:
    0
    Is there any possible way I can change the maximum health of a species for a bot? I have created my own species type and assigned it to a bot. I have tried using the setting PawnClassName="MyPackage.MyPawn" to change the pawn class and setting it's health to something like 150. When I test it in game their maximum health is always 100 and ignores my setting.

    One more thing. Can somebody tell me if it's possible to make a health upgrade your maximum health by 5 permanently (Only in a single-player game)?

    Any suggestions? Thanks!
     
  2. Gruntkiller4000

    Gruntkiller4000 New Member

    Joined:
    Jul 11, 2011
    Messages:
    49
    Likes Received:
    0
    I have already designed my Health upgrade but it seems like the PawnClassName in the Species Type is being ignored for some reason. Using the command "Set xGame.xPawn Health" works for everybody not a particular bot. Is there some command or script I could use to change each species health like in Unreal Championship.
     
  3. Sir_Brizz

    Sir_Brizz Administrator Staff Member

    Joined:
    Feb 3, 2000
    Messages:
    25,970
    Likes Received:
    66
    This is quite easy to do with a mutator. I have a mutator somewhere called EvenGround that does stuff like this...
     

Share This Page