cervantes 330 Posted March 7, 2008 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
cervantes 330 Posted March 7, 2008 i have found a solution 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 Share this post Link to post Share on other sites
nikita320106 0 Posted March 10, 2008 thanx) this is work to any magazine? Share this post Link to post Share on other sites
cervantes 330 Posted March 18, 2008 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 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 Share this post Link to post Share on other sites