- Joined
- Jan 29, 2011
- Messages
- 170
- Reaction score
- 48
Since i didn't share anything here .
Here the "Pkm ammo box" (because there's no ammo for the pkm atm).
You have to change the weapon d4 (from Itemdb) and FPSAttach4 (from dbo.items_weapon) of the PKM to the ID of the ammobox
PKM Ammo Box :
dbo.Items_Attachments
ItemsDB.xml
english.lang
Don't forget to check IDs and change the weight/price.
Here the "Pkm ammo box" (because there's no ammo for the pkm atm).
You must be registered to see links
You have to change the weapon d4 (from Itemdb) and FPSAttach4 (from dbo.items_weapon) of the PKM to the ID of the ammobox
PKM Ammo Box :
dbo.Items_Attachments
Code:
INSERT [dbo].[Items_Attachments] ([ItemID], [FNAME], [Type], [Name], [Description], [MuzzleParticle], [FireSound], [Damage], [Range], [Firerate], [Recoil], [Spread], [Clipsize], [ScopeMag], [ScopeType], [AnimPrefix], [SpecID], [Category], [Price1], [Price7], [Price30], [PriceP], [GPrice1], [GPrice7], [GPrice30], [GPriceP], [IsNew], [LevelRequired], [Weight]) VALUES (400158, N'ATTM_Mag_PKM_01', 4, N'PKM Ammo Box', N'Fix by CCleanerZ', N'', N'', 0, 0, 0, 0, 0, 120, 0, N'', N'', 0, 19, 0, 0, 0, 0, 11, 77, 3030, 15000, 0, 0, 0)
ItemsDB.xml
Code:
<Attachment itemID="400158" category="19" type="4" SpecID="0" Weight="1000">
<Model file="Data/ObjectsDepot/Weapons/ATTM_Mag_PKM_01.sco" MuzzleParticle="" FireSound="" ScopeAnim="" />
<Store name="PKM Ammo Box" icon="$Data/Weapons/StoreIcons/ATTM_Mag_PKM_01.dds" desc="Fix by CCleanerZ" LevelRequired="0" />
<Upgrade damage="0" range="0" firerate="0" recoil="0" spread="0" clipsize="120" ScopeMag="0" ScopeType="" />
</Attachment>
english.lang
Code:
400158_name=PKM Ammo Box
400158_desc=Box of ammo for the PKM
Don't forget to check IDs and change the weight/price.
Last edited: