- This topic has 149 replies, 32 voices, and was last updated 12 years, 5 months ago by .
Animation for human entity
http://www.youtube.com/watch?v=aF4orZ497rU
More finished codes soon.
ply=game.game:GetActivePlayer()
DelayBuffer:Insert(function(l_1_0)
CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:SetControlStyle(enums.ControlStyle.LOCKED)end,
function(l_2_0)return ply:SetPhysState(enums.PhysicsState.DISABLED)end,
function(l_3_0)return game.game:GetActivePlayer():ModelToHands(true,-1,35)end,
function(l_4_0)return ply:AnimPlay(“sc_shovel_in_snow”, false)end,
function(l_5_0)return ply:AnimPlay(“sc_shovel_snow_loop”, false)end,
function(l_6_0)return ply:AnimPlay(“sc_shovel_strafe_snow_R”, false)end,
function(l_7_0)return ply:AnimPlay(“sc_shovel_strafe_snow_R”, false)end,
function(l_8_0)return ply:AnimPlay(“sc_shovel_strafe_snow_R”, false)end,
function(l_9_0)return ply:AnimPlay(“sc_shovel_strafe_snow_R”, false)end,
function(l_10_0)return ply:AnimPlay(“sc_shovel_strafe_snow_R”, false)end,
function(l_11_0)return ply:AnimPlay(“sc_shovel_strafe_snow_R”, false)end,
function(l_12_0)return ply:AnimPlay(“sc_shovel_out_snow”, false)end,
function(l_13_0)return game.game:GetActivePlayer():InventoryAddMoney(200)end,
function(l_14_0)return game.game:GetActivePlayer():ModelToHands(true,-1,100)end,
function(l_15_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end,
function(l_16_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end})
end,{l_1_0},500,1,false)
eXistenZ34 That is because there are also piss, laundry smoking and table smoking anims in my file
Director
in your video I’m interested in the last minute
discharge of weapons on the ground
which team?
Sorry…which team? ![]()
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>
zahar999
game.game:GetActivePlayer():InventoryDrop()
it’s in my listing
Exactly eXistenZ34, now I understand.
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>
Director
eXistenZ34 answered the question
eXistenZ34
I did not know that it is so
in the video after the reset of weapons
the hand is wrong
this can be corrected?
I think so
…:ModelToHands(true,1,1)
zahar999
Yes hand is wrong
…:ModelToHands(true,1,1) –> not good
this is good
game.game:GetActivePlayer():InventoryDrop()
game.game:GetActivePlayer():SetAnimStyle(“common”,”default”)
eXistenZ34
Yes, I also realized this and tried to
but if the aim or shoot
it works with an error
and it does not help
…:SetAnimStyle(“weapon”,”default”)
Hi, so here is another useful animation.
Sleep in Joe’s flat + auto save. It works on “cnt_free_ride_game”.
I got it for F3 lua button.
http://www.youtube.com/watch?v=1EB79ix9HEM
ply=game.game:GetActivePlayer()
DelayBuffer:Insert(function(l_1_0)
CommandBuffer:Insert(l_6_0,{
function(l_1_0)return ply:SetControlStyle(enums.ControlStyle.LOCKED)end,
function(l_2_0)return ply:SetPhysState(enums.PhysicsState.DISABLED)end,
function(l_3_0)return game.gfx:SetWeatherTemplate(“DT02NewStart1”)end,
function(l_4_0)return game.game:ChangePlayerModel(“vitspo”)end,
function(l_5_0)return ply:AnimPlay(“sc_sit_bench2_in”, false)end,
function(l_6_0)return ply:AnimPlay(“sc_Vito_sleep_L”, false)end,
function(l_7_0)return game.hud:FaderFadeOut(2000)end,
function(l_8_0)return game.game:SaveGame(1)end,
function(l_9_0)return game.gfx:SetWeatherTemplate(“DT02part02JoesFlat”)end,
function(l_10_0)return ply:AnimPlay(“sc_Vito_sleep_L”, false)end,
function(l_11_0)return game.hud:FaderFadeIn(2000)end,
function(l_12_0)return ply:AnimPlay(“sc_Vito_wakeup_L”, false)end,
function(l_13_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end,
function(l_14_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end})
end,{l_1_0},500,1,false)
How to wake up if you continue the story “cnt_free_ride_game”.
I got it for F4 lua button.
http://www.youtube.com/watch?v=I5KVAn3gHys
ply=game.game:GetActivePlayer()
DelayBuffer:Insert(function(l_1_0)
CommandBuffer:Insert(l_6_0,{
function(l_1_0)return game.gfx:SetWeatherTemplate(“DT02part02JoesFlat”)end,
function(l_2_0)return ply:AnimPlay(“sc_Vito_sleep_L”, false)end,
function(l_3_0)return game.hud:FaderFadeIn(2000)end,
function(l_4_0)return ply:AnimPlay(“sc_Vito_wakeup_L”, false)end,
function(l_5_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end,
function(l_6_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end})
end,{l_1_0},500,1,false)
That’s great, now we don’t have to just press the menu for save but sleep!!!
I have an idea about joe and henry but don’t know if you guys can make it. It would be very realistic if when you want them to stop following you, they start walking for the nearest safe house or a certain place where you can pick them up whenerver you want them again.
haha brilliant!
Can you give the script of Vito urinating?
Nice one zahar
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>
- You must be logged in to reply to this topic.
