add game&rawdata

This commit is contained in:
Vasily Petrov 2026-06-17 23:06:51 +03:00
parent 0133cd976c
commit 49b34b5546
45731 changed files with 709831 additions and 0 deletions

View file

@ -0,0 +1,111 @@
function get_loophole(id, fov_direction, position, enter_direction)
local pos = position or vector():set(0,0,0)
local enter_dir = enter_direction or vector():set(-1,0,0)
return { id = id,
fov_position = pos,
fov_direction = fov_direction,
danger_fov_direction = vector():set(-1,0,-1),
enter_direction = enter_dir,
enterable = true,
exitable = true,
usable = true,
fov = 70.0,
danger_fov = 90.0,
range = 70.0,
actions = {
idle = {
animations = {
idle = {
"loophole_stand_front_left_idle_0",
},
},
},
lookout = {
animations = {
idle = {
"loophole_stand_front_left_look_idle_0",
},
},
},
fire = {
animations = {
idle = {
"loophole_stand_front_left_attack_idle_0",
},
shoot = {
"loophole_stand_front_left_attack_shoot_0",
"loophole_stand_front_left_attack_shoot_1",
},
},
},
fire_no_lookout = {
animations = {
idle = {
"loophole_stand_front_left_attack_idle_0",
},
shoot = {
"loophole_stand_front_left_attack_shoot_0",
"loophole_stand_front_left_attack_shoot_1",
},
},
},
reload = {
animations = {
idle = {
"loophole_stand_front_left_reload_0",
},
},
},
},
transitions = {
{
action_from = "idle",
action_to = "lookout",
weight = 1.2,
animations = {
"loophole_stand_front_left_look_in_0",
},
},
{
action_from = "lookout",
action_to = "idle",
weight = 1.2,
animations = {
"loophole_stand_front_left_look_out_0",
},
},
{
action_from = "idle",
action_to = "fire",
weight = 1.2,
animations = {
"loophole_stand_front_left_attack_in_0",
},
},
{
action_from = "fire",
action_to = "idle",
weight = 1.2,
animations = {
"loophole_stand_front_left_attack_out_0",
},
},
{
action_from = "idle",
action_to = "fire_no_lookout",
weight = 1.2,
animations = {
"loophole_stand_front_left_attack_in_0",
},
},
{
action_from = "fire_no_lookout",
action_to = "idle",
weight = 1.2,
animations = {
"loophole_stand_front_left_attack_out_0",
},
},
},
}
end