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