Plugin to enhance voice perimeter action with preview as a circle or sphere
DEMO : https://youtu.be/PdJdZUI4kNM
- download the git repository
- uncompress in your fxserver
- add ensure voiceEnhanced to the server.cfg
You need to edit "config.lua" file to change as you want
Config.Colors = {
whisper = { r = 0, g = 181, b = 255, a = 255 },
default = { r = 60, g = 228, b = 60, a = 255 },
shout = { r = 255, g = 0, b = 0, a = 255 },
current = { r = 166, g = 166, b = 255, a = 255 },
}
Config | Default |
---|---|
whisper | { r = 0, g = 181, b = 255, a = 255 } |
default | { r = 60, g = 228, b = 60, a = 255 } |
shout | { r = 255, g = 0, b = 0, a = 255 } |
current | { r = 166, g = 166, b = 255, a = 255 } |
Config.Icons = {
x = 0.009,
y = 0.0,
scale = 0.35,
coef = 1.2,
default = "🔉",
shout = "🔊",
whisper = "🔈",
current = "🔉",
}
Config | Description | Default |
---|---|---|
x | X icon position | 0.009 |
y | y icon position | 0.0 |
scale | icon scale | 0.35 |
coef | enlargement while we speak | 1.2 |
default | icon current/default | "🔉" |
shout | icon shout | "🔊" |
whisper | icon whisper | "🔈" |
current | icon default/current | "🔉" |
Config.Marker = {
enable = false,
whisper = 3.0,
default = 10.0,
shout = 30.0,
current = 30.0,
coef = 2.0,
type = 1,
dirX = 0.0,
dirY = 0.0,
dirZ = 0.0,
rotX = 0,
rotY = 0.0,
rotZ = 0.0,
bobUpAndDown = false,
faceCamera = true,
p19 = 2,
rotate = false,
textureDict = false,
textureName = false,
drawOnEnts =false,
offset = 0.0,
}
Config.Sphere = {
enable = true,
whisper = 3.0,
default = 10.0,
shout = 30.0,
current = 30.0,
coef = 1.0,
opacity = 0.5,
offset = 1.0,
}
Config | Description | Default |
---|---|---|
enable | enable or disable this type | true |
whisper | range whisper | 3.0 |
default | range default | 10.0 |
shout | range shout | 30.0 |
current | range current | 30.0 |
coef | coef to get the right preview | 1.0 |
opacity | sphere opacity | 0.5 |
offset | offset to adjust | 1.0 |
- Count players in perimeter
- Andyyy7666
- https://github.com/Andyyy7666/VoiceRange
- This repo helped me so much