add hk53
41
init.lua
@ -334,6 +334,47 @@ first_person_shooter.register_weapon("first_person_shooter:m4a1", {
|
||||
},
|
||||
})
|
||||
|
||||
first_person_shooter.register_weapon("first_person_shooter:hk53", {
|
||||
description = "HK53",
|
||||
icon = "m16a2_icon.png",
|
||||
maximum_range = 100,
|
||||
penetration_power = 0.2,
|
||||
damage = 10,
|
||||
is_automatic_fire = true,
|
||||
animation_framerate = 120,
|
||||
animations = {
|
||||
["idle"] = {
|
||||
texture_prefix = "hk53_idle",
|
||||
total_frames = 1,
|
||||
},
|
||||
["aim_idle"] = {
|
||||
texture_prefix = "hk53_aimidle",
|
||||
total_frames = 1,
|
||||
},
|
||||
["aim_transition"] = {
|
||||
texture_prefix = "hk53_aim",
|
||||
total_frames = 11,
|
||||
},
|
||||
["fire"] = {
|
||||
texture_prefix = "hk53_fire",
|
||||
total_frames = 13,
|
||||
},
|
||||
["aim_fire"] = {
|
||||
texture_prefix = "hk53_aimfire",
|
||||
total_frames = 13,
|
||||
},
|
||||
["reload"] = {
|
||||
texture_prefix = "hk53_reload",
|
||||
total_frames = 370,
|
||||
},
|
||||
},
|
||||
sounds = {
|
||||
["fire"] = {
|
||||
sound_name = "hk53_fire",
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
--Player-------------------------------------------
|
||||
|
||||
first_person_shooter.initialize_player = function(player)
|
||||
|
BIN
sounds/hk53_fire.1.ogg
Normal file
BIN
sounds/hk53_fire.2.ogg
Normal file
BIN
sounds/hk53_fire.3.ogg
Normal file
BIN
textures/hk53_aim.1.png
Normal file
After Width: | Height: | Size: 295 KiB |
BIN
textures/hk53_aim.10.png
Normal file
After Width: | Height: | Size: 155 KiB |
BIN
textures/hk53_aim.11.png
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
textures/hk53_aim.2.png
Normal file
After Width: | Height: | Size: 294 KiB |
BIN
textures/hk53_aim.3.png
Normal file
After Width: | Height: | Size: 280 KiB |
BIN
textures/hk53_aim.4.png
Normal file
After Width: | Height: | Size: 276 KiB |
BIN
textures/hk53_aim.5.png
Normal file
After Width: | Height: | Size: 252 KiB |
BIN
textures/hk53_aim.6.png
Normal file
After Width: | Height: | Size: 222 KiB |
BIN
textures/hk53_aim.7.png
Normal file
After Width: | Height: | Size: 193 KiB |
BIN
textures/hk53_aim.8.png
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
textures/hk53_aim.9.png
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
textures/hk53_aimfire.1.png
Normal file
After Width: | Height: | Size: 158 KiB |
BIN
textures/hk53_aimfire.10.png
Normal file
After Width: | Height: | Size: 153 KiB |
BIN
textures/hk53_aimfire.11.png
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
textures/hk53_aimfire.12.png
Normal file
After Width: | Height: | Size: 149 KiB |
BIN
textures/hk53_aimfire.13.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
textures/hk53_aimfire.2.png
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
textures/hk53_aimfire.3.png
Normal file
After Width: | Height: | Size: 162 KiB |
BIN
textures/hk53_aimfire.4.png
Normal file
After Width: | Height: | Size: 164 KiB |
BIN
textures/hk53_aimfire.5.png
Normal file
After Width: | Height: | Size: 158 KiB |
BIN
textures/hk53_aimfire.6.png
Normal file
After Width: | Height: | Size: 161 KiB |
BIN
textures/hk53_aimfire.7.png
Normal file
After Width: | Height: | Size: 161 KiB |
BIN
textures/hk53_aimfire.8.png
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
textures/hk53_aimfire.9.png
Normal file
After Width: | Height: | Size: 155 KiB |
BIN
textures/hk53_aimidle.1.png
Normal file
After Width: | Height: | Size: 170 KiB |
BIN
textures/hk53_fire.1.png
Normal file
After Width: | Height: | Size: 292 KiB |
BIN
textures/hk53_fire.10.png
Normal file
After Width: | Height: | Size: 300 KiB |
BIN
textures/hk53_fire.11.png
Normal file
After Width: | Height: | Size: 293 KiB |
BIN
textures/hk53_fire.12.png
Normal file
After Width: | Height: | Size: 295 KiB |
BIN
textures/hk53_fire.13.png
Normal file
After Width: | Height: | Size: 288 KiB |
BIN
textures/hk53_fire.2.png
Normal file
After Width: | Height: | Size: 319 KiB |
BIN
textures/hk53_fire.3.png
Normal file
After Width: | Height: | Size: 299 KiB |
BIN
textures/hk53_fire.4.png
Normal file
After Width: | Height: | Size: 306 KiB |
BIN
textures/hk53_fire.5.png
Normal file
After Width: | Height: | Size: 306 KiB |
BIN
textures/hk53_fire.6.png
Normal file
After Width: | Height: | Size: 311 KiB |
BIN
textures/hk53_fire.7.png
Normal file
After Width: | Height: | Size: 309 KiB |
BIN
textures/hk53_fire.8.png
Normal file
After Width: | Height: | Size: 314 KiB |
BIN
textures/hk53_fire.9.png
Normal file
After Width: | Height: | Size: 303 KiB |
BIN
textures/hk53_idle.1.png
Normal file
After Width: | Height: | Size: 307 KiB |
BIN
textures/hk53_reload.1.png
Normal file
After Width: | Height: | Size: 288 KiB |
BIN
textures/hk53_reload.10.png
Normal file
After Width: | Height: | Size: 311 KiB |
BIN
textures/hk53_reload.100.png
Normal file
After Width: | Height: | Size: 200 KiB |
BIN
textures/hk53_reload.101.png
Normal file
After Width: | Height: | Size: 201 KiB |
BIN
textures/hk53_reload.102.png
Normal file
After Width: | Height: | Size: 192 KiB |
BIN
textures/hk53_reload.103.png
Normal file
After Width: | Height: | Size: 185 KiB |
BIN
textures/hk53_reload.104.png
Normal file
After Width: | Height: | Size: 179 KiB |
BIN
textures/hk53_reload.105.png
Normal file
After Width: | Height: | Size: 178 KiB |
BIN
textures/hk53_reload.106.png
Normal file
After Width: | Height: | Size: 173 KiB |
BIN
textures/hk53_reload.107.png
Normal file
After Width: | Height: | Size: 174 KiB |
BIN
textures/hk53_reload.108.png
Normal file
After Width: | Height: | Size: 175 KiB |
BIN
textures/hk53_reload.109.png
Normal file
After Width: | Height: | Size: 172 KiB |
BIN
textures/hk53_reload.11.png
Normal file
After Width: | Height: | Size: 324 KiB |
BIN
textures/hk53_reload.110.png
Normal file
After Width: | Height: | Size: 174 KiB |
BIN
textures/hk53_reload.111.png
Normal file
After Width: | Height: | Size: 170 KiB |
BIN
textures/hk53_reload.112.png
Normal file
After Width: | Height: | Size: 167 KiB |
BIN
textures/hk53_reload.113.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
textures/hk53_reload.114.png
Normal file
After Width: | Height: | Size: 168 KiB |
BIN
textures/hk53_reload.115.png
Normal file
After Width: | Height: | Size: 164 KiB |
BIN
textures/hk53_reload.116.png
Normal file
After Width: | Height: | Size: 165 KiB |
BIN
textures/hk53_reload.117.png
Normal file
After Width: | Height: | Size: 165 KiB |
BIN
textures/hk53_reload.118.png
Normal file
After Width: | Height: | Size: 165 KiB |
BIN
textures/hk53_reload.119.png
Normal file
After Width: | Height: | Size: 165 KiB |
BIN
textures/hk53_reload.12.png
Normal file
After Width: | Height: | Size: 324 KiB |
BIN
textures/hk53_reload.120.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
textures/hk53_reload.121.png
Normal file
After Width: | Height: | Size: 145 KiB |
BIN
textures/hk53_reload.122.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
textures/hk53_reload.123.png
Normal file
After Width: | Height: | Size: 148 KiB |
BIN
textures/hk53_reload.124.png
Normal file
After Width: | Height: | Size: 147 KiB |
BIN
textures/hk53_reload.125.png
Normal file
After Width: | Height: | Size: 149 KiB |
BIN
textures/hk53_reload.126.png
Normal file
After Width: | Height: | Size: 149 KiB |
BIN
textures/hk53_reload.127.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
textures/hk53_reload.128.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
textures/hk53_reload.129.png
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
textures/hk53_reload.13.png
Normal file
After Width: | Height: | Size: 307 KiB |
BIN
textures/hk53_reload.130.png
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
textures/hk53_reload.131.png
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
textures/hk53_reload.132.png
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
textures/hk53_reload.133.png
Normal file
After Width: | Height: | Size: 157 KiB |
BIN
textures/hk53_reload.134.png
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
textures/hk53_reload.135.png
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
textures/hk53_reload.136.png
Normal file
After Width: | Height: | Size: 157 KiB |
BIN
textures/hk53_reload.137.png
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
textures/hk53_reload.138.png
Normal file
After Width: | Height: | Size: 159 KiB |
BIN
textures/hk53_reload.139.png
Normal file
After Width: | Height: | Size: 162 KiB |
BIN
textures/hk53_reload.14.png
Normal file
After Width: | Height: | Size: 318 KiB |
BIN
textures/hk53_reload.140.png
Normal file
After Width: | Height: | Size: 160 KiB |
BIN
textures/hk53_reload.141.png
Normal file
After Width: | Height: | Size: 167 KiB |
BIN
textures/hk53_reload.142.png
Normal file
After Width: | Height: | Size: 164 KiB |
BIN
textures/hk53_reload.143.png
Normal file
After Width: | Height: | Size: 169 KiB |
BIN
textures/hk53_reload.144.png
Normal file
After Width: | Height: | Size: 170 KiB |
BIN
textures/hk53_reload.145.png
Normal file
After Width: | Height: | Size: 176 KiB |
BIN
textures/hk53_reload.146.png
Normal file
After Width: | Height: | Size: 175 KiB |
BIN
textures/hk53_reload.147.png
Normal file
After Width: | Height: | Size: 179 KiB |
BIN
textures/hk53_reload.148.png
Normal file
After Width: | Height: | Size: 180 KiB |
BIN
textures/hk53_reload.149.png
Normal file
After Width: | Height: | Size: 189 KiB |
BIN
textures/hk53_reload.15.png
Normal file
After Width: | Height: | Size: 320 KiB |