Jump to content

Rx_Mutator_SBHSniper 1.0.0

   (0 reviews)

About This File

*  This is an example of how to modify default player inventory.
*  This mutator replaces the primary weapon of the StealthBlackHand with a Sniper rifle.


Version 1.0.0

Rx_Mutator_SBHSniper.uc

Spoiler

/** 
 *  This is an example of how to modify default player inventory.
 *  This mutator replaces the primary weapon of the StealthBlackHand with a Sniper rifle.
 * */
class Rx_Mutator_SBHSniper extends UTMutator;

function bool CheckReplacement(Actor Other)
{
	if (Other.IsA('Rx_InventoryManager_Nod_StealthBlackHand'))
	{
		Rx_InventoryManager_Nod_StealthBlackHand(Other).PrimaryWeapons[0] = class'Rx_Weapon_SniperRifle_Nod';
	}
	return true;
}
 

 

Rx_Mutator_SBHSniper.u

Spoiler

Áƒ*žd  ¥     None    #         i     å  E  ¥              ï"âÌAŠ§z¶¿ô†F      #      ÷1              úv           Actor          ArrayProperty       
   BoolProperty          CheckReplacement          Class       
   Collision          Components          Core          Default__Rx_Mutator_SBHSniper          Default__UTMutator          Engine       	   Function          IsA       	   Movement          Mutator          Navigation          None          Object          ObjectProperty          Other          Package          PrimaryWeapons       
   renx_game          ReplacementPrimitive          ReturnValue          Rx_InventoryManager       )   Rx_InventoryManager_Nod_StealthBlackHand          Rx_Mutator_SBHSniper          Rx_Weapon_SniperRifle_Nod          ScriptText          Sprite          SpriteComponent          TextBuffer          utgame       
   UTMutator                     ôÿÿÿ                     ðÿÿÿ                     îÿÿÿ                     îÿÿÿ                     îÿÿÿ                     îÿÿÿ                     îÿÿÿ                     îÿÿÿ                      íÿÿÿ                      íÿÿÿ                     íÿÿÿ                     ìÿÿÿ                     ìÿÿÿ                     ìÿÿÿ                     ëÿÿÿ"                     úÿÿÿ                     öÿÿÿ                                                  
                                                  !       
              éÿÿÿ       !       "       ëÿÿÿ	       ýÿÿÿ                        (   ¥                              ùÿÿÿ                        ,   Í                              ûÿÿÿïÿÿÿ                       ù                                  ñÿÿÿ                     ¦   {	                                                éÿÿÿ     ,   !
                              õÿÿÿ              êÿÿÿ      4   M
                              øÿÿÿ                        4 å  
                                              óÿÿÿÿÿÿÿôÿÿÿòÿÿÿ      ñÿÿÿ                     éÿÿÿ   êÿÿÿéÿÿÿ    ÿÿÿÿ                               ÿÿÿÿ                               ÷ÿÿÿÿÿÿÿ           ïÿÿÿ           	   
  c   C   V      þÿÿÿ Å!       %.óÿÿÿ    	 ÿÿÿÿ ÿÿÿÿ òÿÿÿ':   S            ÿÿÿÿ    ñÿÿÿ          ÿÿÿÿÿÿÿÿ        	  ÿÿ                  úÿÿÿ                                      
                                            ÿÿÿÿ                                             ÿÿÿÿ                                ÿÿÿÿ               Í  /** 
 *  This is an example of how to modify default player inventory.
 *  This mutator replaces the primary weapon of the StealthBlackHand with a Sniper rifle.
 * */
class Rx_Mutator_SBHSniper extends UTMutator;

function bool CheckReplacement(Actor Other)
{
	if (Other.IsA('Rx_InventoryManager_Nod_StealthBlackHand'))
	{
		Rx_InventoryManager_Nod_StealthBlackHand(Other).PrimaryWeapons[0] = class'Rx_Weapon_SniperRifle_Nod';
	}
	return true;
}
 

 

 


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
×
×
  • Create New...