View Full Version : [2k4] Sniper Rifle Skin Help
28th Nov 2004, 10:01 AM
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 ;)
28th Nov 2004, 10:16 AM
oh im sorry and this is for
Unreal Tournament 2004
28th Nov 2004, 05:14 PM
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
//yadda yadda yadda, all the other settings youve already got
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.
29th Nov 2004, 02:44 PM
thanks bro got it workin :)
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.