• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
Medic-spider, will heal all team.

sorry but I must delete donwload links because I steal this mutator and have no rights to share it

//-------------------------------------------------------------------

Recommendation. Allow to buy only for medic (how-to see here) or look here

in SRVeterancyTypes.uc
Code:
static function bool AllowWeaponInTrader( class<KFWeaponPickup> Pickup, KFPlayerReplicationInfo KFPRI )
{
	if (Pickup == Class'MedSentryGunPickup')
	{
		if (KFPRI.ClientVeteranSkill==class'SRVetFieldMedic')
			return true;
		else
			return false;
	}
	return true;
}

//-------------------------------------------------------------------

String for custom shop:
HealBot.MedSentryGunPickup

//-------------------------------------------------------------------

Now every player can change Name of his Bot with a chat command !b BotName

For working you need to add next mutators to server:
HealBot.ChatterMut
HealBot.ChatMutator
HealBot.MedSentryBotNickMut

//-------------------------------------------------------------------

Config Healbot.ini
[HealBot.MedSentry]
hitdamage=2 - heal speed
SentryHealth=800 - turret HP

//-------------------------------------------------------------------

Demo:
Medic Turret in Killing Floor - YouTube

//-------------------------------------------------------------------

Author rights:
94% - the person who wrote the turret for DOOM mutator
1% - offut, cut turret from DOOM mutator
1% - 3xzet, cut finalization
4% - *********** and/or FinalDanger - converted into a bot-healer
 
Last edited:
Warning: Failed to load 'MedSentrybot_turret': Can't find file for package 'MedSentrybot_turret'
Warning: Failed to load 'HealBot': Can't find file for package 'MedSentrybot_turret'
Critical: Failed to load 'HealBot': Can't find file for package 'MedSentrybot_turret'

Srry...and your "Sound" folder should be called "Sounds" :) Were getting there lol
 
Upvote 0
Compiling SRVeterancyTypes
c:\kf\ServerPerksV5\Classes\SRVeterancyTypes.uc(172) : Error, Can't find Class 'MedSentryGunPickup'
Compile aborted due to errors.

:confused:pop up this error Message ... plz

1.open killingfloor.ini
2.found "EditPackages=" section
3.Make sure EditPackages=HealBot goes before EditPackages=ServerPerks

so it looks like
EditPackages=HealBot
EditPackages=ServerPerks

so ServerPerks will know about HealBot.
 
Upvote 0
mmm

mmm

1.open killingfloor.ini
2.found "EditPackages=" section
3.Make sure EditPackages=HealBot goes before EditPackages=ServerPerks

so it looks like
EditPackages=HealBot
EditPackages=ServerPerks

so ServerPerks will know about HealBot.


---------------------------------------------------------------------------------
I know that...
In my INI...
EditPackages=HealBot
EditPackages=ServerPerksV5
EditPackages=ServerPerksV5P
EditPackages=ServerPerksMut

however...

Parsing MedSentryMessage
c:\kf\HealBot\Classes\MedSentryMessage.uc(1) : Error, Missing 'Class' definition
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)
General protection fault!
History: UObject::ExitProperties <- (StrProperty HealBot.MedSentryMessage.Message) <- UClass:estroy <- UObject::ConditionalDestroy <- (Class HealBot
.MedSentryMessage) <- DispatchDestroy <- (87331: Class HealBot.MedSentryMessage Class Core.Class) <- DispatchDestroys <- UObject::purgeGarbage <- UObj
ect::StaticExit <- appPreExit
Exiting due to error

.......
If so, one question...
Why not impossible to modify?
 
Upvote 0
if you trying decompile and then compile - you cant do it. cause I stripped source. Why you try to decompile?

if you want to change cost then you can do this with mutator.

Code:
class MedSentryCost extends Mutator;

function PreBeginPlay()
{
	class'MedSentryPickup'.default.cost = 99999;
	Destroy();
}

so again. Why you try to recompile?
 
Last edited:
Upvote 0
Medic-spider, will heal all team.

download --> here <-- or --> here <-- (updated with sound) (updated with animation)

//-------------------------------------------------------------------

Recommendation. Allow to buy only for medic (how-to see here) or look here

in SRVeterancyTypes.uc
Code:
static function bool AllowWeaponInTrader( class<KFWeaponPickup> Pickup, KFPlayerReplicationInfo KFPRI )
{
    if (Pickup == Class'MedSentryGunPickup')
    {
        if (KFPRI.ClientVeteranSkill==class'SRVetFieldMedic')
            return true;
        else
            return false;
    }
    return true;
}

//-------------------------------------------------------------------

String for custom shop:
HealBot.MedSentryGunPickup

//-------------------------------------------------------------------

Config Healbot.ini
[HealBot.MedSentry]
hitdamage=2 - heal speed
SentryHealth=800 - turret HP

//-------------------------------------------------------------------

Demo:
Medic Turret in Killing Floor - YouTube

//-------------------------------------------------------------------

Author rights:
94% - the person who wrote the turret for DOOM mutator
1% - offut, cut turret from DOOM mutator
1% - 3xzet, cut finalization
4% - *********** and/or FinalDanger - converted into a bot-healer

This mutator steal from kf.groza.ru moderators please delete the topic!
 
Upvote 0
if you trying decompile and then compile - you cant do it. cause I stripped source. Why you try to decompile?

if you want to change cost then you can do this with mutator.

Code:
class MedSentryCost extends Mutator;

function PreBeginPlay()
{
	class'MedSentryPickup'.default.cost = 99999;
	Destroy();
}

so again. Why you try to recompile?

That method doesn't work for changing cost of an item because it changes the value shown in the trader but you will still get charged the original amount.
A new pickup has to be created with the new cost for it to work client side.
 
Upvote 0
That method doesn't work for changing cost of an item because it changes the value shown in the trader but you will still get charged the original amount.
A new pickup has to be created with the new cost for it to work client side.

strange. this method worked for me. with one exeption - serverperks shop showed old value. but when you buy you charged on new value.
 
Last edited:
Upvote 0