How do I make a shell casing according to weapon type#
- Firstly, you should examine this native to find out the type of weapon. GetWeapontypeGroup1
- Secondly, you should choose the bullet case model. You can find this by searching the PlebMaster 2site. Usually when you type Sheel, many models come out.
- After doing these first two operations, go to wais-evidence/Config.lua
- After finding the Config.CaseModels table, type the group name of the weapon type as in the example below.
Config.CaseModels = { -- Probe of the shell / bullet case sample to be formed on the ground when fired with a gun
[`GROUP_SNIPER`] = "w_pi_singleshot_shell",
}
How do I add Blacklist Weapon#
When adding a Blacklist weapon, you can add both weapon name specific and group.
- If you want to add it as a group, you can read the article above about how to find the group name of the weapon.
Config.BlackListedWeapons = {
["weapons"] = {
[`weapon_pistol`] = true,
[`your_weapon_name`] = true,
},
["group"] = {
[`GROUP_MELEE`] = true,
[`GROUP_THROWN`] = true,
[`GROUP_STUNGUN`] = true,
[`GROUP_PETROLCAN`] = true,
[`GROUP_PARACHUTE`] = true,
}
}
Where can I change the weapon names that appear in the archive#
- For this, you must visit the Config.Weapons table.
- After visiting the painting, you should look for the name of your weapon. Example: weapon_pistol
- After finding the weapon, you can change the visible name of your weapon from the Label variable in it.
Config.Weapons = {
[`my_weapon`] = { label = 'My weapon label', weapontype = 'My weapon type' },
}