- Grenade launchers are determined by a custom skin and weapon icon
- Grenade launchers will not reload with normal ammo
- Grenade launchers require that the user has grenades in their inventory
- Grenade launchers will not shoot while the reload animation is playing
Chat Command
/grenade - Gives the player a grenade launcher
Console Command
grenade <playerID or name> - Gives the specified player a grenade launcher (useful for selling in stores)
Permissions
grenadelauncher.spawn - Required to use the chat command
grenadelauncher.noammo - Removes the requirement of grenades in the users inventory
Config Options
"Grenade Options" - "Grenades explode on impact" : Setting this to true means grenades will explode on impact. Setting this to false means the grenades will act as if you threw one
"Grenade Options" - "Interval between grenades fired" : The rate at which a user can fire grenades (in seconds)
"Grenade Options" - "Grenade velocity" : The velocity at which the grenades are fired
"Grenade Options" - "Grenades stick on collision" : Setting this to true will make the grenades stick to the first thing they hit. This setting is irrelevant if you have explode on impact set to true
"Weapon and Projectile Options" : This section contains options to change the required weapon, the skin that determines it is a grenade launcher, and the projectile that is fired
Config
- Grenade launchers will not reload with normal ammo
- Grenade launchers require that the user has grenades in their inventory
- Grenade launchers will not shoot while the reload animation is playing
Chat Command
/grenade - Gives the player a grenade launcher
Console Command
grenade <playerID or name> - Gives the specified player a grenade launcher (useful for selling in stores)
Permissions
grenadelauncher.spawn - Required to use the chat command
grenadelauncher.noammo - Removes the requirement of grenades in the users inventory
Config Options
"Grenade Options" - "Grenades explode on impact" : Setting this to true means grenades will explode on impact. Setting this to false means the grenades will act as if you threw one
"Grenade Options" - "Interval between grenades fired" : The rate at which a user can fire grenades (in seconds)
"Grenade Options" - "Grenade velocity" : The velocity at which the grenades are fired
"Grenade Options" - "Grenades stick on collision" : Setting this to true will make the grenades stick to the first thing they hit. This setting is irrelevant if you have explode on impact set to true
"Weapon and Projectile Options" : This section contains options to change the required weapon, the skin that determines it is a grenade launcher, and the projectile that is fired
Config
C#:
{
"Grenade Options": {
"Time before explosive is armed": 0.2,
"Grenades explode on impact": false,
"Grenades stick on collision": true,
"Interval between grenades fired": 1.0,
"Grenade velocity": 20.0,
"Grenade damage multiplier": 1.0
},
"Weapon and Projectile Options": {
"Weapon item ID": -1009492144,
"Weapon skin ID": 1252885494,
"Projectile item ID": -1308622549,
"Projectile item prefab path": "assets/prefabs/weapons/f1 grenade/grenade.f1.deployed.prefab"
},
"UI Options": {
"Allow players to view the crosshair UI": true,
"Launcher crosshair image URL": "http://www.chaoscode.io/oxide/Images/glcrosshair.png"
},
"Version": {
"Major": 0,
"Minor": 1,
"Patch": 2
}
}