Turret Config allows you to configure the way turrets work, full option list below.
Some options for the ammoType:
Note: Multiple ammunition types are not supported. You may only choose one type.
This is controlled client side, the maximum health is actually changing however it will not appear that way to the client. Currently there is no fix for this until Facepunch updates the network protocol to support it.
I changed the ammo type but the its not working right
Changing the ammunition type will only change the type of ammunition that the turret consumes and the firing sound. It will not change the firing animation or add any effects typically associated with other ammunition types (such as HV or explosive rounds)
Features
- Turret Health Options
- Player Damage Modifier
- Animal Override (disable attacking animals)
- Animal Whitelist (disable attacking specific animals)
- Admin override (adminOverride) - automatically adds admins to authorization list of turrets
- Sleep override (sleepOverride) - avoid targeting sleeping players
Auto Turret Features
- Bullet Damage Modifier
- Accuracy (aimCone)
- Targeting Distance (sightRange)
- Speed of bullets (bulletSpeed)
- Ammunition type and gun sound
- Infinite ammunition for turrets (do not put ammunition in "infinite auto turrets", it is irrecoverable)
Flame Turret Features
- Flame Damage Modifier
- Arc (arc)
- Trigger Duration (triggerDuration)
- Flame Range (flameRange)
- Flame Radius (flameRadius)
- Fuel Used Per Second (fuelPerSec)
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.- turretconfig.default
Aside from providing the ability to change default turret properties, TurretConfig also provides the ability to change turret properties for specific players or groups. A server owner may configure as many or as few custom turret options, and assign the configured permissions. turretconfig.default is included by default to demonstrate how to do this. - turretconfig.infiniteammo -- Gives turrets built by player infinite ammo
Console Commands
- turrets.reload -- Apply configuration to all turrets
Configuration
The settings and options can be configured in the TurretConfig file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Some options for the ammoType:
Note: Multiple ammunition types are not supported. You may only choose one type.
FAQ
Why isn't the maximum health of the turret changing?This is controlled client side, the maximum health is actually changing however it will not appear that way to the client. Currently there is no fix for this until Facepunch updates the network protocol to support it.
I changed the ammo type but the its not working right
Changing the ammunition type will only change the type of ammunition that the turret consumes and the firing sound. It will not change the firing animation or add any effects typically associated with other ammunition types (such as HV or explosive rounds)
Known Issues
- Ammunition already in auto turrets or put into auto turrets is lost when infinite ammunition is enabled.