Announcement

Collapse
No announcement yet.

No Fall Damage Mutator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No Fall Damage Mutator

    Is there one out there already?

    #2
    I made one one time. If it is still around I will upload it.

    Comment


      #3
      Originally posted by Narayana View Post
      I made one one time. If it is still around I will upload it.
      Thank you, I appreciate it.

      Comment


        #4
        http://files.filefront.com/UTMutator.../fileinfo.html

        Here is the source; I forgot whether this imaxfallspeed value actually affects the terminal velocity of the pawn or not. It does seem to eliminate falling damage completely. I think you can set the imaxfallspeed value to a custom value by adding it to the .ini I copied this from code from another person's mutator which included it, but I've forgotten which one. I think it may have been either "excessive overkill" or "newtators"

        Code:
        Class UTMutatorFreeFall extends UTMutator config( UTMutatorFreeFall );
        
        var int iMaxFallSpeed;
        
        function InitMutator(string Options, out string ErrorMessage)
        {
           	SaveConfig();
        	Super.InitMutator(Options, ErrorMessage);
        }
        
        
        function ModifyPlayer(Pawn P)
        {
            local UTPawn player;
        
            player = UTPawn(P);
            
            if ( player != None )
        	{
            	P.MaxFallSpeed	*= iMaxFallSpeed;  
        		Super.ModifyPlayer(P);
        	}
        }
        
        defaultproperties
        {
        iMaxFallSpeed=100
        }

        Comment

        Working...
        X