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.

TWT_Zombies health

Discussion in 'New Version Suggestions' started by Derelan, Sep 24, 2004.

  1. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    I couldn't think of a better place to post this. Anywho, is it possible for someone to add code to the TWT_Zombies mutator so that we can vary the health of the zombies, or even make it the same as the INF player? They're very good for target practise, but even better when they're the same health.
     
  2. Captain Colon

    Captain Colon New Member

    Joined:
    Jul 3, 2004
    Messages:
    41
    Likes Received:
    0
    I might be able to do it if I had the source...but it's been a while since I've coded anything :p

    Also somebody make it work online!
     
  3. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    I have the source, i opened the .u file in UED and looked at it. However, i wouldn't want to disrespect the author by unauthorized bad code changes.
     
  4. cracwhore

    cracwhore I'm a video game review site...

    Joined:
    Oct 3, 2003
    Messages:
    1,326
    Likes Received:
    0
    I'm pretty sure it's abandonware and it's been stated here before that the author doesn't mind.
     
  5. Captain Colon

    Captain Colon New Member

    Joined:
    Jul 3, 2004
    Messages:
    41
    Likes Received:
    0
    I didn't know you could get the source just by looking at the .u....then again I never tried it D:
     
  6. Crowze

    Crowze Bird Brain

    Joined:
    Feb 6, 2002
    Messages:
    3,556
    Likes Received:
    1
    Add the package to the EditPackages list, open UnrealEd, go to the class browser and select 'Export all scripts' from the menu. This will create a folder with he same name with the class, containing all the sources. If you do edit it, though, be sure to compile the new one with a different name or version number so there's no confusion as to versions and who did what.
     
  7. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    [edit] Ok, i have the source, but there is no "health -=" in any of the zombies' code.
     
    Last edited: Sep 25, 2004
  8. Captain Colon

    Captain Colon New Member

    Joined:
    Jul 3, 2004
    Messages:
    41
    Likes Received:
    0
    Perhaps the zombies don't have more or less health than a player at all, but they use the hit detection system so body shots just do extremely little damage.
     
  9. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    Well i can't find any instance of values at all when health is concerned. Just a 'takedamage' command.
     
  10. Harper [Jgkdo]

    Harper [Jgkdo] New Member

    Joined:
    Feb 8, 2004
    Messages:
    154
    Likes Received:
    0
    It is there, believe me ;). TWT.Zombie.TWT_ZombiePawn is derived from UnrealShare.scriptedPawn which is derived from Engine.Pawn which has a default Health value of 100.

    So in order to change the health all you need to do is add
    Code:
    Health=x
    to the defaultproperties (with x whatever you want) of TWT_ZombiePawn. All other zombies are derived from this class and should inherit this value.

    [EDIT]Beside there IS already a default property for zombie health set to 210 so just change this one.
    And it is possible that the mutator is a bit unstable? Whenever I get crushed by a zombie there is a pretty good chance that INF will crash with a script error concerning zombie AI[/EDIT]
     
    Last edited: Sep 27, 2004
  11. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
     
  12. Harper [Jgkdo]

    Harper [Jgkdo] New Member

    Joined:
    Feb 8, 2004
    Messages:
    154
    Likes Received:
    0
    Line 1999 in the TWT_Zombies.TWT_ZombiePawn
     
  13. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    Alright, i'm a newbie at UED so forgive me if i ask too much.

    However, I loaded twt_zombies into the class browser and clicked "export all". It finished. I went into the new zombies folder, and inside was another single folder called 'classes' (there was no models folder). Inside that, i changed the value i wanted to change in the pawn file.

    However, when i tried ucc make, it gave this error:

    Code:
    Analyzing...
    Superclass scriptedPawn of class TWT_ZombiePawn not found
    
    History: UMakeCommandlet::Main
    
    Exiting due to error
    I would expect an error, since i didn't have any models from the TWT_zombies in the folder. The .u file is 3mb, but i only have 100kb of exported code.
     
  14. mbs357

    mbs357 olol

    Joined:
    Jan 5, 2002
    Messages:
    216
    Likes Received:
    0
    I just wish someone would fix the bugs with it.
    Bad hit boxes on some of the male models.
    Corpses block bullets aimed at the head of a zombie behind said corpse.
    And the fact that it's impossible to shoot them when they're close enough to bite you.
    It's still a fun mutator. =D
     
  15. Captain Colon

    Captain Colon New Member

    Joined:
    Jul 3, 2004
    Messages:
    41
    Likes Received:
    0
    I'd rather somebody made it work online >=D
     
  16. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    But it does work online, Gunnie had a server with that mutator running, and we all played it, and had a good laugh.
     
  17. Captain Colon

    Captain Colon New Member

    Joined:
    Jul 3, 2004
    Messages:
    41
    Likes Received:
    0
    I was told it didn't work online :mad:

    All I want is for it to be put on a normal server, if only to provide meat shields to protect you from snipers on EAS-LongWalkThroughOpenArea
     
  18. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    rofl :lol:
     
  19. Derelan

    Derelan Tracer Bullet

    Joined:
    Jul 29, 2002
    Messages:
    2,630
    Likes Received:
    0
    So would anyone like to tell me how to make this health value change to the mutator?
     

Share This Page