[2k4] Sniper Rifle Skin Help

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

DeathOmen

New Member
Oct 5, 2003
14
0
0
www.holyshitclan.com
Hey im currently coding a zark sniper rifle and i have it all coded and done.
can u plz help me in showing me the code to skin the gun and put a custom zoom on it?

thank you ;)
-omen
 

EvilDrWong

Every line of code elevates you
Jun 16, 2001
932
0
0
40
Inside the machine
Visit site
To skin the gun youll need to export the texture it uses from UEd and edit it as much as you need. then youll have to re-import it into the game into its own package, and in your new weapon you'd set the Skins array to that texture in the default properties
Code:
defaultproperties
{
//yadda yadda yadda, all the other settings youve already got
    Skins(0)=material'Package.Group.TextureName'
}

As for the custom scope, check out the RenderOverlays function in xWeapons.SniperRifle or UTclassic.ClassicSniperRifle. Pretty much, all those boil down to is scaling a few textures and placing them where necessary.