About This File
* This mutator will change the NormalizeHealth of the Renegade X game *
*
Version 1.0.0
Compatible with Renegade X v5.282
Mutator :
Rx_Mutator_NormalizeHealth.u (Download)
Source :
Spoiler
Rx_Mutator_NormalizeHealth.uc (Download)
Spoiler
/****************************************************************************** * Modified by Ukill, this can contain parts of code written by Jessica\Yosh * * This mutator will Normalize Health * ******************************************************************************* * Rx_Mutator_NormalizeHealth * ******************************************************************************/ class Rx_Mutator_NormalizeHealth extends UTMutator ; function bool CheckReplacement(Actor Other) { if(Other.IsA('Rx_TeamInfo')) { Rx_Game(WorldInfo.Game).DefaultPawnClass = class'Rx_Mutator_NormalizeHealth_Pawn' ; } return true; }
Rx_Mutator_NormalizeHealth_Pawn.uc (Download)
Spoiler
/****************************************************************************** * Modified by Ukill, this can contain parts of code written by Jessica\Yosh * * This mutator will Normalize Health * ******************************************************************************* * Rx_Mutator_NormalizeHealth_Pawn * ******************************************************************************/ class Rx_Mutator_NormalizeHealth_Pawn extends Rx_Pawn ; simulated event PostInitAnimTree(SkeletalMeshComponent SkelComp) { Super.PostInitAnimTree(SkelComp) ; if (SkelComp == Mesh) { SetTimer(0.5, false, 'NormalizeHealth' ) ; } } simulated function bool NormalizeHealth () { healthmax = 200 ; health = 200 ; return true; }