Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Killing Floor Forums > Killing Floor Modifications > General Modding Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2011, 03:55 AM
fengxue0108 fengxue0108 is offline
Member
 
Join Date: Jul 2011
Posts: 56
Default how to set the Patriarch HP

i have a hardpat mut ,but i do not kown how to set
Reply With Quote
  #2  
Old 10-17-2011, 05:59 AM
gogi gogi is offline
Junior Member
 
Join Date: Jun 2011
Posts: 23
Default

Try to decompile HardPat and change HP in code
Reply With Quote
  #3  
Old 10-17-2011, 06:07 AM
fengxue0108 fengxue0108 is offline
Member
 
Join Date: Jul 2011
Posts: 56
Default How to do that ,Can you say specifically it

How to do that ,Can you say specifically it
Reply With Quote
  #4  
Old 10-17-2011, 04:52 PM
ASSAYARO's Avatar
ASSAYARO ASSAYARO is offline
Senior Member
 
Join Date: Sep 2010
Location: Behind you...
Posts: 137
Default One question...

Quote:
Originally Posted by gogi View Post
Try to decompile HardPat and change HP in code

Wait ...
What part ? in HardPat
Reply With Quote
  #5  
Old 10-17-2011, 06:37 PM
FluX FluX is offline
Senior Member
 
Join Date: Oct 2010
Posts: 3,730
Default

Quote:
Originally Posted by ASSAYARO View Post
Wait ...
What part ? in HardPat
It's a defaultpropertie where it should say minhealth & maxhealth I think it is (not entirely sure on the right name).
__________________

Reply With Quote
  #6  
Old 10-17-2011, 08:23 PM
Trololololololololololo Trololololololololololo is offline
Senior Member
 
Join Date: May 2010
Posts: 110
Default

easy, create a basic mutator (benjamins tutorial in this forum)

open file zombiebossbase.uc with notepad in the folder \Steam\steamapps\common\killingfloor\KFMod\Classes

use this code in the mutator

class'ZombieBossBase'.default.Health = 50000;
class'ZombieBossBase'.default.HealthMax = 60000;
class'ZombieBossBase'.default.HealingAmount = 12500;

edit the numbers only, i did the above, its allready well over the regular one.
Reply With Quote
  #7  
Old 10-18-2011, 02:54 AM
ro_sauce ro_sauce is offline
Senior Member
 
Join Date: Sep 2007
Posts: 3,110
Default

you could just do it on the fly during the game, and it wont break your server since youre probably using serverperksmut.
login as admin, then in console type:
admin set zombieboss health 999999

remember to set it back before u leave or the pat will have that health forever, or until you restart the server.
__________________


For RO2 Crash Support Help, PM me your problem and teamview connection, and I will see if I can fix it for you.
Reply With Quote
  #8  
Old 10-18-2011, 03:28 AM
FluX FluX is offline
Senior Member
 
Join Date: Oct 2010
Posts: 3,730
Default

Quote:
Originally Posted by ro_sauce View Post
you could just do it on the fly during the game, and it wont break your server since youre probably using serverperksmut.
login as admin, then in console type:
admin set zombieboss health 999999

remember to set it back before u leave or the pat will have that health forever, or until you restart the server.
I wouldn't personally use this. This will mean you have to be in the server to change the health for the patriarch every time. A quick and simple mutator will be the best idea so it's done every match without any hassle. I did forget you can do admin commands like that though...
__________________

Reply With Quote
  #9  
Old 10-18-2011, 04:00 PM
ASSAYARO's Avatar
ASSAYARO ASSAYARO is offline
Senior Member
 
Join Date: Sep 2010
Location: Behind you...
Posts: 137
Default sorry...

Quote:
Originally Posted by FluX View Post
It's a defaultpropertie where it should say minhealth & maxhealth I think it is (not entirely sure on the right name).
so sorry...
in KFHardPat mutator

From this source.
I want... more than BOSS's 4 syringes.
I do not know what to modify any part...

Last edited by ASSAYARO; 10-18-2011 at 05:13 PM.
Reply With Quote
  #10  
Old 10-19-2011, 12:13 AM
FluX FluX is offline
Senior Member
 
Join Date: Oct 2010
Posts: 3,730
Default

Quote:
Originally Posted by ASSAYARO View Post
so sorry...
in KFHardPat mutator

From this source.
I want... more than BOSS's 4 syringes.
I do not know what to modify any part...
You'd have to check out the main file for the patriarch (dunno it's name as I haven't decompiled it or anything). To make it have more then 4 syringes, you will probably have to look at the default patriarch code and see how it's done there and override it to have more.
__________________

Reply With Quote
  #11  
Old 10-19-2011, 12:34 AM
Benjamin Benjamin is offline
Senior Member
 
Join Date: May 2009
Location: France
Posts: 3,419
Default

Use a mutator:

Code:
class PatriarchHPMut extends Mutator;

function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
	if (ZombieBoss(Other) != none)
	{
		ZombieBoss(Other).HealthMax = 9000;
		ZombieBoss(Other).Health = 9000;
	}

	return true;
}

defaultproperties
{
	GroupName="KF-PatriarchHPMut"
	FriendlyName="Patriarch HP"
	Description="..."
}
Replace ZombieBoss with the name of the custom patriarch class.
Reply With Quote
  #12  
Old 10-19-2011, 03:36 PM
ASSAYARO's Avatar
ASSAYARO ASSAYARO is offline
Senior Member
 
Join Date: Sep 2010
Location: Behind you...
Posts: 137
Default Thank you so much...Mr.

Thank you so much...Mr.

Last edited by ASSAYARO; 10-20-2011 at 06:24 PM.
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 -4. The time now is 03:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC