Viewing 15 posts - 106 through 120 (of 150 total)

Animation for human entity

149 replies
14 years ago
#12478

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)

 

14 years ago
#12479

eXistenZ34 That is because there are also piss, laundry smoking and table smoking anims in my file

14 years ago
#12484

Director

in your video I’m interested in the last minute

discharge of weapons on the ground

which team?

14 years ago
#12486

Sorry…which team? huh.png.04e12a04934075c5a1e0c618a726c4d9.png<img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/smile@2x.png 2x” width=”20″ height=”20″>

14 years ago
#12487

zahar999

 

game.game:GetActivePlayer():InventoryDrop()

 

it’s in my listing

14 years ago
#12489

Exactly eXistenZ34, now I understand. <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>

14 years ago
#12490

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)

14 years ago
#12491

zahar999

 

Yes hand is wrong

…:ModelToHands(true,1,1) –> not good

 

this is good

game.game:GetActivePlayer():InventoryDrop()

game.game:GetActivePlayer():SetAnimStyle(“common”,”default”)

14 years ago
#12492

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”)

14 years ago
#12497

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)

 

14 years ago
#12500

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.

14 years ago
#12511

haha brilliant!

14 years ago
#12524

Can you give the script of Vito urinating?

14 years ago
#12526

Nice one zahar <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>

Viewing 15 posts - 106 through 120 (of 150 total)
  • You must be logged in to reply to this topic.