-
-
Notifications
You must be signed in to change notification settings - Fork 0
WeaponConfig
DekoKiyo edited this page May 12, 2024
·
1 revision
Settings Name | Descriptions | Init Value | Note |
---|---|---|---|
chance | The rate of using this preset. | 100 | |
Model | Weapon Model | Empty String | |
Components | The components that attach to the weapon. | Optional |
Example 1
<OfficerWeapons>
<Weapon chance="100">
<Model>WEAPON_PISTOL</Model>
<Components>
<Component>COMPONENT_AT_PI_FLSH</Component>
</Components>
</Weapon>
<Weapon chance="50">
<Model>WEAPON_COMBATPISTOL</Model>
<Components>
<Component>COMPONENT_AT_PI_FLSH</Component>
</Components>
</Weapon>
</OfficerWeapons>
Example 2
<RobbersThrowableWeapons>
<Weapon chance="50">
<Model>WEAPON_GRENADE</Model>
</Weapon>
<Weapon chance="50">
<Model>WEAPON_SMOKEGRENADE</Model>
</Weapon>
</RobbersThrowableWeapons>