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,610 @@
local temp = {}
if (move ~= nil) then
temp = move
end
move = temp
function get_smart_cover()
return {
need_weapon = true,
loopholes = {
-- Êðàó÷
smart_covers_loophole_crouch_front_left.get_loophole ("crouch_front_left", vector():set(-1, 0, -0.7)),
smart_covers_loophole_crouch_front.get_loophole ("crouch_front", vector():set(-1, 0, 0)),
smart_covers_loophole_crouch_front_right.get_loophole ("crouch_front_right", vector():set(-1, 0, 0.7)),
-- Ñòîÿ
smart_covers_loophole_stand_front_left.get_loophole ("stand_front_left", vector():set(-1, 0, -0.7)),
smart_covers_loophole_stand_front_right.get_loophole ("stand_front_right", vector():set(-1, 0, 0.7)),
-- Ëåæà
},
transitions = {
--' Àíèìàöèè âõîäà â áîéíèöû
{
vertex0 = "",
vertex1 = "crouch_front_left",
weight = 1.0,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "loophole_crouch_in_front_left_0",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "",
vertex1 = "crouch_front",
weight = 1.0,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "loophole_crouch_in_front_0",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "",
vertex1 = "crouch_front_right",
weight = 1.0,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "loophole_crouch_in_front_right_0",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "",
vertex1 = "stand_front_left",
weight = 1.0,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "loophole_stand_in_front_left_0",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "",
vertex1 = "stand_front_right",
weight = 1.0,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "loophole_stand_in_front_right_0",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
--' Àíèìàöèè ïåðåõîäà.
{
vertex0 = "crouch_front",
vertex1 = "crouch_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_to_crouch_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front",
vertex1 = "crouch_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_to_crouch_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front",
vertex1 = "stand_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_to_stand_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front",
vertex1 = "stand_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_to_stand_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_right",
vertex1 = "crouch_front",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_right_to_crouch_front",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_right",
vertex1 = "crouch_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_right_to_crouch_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_right",
vertex1 = "stand_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_right_to_stand_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_right",
vertex1 = "stand_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_right_to_stand_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_left",
vertex1 = "crouch_front",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_left_to_crouch_front",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_left",
vertex1 = "crouch_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_left_to_crouch_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_left",
vertex1 = "stand_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_left_to_stand_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_left",
vertex1 = "stand_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "crouch_front_left_to_stand_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_left",
vertex1 = "crouch_front",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_left_to_crouch_front",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_left",
vertex1 = "crouch_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_left_to_crouch_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_left",
vertex1 = "crouch_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_left_to_crouch_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_left",
vertex1 = "stand_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_left_to_stand_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_right",
vertex1 = "crouch_front",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_right_to_crouch_front",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_right",
vertex1 = "crouch_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_right_to_crouch_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_right",
vertex1 = "crouch_front_right",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_right_to_crouch_front_right",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_right",
vertex1 = "stand_front_left",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "stand_front_right_to_stand_front_left",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
--' Àíèìàöèè âûõîäà èç áîéíèö.
{
vertex0 = "crouch_front_left",
vertex1 = "",
weight = 1.1,
actions = {
--[[{
precondition_functor = "smart_covers.script_functor_jump",
precondition_params = "",
actions = {
{
animation = "loophole_1_jump_0",
position = vector():set(-3,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
},]]--
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front",
vertex1 = "",
weight = 1.1,
actions = {
--[[{
precondition_functor = "smart_covers.script_functor_jump",
precondition_params = "",
actions = {
{
animation = "loophole_2_jump_0",
position = vector():set(-3,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
},]]--
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "crouch_front_right",
vertex1 = "",
weight = 1.1,
actions = {
--[[{
precondition_functor = "smart_covers.script_functor_jump",
precondition_params = "",
actions = {
{
animation = "loophole_3_jump_0",
position = vector():set(-3,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
},]]--
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_left",
vertex1 = "",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
{
vertex0 = "stand_front_right",
vertex1 = "",
weight = 1.1,
actions = {
{
precondition_functor = "smart_covers.script_functor_true",
precondition_params = "",
actions = {
{
animation = "",
position = vector():set(0,0,0),
body_state = move.crouch, movement_type = move.run,
},
},
}
}
},
}
}
end