I'm wanting to change the udamage weapon material, I managed to track this down to being in the xPawn class, the area of code I need to change I think is this (specifically the default properties),
Is there a way I can use modify player to do this since I do not fancy making a custom xPawn just to change this little area of code, if so, how would I go about this?Code:function EnableUDamage(float amount) { UDamageTime = FMax(UDamageTime, Level.TimeSeconds+amount); ClientSetUDamageTime(UDamageTime - Level.TimeSeconds); if ( UDamageTimer == None ) UDamageTimer = Spawn(class'UDamageTimer',self); UDamageTimer.SetTimer(UDamageTime - Level.TimeSeconds - 3,false); LightType = LT_Steady; bDynamicLight = true; SetWeaponOverlay(UDamageWeaponMaterial, UDamageTime - Level.TimeSeconds, false); } defaultproperties { UDamageWeaponMaterial=Material'XGameShaders.PlayerShaders.WeaponUDamageShader' }




Reply With Quote


Bookmarks