Skip to content

Commit

Permalink
add(template): WEAPON_MINISMG (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
ook3D authored Aug 15, 2022
1 parent e74310e commit 7acea86
Show file tree
Hide file tree
Showing 7 changed files with 963 additions and 4 deletions.
3 changes: 3 additions & 0 deletions cWeapon.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class cWeapon
const char* nativeWeapons[100] = {
"WEAPON_ADVANCEDRIFLE",
"WEAPON_APPISTOL",
"WEAPON_MINISMG",
"WEAPON_ASSAULTRIFLE",
"WEAPON_ASSAULTSHOTGUN",
"WEAPON_ASSAULTSMG",
Expand Down Expand Up @@ -82,6 +83,7 @@ class cWeapon
const char* audioItems[100] = {
"AUDIO_ITEM_ADVANCEDRIFLE",
"AUDIO_ITEM_APPISTOL",
"AUDIO_ITEM_MINISMG",
"AUDIO_ITEM_ARMORDILLO_TURRET",
"AUDIO_ITEM_ASSAULTRIFLE",
"AUDIO_ITEM_ASSAULTRIFLE_MK2",
Expand Down Expand Up @@ -232,6 +234,7 @@ class cWeapon
"COMPONENT_ADVANCEDRIFLE_CLIP_02",
"COMPONENT_APPISTOL_CLIP_01",
"COMPONENT_APPISTOL_CLIP_02",
"COMPONENT_MINISMG_CLIP_01",
"COMPONENT_ASSAULTRIFLE_CLIP_01",
"COMPONENT_ASSAULTRIFLE_CLIP_02",
"COMPONENT_ASSAULTSHOTGUN_CLIP_01",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF - 8"?>

<CWeaponComponentInfoBlob>
<Infos>
<Item type="CWeaponComponentClipInfo">
<Name>COMPONENT_MINISMG_CLIP_01</Name>
<Model>w_sb_minismg_mag1</Model>
<LocName>WCT_CLIP1</LocName>
<LocDesc>WCD_SCRP_CLIP1</LocDesc>
<AttachBone>AAPClip</AttachBone>
<WeaponAttachBone>WAPClip</WeaponAttachBone>
<AccuracyModifier type="NULL"/>
<DamageModifier type="NULL"/>
<bShownOnWheel value="false"/>
<CreateObject value="true"/>
<HudDamage value="0"/>
<HudSpeed value="0"/>
<HudCapacity value="0"/>
<HudAccuracy value="0"/>
<HudRange value="0"/>
<ClipSize value="30"/>
<AmmoInfo/>
<ReloadData ref="RELOAD_DEFAULT_WITH_EMPTIES" />
</Item>
</Infos>
<InfoBlobName/>
</CWeaponComponentInfoBlob>

Loading

0 comments on commit 7acea86

Please sign in to comment.