Ukill Posted January 29, 2017 Share Posted January 29, 2017 View File Rx_Mutator_NormalizeHealth * 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; } Submitter Ukill Submitted 01/29/2017 Category Modifications Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.