Jump to content
Sign in to follow this  
cervantes

inventory magazines pictures

Recommended Posts

hi all i works on one shotgun for my zombie mod and i have now add a réalistic cartridge effect my amunition type and a eye point for shot with précision.

a amunition picture has ready if this amunition has on vehicle cargo but i d'ont see this picture in my inventory.

for this iuse a paa texture at 256by256 with alpha Layer.

and i write in cpp file

class CfgMagazines

{

class Default; // External class reference

class CA_Magazine; // External class reference

class Chevrotine_cartridge : CA_Magazine

{

displayName="Chevrotine cartridge";

picture="\abg_870\Remington870shells.paa";

ammo = "chevrotine";

count =7;

};

};

i d'ont remember me the comand line in cpp file for see this amunition in inventory its not a weapon slot or magazinetype

i need yous light for this ^^.

look a released on this movie.

http://fr.youtube.com/watch?v=is03a-3kIzs

Share this post


Link to post
Share on other sites

i have found a solution smile_o.gif for this i haved nedd define a scope magazine and type of magazines in class magazines i write an exemple for a future weapon modder.

class CfgMagazines

{

class Default; // External class reference

class CA_Magazine; // External class reference

class Chevrotine_cartridge : CA_Magazine

{

scope = public;

type = 1*WeaponSlotItem;

displayName="Chevrotine cartridge";

picture="\abg_870\Remington870shells.paa";

ammo = "chevrotine";

count =7;

};

};

see a scope define and type if you want a amunition use 2 slot its possible with change a number in type exemple

type = 2*WeaponSlotItem;

now a shotgun has finiched wink_o.gif

Share this post


Link to post
Share on other sites

yes its for all magazine created in one config cpp

just define a scope and type of this magazine a type has used for select a slot in inventory

this is a first primary slot 1*WeaponSlotItem;

for a hand gun its other slot define, its type = 1*32;

i create 3 primary weapon one shotgun, one old hunting riffle and one hunting riffle with scope.

and two handgun weapon one desert eagle and one phyton 357 magnum smile_o.gif

i have a probléme with a slot in inventory with the handgun a magazine count 2 slot i d'ont understand why because i have define a number of slot for one magazine 1*32 banghead.gif

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  

×