Jump to content
Sign in to follow this  
chris330

Weapons gear section

Recommended Posts

Hi, I'm trying to make a GEAR section for my new weapon addon. I have two properly sized pictures one of the weapon and one of the magazine. i noticed however that in all official addons there is a .p3d file for the GEAR. I presume there are two planes in there with the weapon and mag textures mapped onto them, but I cant open any of the existing ones to see how I should make my own!!!! mad.gif Can anyone help? confused.gif

Share this post


Link to post
Share on other sites

Yep, Fixed it!! biggrin.gif Anyone who is interested to know how just reply to this thread wink.giftounge.gif

Share this post


Link to post
Share on other sites

i am interested. I can't find how to specify picture of the magazine sad_o.gif

Share this post


Link to post
Share on other sites

Hi, this is how the inventory pics of my wip_g36k pack are recalled in the config; and they work...

picture="\wip_g36k\g36mag_inv.paa"; (the 1 slot mag pic)

picture="\wip_g36k\g36k_inv.paa"; (the main weapon slot)

i made the mags pics in 128x128 and the x2 slots magazines (like the C-Mag or the main weapon slot) in 256x128, so u can see 'em with quality enought when u've the notebook reduced or in it's full size without have to broke your eyes (of the face...) to see what weapon or magazines do you have when u've picked up a weapon from a enemy or more ammo from 1 of your owns. Let's cu.

Share this post


Link to post
Share on other sites

thanks, i have figured out how to specify the magazine image.

I have created the base weapon class "my_weapon_base" where i set

scopeWeapon = 0;

scopeMagazine = 0;

and then i added another two cfgWeapon classes:

class my_weapon_magazine: my_weapon_base {

scopeMagazine = 2;

picture = 'my_addon/magazine.paa'

}

class my_weapon_weapon: my_weapon_base {

scopeWeapon = 2;

picture = 'my_addon/weapon.paa'

}

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×