Jump to content

hey need help with weapons


rawhrd2kill
 Share

Recommended Posts

That would be in your kit files mate...here's an example.

<KitFile>

<VersionNumber>1.000000</VersionNumber>

<KitTexture>xm8_frag.rsb</KitTexture>

<Firearm SlotNumber = "0">

  <VersionNumber>1.000000</VersionNumber>

  <ItemFileName>sf_xm8.gun</ItemFileName>

  <MagazineCount>8</MagazineCount>

</Firearm>

<ThrownItem SlotNumber = "1">

  <VersionNumber>1.000000</VersionNumber>

  <ItemFileName>frag.prj</ItemFileName>

  <Count>4</Count>

</ThrownItem>

</KitFile>

You need to make an rsb image of your weapon, with alpha layer, and place it in the Shell/Art/Kit folder of your mod. In the above example the .rsb is named xm8_frag.rsb.

Easiest way of doing it is to first take a look at one of the original kit textures and duplicate what they look like.

Edit: Here's the 2 layers used in the above kit texture.

RGB Layer

rgb.jpg

Alpha Layer

alpha.jpg

Oh...and here's a hint of how to easily make the alpha layer. Change your environment settings in 3dsm to a all white background and change the Global Lighting: Tint: to black. Any render you make now will end up with a black model on white background. Render and save your image, remember to put the environment settings back to what they were before, then open the image in photoshop and invert it. Voila....white gun on black background.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...