TWT_Zombies health

  • 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.

Derelan

Tracer Bullet
Jul 29, 2002
2,630
0
36
Toronto, Ontario
Visit site
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.
 

Captain Colon

New Member
Jul 3, 2004
41
0
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!
 

Derelan

Tracer Bullet
Jul 29, 2002
2,630
0
36
Toronto, Ontario
Visit site
Captain Colon said:
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!
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.
 

Crowze

Bird Brain
Feb 6, 2002
3,556
1
38
40
Cambridgeshire, UK
www.dan-roberts.co.uk
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.
 

Derelan

Tracer Bullet
Jul 29, 2002
2,630
0
36
Toronto, Ontario
Visit site
Crowze said:
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.

[edit] Ok, i have the source, but there is no "health -=" in any of the zombies' code.
 
Last edited:

Captain Colon

New Member
Jul 3, 2004
41
0
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.
 

Derelan

Tracer Bullet
Jul 29, 2002
2,630
0
36
Toronto, Ontario
Visit site
Captain Colon said:
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.
Well i can't find any instance of values at all when health is concerned. Just a 'takedamage' command.
 

Harper [Jgkdo]

New Member
Feb 8, 2004
154
0
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:

Derelan

Tracer Bullet
Jul 29, 2002
2,630
0
36
Toronto, Ontario
Visit site
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.
 

mbs357

olol
Jan 5, 2002
216
0
0
38
Visit site
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
 

Captain Colon

New Member
Jul 3, 2004
41
0
0
mbs357 said:
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
I'd rather somebody made it work online >=D
 

Captain Colon

New Member
Jul 3, 2004
41
0
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