Change sniper kill texture
This commit is contained in:
parent
d9771108e5
commit
fe37a08a83
3 changed files with 4 additions and 2 deletions
|
@ -129,6 +129,8 @@ ctf.register_on_killedplayer(function(victim, killer, stack, tool_caps)
|
|||
type = "rocket"
|
||||
elseif tool_caps.damage_groups.ranged then
|
||||
type = "bullet"
|
||||
elseif tool_caps.damage_groups.sniper then
|
||||
type = "sniper"
|
||||
end
|
||||
|
||||
if tool_caps.damage_groups.combat_log then
|
||||
|
|
BIN
mods/ctf/ctf_events/textures/ctf_events_kill_sniper.png
Normal file
BIN
mods/ctf/ctf_events/textures/ctf_events_kill_sniper.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 683 B |
|
@ -7,7 +7,7 @@ sniper_rifles.register_rifle("sniper_rifles:rifle_762", {
|
|||
rounds = 30,
|
||||
range = 300,
|
||||
step = 30,
|
||||
tool_caps = { full_punch_interval = 1.5, damage_groups = { fleshy = 12 } },
|
||||
tool_caps = { full_punch_interval = 1.5, damage_groups = { fleshy = 12, sniper = 1 } },
|
||||
sounds = { shot = "sniper_rifles_shot" },
|
||||
particle = "shooter_bullet.png",
|
||||
groups = {
|
||||
|
@ -25,7 +25,7 @@ sniper_rifles.register_rifle("sniper_rifles:rifle_magnum", {
|
|||
rounds = 20,
|
||||
range = 400,
|
||||
step = 30,
|
||||
tool_caps = { full_punch_interval = 2, damage_groups = { fleshy = 16 } },
|
||||
tool_caps = { full_punch_interval = 2, damage_groups = { fleshy = 16, sniper = 1 } },
|
||||
sounds = { shot = "sniper_rifles_shot" },
|
||||
particle = "shooter_bullet.png",
|
||||
groups = {
|
||||
|
|
Loading…
Reference in a new issue