add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
58
gamedata/scripts/smart_covers_animpoint_stay_wall.script
Normal file
58
gamedata/scripts/smart_covers_animpoint_stay_wall.script
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
local temp = {}
|
||||
if (move ~= nil) then
|
||||
temp = move
|
||||
end
|
||||
move = temp
|
||||
|
||||
function get_smart_cover()
|
||||
return {
|
||||
need_weapon = false,
|
||||
loopholes = {
|
||||
smart_covers_loophole_animpoint_stay_wall.get_loophole("animpoint_stay_wall", vector():set(0,0,0), vector():set(0,0,-1), vector():set(0,0,-1))
|
||||
},
|
||||
|
||||
|
||||
transitions = {
|
||||
--' Àíèìàöèè âõîäà â áîéíèöû
|
||||
{
|
||||
vertex0 = "",
|
||||
vertex1 = "animpoint_stay_wall",
|
||||
weight = 1.0,
|
||||
actions = {
|
||||
{
|
||||
precondition_functor = "smart_covers.script_functor_true",
|
||||
precondition_params = "",
|
||||
actions = {
|
||||
{
|
||||
animation = "animpoint_stay_wall_in_1",
|
||||
position = vector():set(0,0,0),
|
||||
body_state = move.crouch, movement_type = move.run,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
--' Àíèìàöèè âûõîäà èç áîéíèö.
|
||||
{
|
||||
vertex0 = "animpoint_stay_wall",
|
||||
vertex1 = "",
|
||||
weight = 1.1,
|
||||
actions = {
|
||||
{
|
||||
precondition_functor = "smart_covers.script_functor_true",
|
||||
precondition_params = "",
|
||||
actions = {
|
||||
{
|
||||
animation = "animpoint_stay_wall_out_1",
|
||||
position = vector():set(0,0,0),
|
||||
body_state = move.standing, movement_type = move.run,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue