Mafia Scene - Mafia I & II Game Fan Site

Modders Corner => Mafia Scene Modders => eXistenZ34's Mods => Topic started by: eXistenZ34 on September 27, 2011, 05:48:30 PM

Title: Animation for human entity
Post by: eXistenZ34 on September 27, 2011, 05:48:30 PM
[hr:3b902p6p][/hr:3b902p6p]






[align=center:3b902p6p]Animation for human entity
[/size]
[/align:3b902p6p]













[hr:3b902p6p][/hr:3b902p6p]






[align=center:3b902p6p]New way to write the animations script.
[/size]





most need to calculate the delay between each animation.
[/size]
[/align:3b902p6p]













[hr:3b902p6p][/hr:3b902p6p]



I make a little break.
[/size]





All FR
[/size]





Realized with injector


 









<div><iframe width="480" height="270" src="https://www.youtube.com/embed/7FBZJ4BG7cE?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>

 







Quoteply=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 ply:AnimPlay("sc_sit_bench2_in", false)end,




function(l_4_0)return ply:AnimPlay("sc_sit_bench2_a", false)end,




function(l_5_0)return ply:AnimPlay("sc_sit_bench2_news_in", false)end,




function(l_6_0)return ply:AnimPlay("sc_sit_bench2_news_a", false)end,




function(l_7_0)return ply:AnimPlay("sc_sit_bench2_news_out", false)end,




function(l_8_0)return ply:AnimPlay("sc_sit_bench2_dust_off", false)end,




function(l_9_0)return ply:AnimPlay("sc_sit_bench2_look_L", false)end,




function(l_10_0)return ply:AnimPlay("sc_sit_bench2_nervous", false)end,




function(l_11_0)return ply:AnimPlay("sc_bench2_to_bench3", false)end,




function(l_12_0)return ply:AnimPlay("sc_sit_bench3_stat_a", false)end,




function(l_13_0)return ply:AnimPlay("sc_sit_bench3_dust_off", false)end,




function(l_14_0)return ply:AnimPlay("sc_sit_bench3_look_up", false)end,




function(l_15_0)return ply:AnimPlay("sc_sit_bench3_nervous", false)end,




function(l_16_0)return ply:AnimPlay("sc_sit_bench3_watch", false)end,




function(l_17_0)return ply:AnimPlay("sc_bench3_to_bench4", false)end,




function(l_18_0)return ply:AnimPlay("sc_sit_bench4_stat_a", false)end,




function(l_19_0)return ply:AnimPlay("sc_sit_bench4_nervous", false)end,




function(l_20_0)return ply:AnimPlay("sc_sit_bench4_smoke_in", false)end,




function(l_21_0)return ply:AnimPlay("sc_sit_bench4_smoke_a", false)end,




function(l_22_0)return ply:AnimPlay("sc_sit_bench4_smoke_b", false)end,




function(l_23_0)return ply:AnimPlay("sc_sit_bench4_smoke_c", false)end,




function(l_24_0)return ply:AnimPlay("sc_sit_bench4_smoke_out", false)end,




function(l_25_0)return ply:AnimPlay("sc_sit_bench4_out", false)end,




function(l_26_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end,




function(l_27_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)
end})




end,{l_1_0},500,1,false)





in Red
, this is the command to pass through objects


 







[hr:3b902p6p][/hr:3b902p6p]



Vito makes a smoke break
[/size]





All FR
[/size]





Just for fun, for use with the injector.


 









<div><iframe width="480" height="270" src="https://www.youtube.com/embed/dFr-QNrazOQ?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>



This video requires the activation of five different animation


 




Version 1 Clic for PLAYER








Quoteply=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:AnimPlay("sc_man_smoke_in", false)end,





function(l_3_0)return ply:AnimPlay("sc_man_smoke_stat_a", false)end,





function(l_4_0)return ply:AnimPlay("sc_man_smoke_stat_b", false)end,





function(l_5_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,





function(l_6_0)return ply:AnimPlay("sc_man_smoke_stat_d", false)end,





function(l_7_0)return ply:AnimPlay("sc_man_smoke_out", false)end,





function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})





end,{l_1_0},500,1,false)






Version 1 Clic for PNG








Quotejoe=game.entitywrapper:GetEntityByName("Joe")


DelayBuffer:Insert(function(l_1_0)





CommandBuffer:Insert(l_6_0,{





function(l_1_0)return joe:AnimPlay("sc_man_smoke_in", false)end,





function(l_2_0)return joe:AnimPlay("sc_man_smoke_stat_a", false)end,





function(l_3_0)return joe:AnimPlay("sc_man_smoke_stat_b", false)end,





function(l_4_0)return joe:AnimPlay("sc_man_smoke_stat_c", false)end,





function(l_5_0)return joe:AnimPlay("sc_man_smoke_stat_d", false)end,





function(l_6_0)return joe:AnimPlay("sc_man_smoke_out", false)end})





end,{l_1_0},500,1,false)











<div><iframe width="480" height="270" src="https://www.youtube.com/embed/isNq3dgygnA?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>



Version 3 Clic (you can move between the click)








Quoteply=game.game:GetActivePlayer()


if i==nil then i=0 end i=i+1





if i==4 then i=1 end





if i==1 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{





function(l_1_0)return ply:AnimPlay("sc_man_smoke_in", false)end,





function(l_2_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,





function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end





if i==2 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{





function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_d", false)end,





function(l_2_0)return ply:AnimPlay("sc_man_smoke_stat_b", false)end,





function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end





if i=(//smile3.gif) then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{





function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_a", false)end,





function(l_2_0)return ply:AnimPlay("sc_man_smoke_out", false)end,





function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end












- ply:SetControlStyle(enums.ControlStyle.LOCKED)






- ply:SetControlStyle(enums.ControlStyle.FREE)






only for the PLAYER, not necessarily for another PNG














[hr:3b902p6p][/hr:3b902p6p]



Toc Toc ...  wake up NEO
[/size]
.      . small wink to MATRIX





All FR
[/size]



 









<div><iframe width="480" height="270" src="https://www.youtube.com/embed/h4eSiyDU950?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>



This video requires the activation of two different animation







Quoteply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_Vito_sleep_L", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetPos(Math:newVector(-1303.05, 986.05,-17.33))ply:SetDir(Math:newVector(-1,0,0))end,{l_1_0},700,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_Vito_wakeup_L", false)end,{l_1_0},6000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},15000,1,false)











- ply:SetControlStyle(enums.ControlStyle.LOCKED)






- ply:SetControlStyle(enums.ControlStyle.FREE)






only for the PLAYER, not necessarily for another PNG














[hr:3b902p6p][/hr:3b902p6p]



Download injector v6[/size]




http://www.mediafire.com/?7ix394nrvoakbs5 (http://www.mediafire.com/?7ix394nrvoakbs5)




and Start game with "MafiaInjector.exe"


 







[hr:3b902p6p][/hr:3b902p6p]



List animation
[/size]





some animation are used only in certain place or in Winter
[/size]



 




<div class="ipsSpoiler_header">



sc_wheel_in




sc_wheel_mount_in




sc_wheel_mount_loop




sc_wheel_mount_out




sc_wheel_out


 




sc_shovel_in_coal




sc_shovel_coal_stat




sc_shovel_coal_loop




sc_shovel_out_coal


 




sc_homeless_6_in




sc_homeless_6_a




sc_homeless_6_b




sc_homeless_6_out


 




sc_player_tip_a


 




diffAnimList




sc_look_around_a_diff




sc_look_L_a_diff




sc_look_R_a_diff


 




sittingOnBenchAnimLists


 




womanAnimList




sc_sit_bench1_in




sc_sit_bench1_a




sc_sit_bench1_e




sc_sit_bench1_g




sc_sit_bench1_out




sc_sit_bench1_fastout




sc_sit_bench1_to_B




sc_sit_bench1_stat_B




sc_sit_bench1_B_to


 




manFootAnimList




sc_sit_bench2_in




sc_sit_bench2_a




sc_sit_bench2_dust_off




sc_sit_bench2_look_L




sc_sit_bench2_nervous




sc_sit_bench2_out




sc_sit_bench2_out_fast


 




sc_sit_bench2_news_in




sc_sit_bench2_news_a




sc_sit_bench2_news_out


 




sc_bench2_to_bench3




sc_bench2_to_bench4




sc_bench3_to_bench2


 




manWideAnimList


 




sc_sit_bench3_stat_a




sc_sit_bench3_dust_off




sc_sit_bench3_look_up




sc_sit_bench3_nervous




sc_sit_bench3_watch




sc_sit_bench3_out_fast


 




sc_bench3_to_bench4




sc_bench4_to_bench2




sc_bench4_to_bench3


 




manBendAnimList




sc_sit_bench4_in




sc_sit_bench4_stat_a




sc_sit_bench4_nervous




sc_sit_bench4_out




sc_sit_bench4_out_fast


 




manSmokingAnimList




sc_sit_bench4_smoke_in




sc_sit_bench4_smoke_a




sc_sit_bench4_smoke_b




sc_sit_bench4_smoke_c




sc_sit_bench4_smoke_stat




sc_sit_bench4_smoke_out


 




sittingOnGardenAnimLists


 




manAnimListChin




sc_chair_desk_B_look_around




sc_chair_desk_B_look_back




sc_chair_desk_B_think




sc_chair_desk_B_stat




sc_chair_desk_B_drink_cofee




sc_chair_desk_B_out




sc_chair_desk_to_B


 




manAnimListSmoke




sc_chair_desk_smoking_in




sc_chair_desk_smoking_stat




sc_chair_desk_smoking_ashtray




sc_chair_desk_smoking_aspirate




sc_chair_desk_smoking_look_back




sc_chair_desk_smoking_out


 




manAnimListDesk




sc_chair_desk_stat




sc_chair_desk_look_back




sc_chair_desk_thing_a




sc_chair_desk_thing_b




sc_chair_desk_drink_bottle


 




womanAnimListHands




sc_w_chair_desk_B_look_around




sc_w_chair_desk_B_think




sc_w_chair_desk_B_stat


 




womanAnimListSmoke




sc_w_chair_desk_smoke_stat




sc_w_chair_desk_smoke_aspirate_a




sc_w_chair_desk_smoke_aspirate_b




sc_w_chair_desk_smoke_look_back




sc_w_chair_desk_smoke_mirror


 




womanAnimListDesk




sc_w_chair_desk_stat




sc_w_chair_desk_clean




sc_w_chair_desk_hair




sc_w_chair_desk_look_back




sc_w_chair_desk_nervous




sc_w_chair_desk_think




sc_w_chair_desk_drink_coffee


 




sc_w_chair_desk_stat_to_B




sc_w_chair_desk_B_to_stat




sc_w_chair_desk_to_smoke




sc_w_chair_desk_smoke_out


 




sc_w_chair_desk_fastout_L




sc_chair_desk_fastout_L




sc_w_chair_desk_fastout_R




sc_chair_desk_fastout_R


 




NPCSmokingAnimLists


 




smokingAnimListM




sc_man_smoke_in




sc_man_smoke_stat_a




sc_man_smoke_stat_b




sc_man_smoke_stat_c




sc_man_smoke_stat_d




sc_man_smoke_out


 




smokingAnimListW




sc_woman_smoke_in




sc_woman_smoke_stat_a




sc_woman_smoke_stat_b




sc_woman_smoke_stat_c




sc_woman_smoke_stat_d




sc_woman_smoke_stat_e




sc_woman_smoke_out


 




smokingAnimListM




sc_city_man_wall_smoke_stat




sc_city_man_wall_smoke_loop1




sc_city_man_wall_smoke_loop2


 




sc_look_a_in




sc_look_a_loop




sc_look_a_out




sc_look_c_in




sc_look_c_loop




sc_look_c_out


 




sc_woman_look_A_in




sc_woman_look_A_loop




sc_woman_look_A_out


 




sc_woman_look_D_in




sc_woman_look_D_look




sc_woman_look_D_out


 




manGreetAnimList




sc_gestA_M_greet_fingers




sc_gestA_M_greet_nod




sc_gestA_M_greet_open_hand


 




manListenAnimList




sc_gestA_M_yes




sc_gestA_M_you




sc_gestA_M_hips




sc_gestA_M_yes_yes




sc_gestA_M_no_no


 




manTalkAnimList




sc_gestA_M_explanate




sc_gestA_M_me




sc_gestA_M_no




sc_gestA_M_hand_wave




sc_gestA_M_maybe




sc_gestA_M_maybe2




sc_gestA_M_explanate2




sc_gestA_M_everything




sc_gestA_M_however


 




womanGreetAnimList




sc_gestA_W_greet_nod


 




womanListenAnimList




sc_gestA_W_you




sc_gestA_W_no




sc_gestA_W_yes




sc_gestA_W_boring_L




sc_gestA_W_boring_R




sc_gestA_W_look_down




sc_gestA_W_look_up




sc_gestA_W_think




sc_gestA_W_think_b




sc_gestA_W_yes_yes


 




womanTalkAnimList




sc_gestA_W_explanate_b




sc_gestA_W_however




sc_gestA_W_long_explain




sc_gestA_W_not_know




sc_gestA_W_not_know_b




sc_gestA_W_rhand




sc_gestA_W_lhand




sc_gestA_W_you_know


 




camelotAnimList




sc_news_stat




sc_news_look_a




sc_news_sell_M




sc_news_sell_S


 




carRepairAnimLists




repairAnimList




sc_service_motor_look




sc_service_motor_stat




sc_service_motor_mount_in




sc_service_motor_mount_loop




sc_service_motor_mount_out


 




wheelAnimList




sc_wheel_stat


 




fishingAnimList




sc_fishing_stat




sc_fishing_catch




sc_fishing_throw


 




sittingAnimList




sc_gangsta_a_stat




sc_gangsta_a_lookaround


 




bomberReactionAnimList




sc_gangsta_a_gest_a




sc_gangsta_a_gest_c


 




hotdogStand




sc_hot_sell_b




sc_hot_sell_M




sc_hot_sell_S




sc_hot_a




sc_hot_b




sc_hot_c




sc_hot_out


 




barelAnimList1




sc_homesles_1_in




sc_homesles_1_a




sc_homesles_1_b




sc_homesles_1_c




sc_homesles_1_out


 




barelAnimList2




sc_homeles_2_in




sc_homeles_2_a




sc_homeles_2_b




sc_homeles_2_d




sc_homeles_2_e




sc_homeles_2_out


 




somrAnimList




sc_homeles_4_in




sc_homeles_4_a




sc_homeles_4_b




sc_homeles_4_e




sc_homeles_4_fastout




sc_homeles_4_out


 




hammerAnimList




sc_harbor_molo_in




sc_harbor_molo_look




sc_harbor_molo_loop_a




sc_harbor_molo_loop_b




sc_harbor_molo_pause




sc_harbor_molo_fastout




sc_harbor_molo_out


 




sc_lean_railing_front_in




sc_lean_railing_front_stat




sc_lean_railing_spit_long




sc_lean_railing_front_out


 




sc_woman_trash_throw




sc_man_trash_throw


 




sc_winter_slide




sc_winter_slide_down




sc_winter_slide_up




sc_winter_nose_sneeze




sc_winter_nose_cough




sc_winter_nose_hanky




sc_winter_slide_fast_up


 




sc_man_mailbox




sc_newstand_sale_M




sc_newstand_sale_S




sc_man_wall_newspaper




sc_newspaper_in




sc_newspaper_stat_a




sc_newspaper_stat_b




sc_newspaper_out


 




animCallList




sc_phone_NPC_in




sc_phone_PLAYER_in




sc_phone_diall




sc_phone_stat_a




sc_phone_gest_e




sc_phone_gest_f




sc_phone_gest_j




sc_phone_gest_k




sc_phone_gest_m




sc_phone_NPC_out




sc_phone_PLAYER_out




sc_phone_fast_out




sc_phone_throw_M




sc_phone_throw_S


 




pipeAnimList




sc_man_pipe_in




sc_man_pipe_breath




sc_man_pipe_stat_a




sc_man_pipe_stat_b




sc_man_pipe_fastout


 




sc_clean_shoe_M




sc_clean_shoe_S


 




SnowCleaning




sc_shovel_in_snow




sc_shovel_snow_stat




sc_shovel_snow_loop




sc_shovel_strafe_snow_L




sc_shovel_strafe_snow_R




sc_shovel_out_snow


 




WindowCleaning




sc_wcleaner_in




sc_wcleaner_stat




sc_wcleaner_out




sc_wcleaner_pause




sc_wcleaner_loop




sc_wcleaner_step_L




sc_wcleaner_step_R


 




writingAnimList




sc_writing_notes_in




sc_writing_notes_head_up




sc_writing_notes_thinking




sc_writing_notes_loop




sc_writer_notes_out


 




sc_penalty_cop_note_in_M




sc_penalty_del_note_in_S




sc_penalty_cop_pay_M




sc_penalty_del_pay_S




sc_penalty_cop_dontpay_M




sc_penalty_del_dontpay_S




sc_penalty_del_stat_M




sc_penalty_del_stat_S


 




sc_licence_cop_want_M




sc_licence_del_wait_S




sc_licence_cop_OK_M




sc_licence_del_OK_S


 




sc_door_r_faster




sc_door_l_faster




sc_door_r_faster_door




sc_door_l_faster_door




sc_door_r_case_faster




sc_door_l_case_faster




sc_door_r_case_faster_door




sc_door_l_case_faster_door


 




sc_man_arrested_money_in




sc_man_arrested_money_stat




sc_man_arrested_money_out




sc_man_arrested_nogun




sc_man_arrested_thompson




sc_man_arrested_shotgun




sc_man_arrested_gun




sc_man_arrested_out_stat




sc_man_arrested_out


 




sc_police_gun_bribe_S




sc_police_bribe_M




sc_police_tommy_bribe_S




sc_police_shotgun_bribe_S


 




sc_look_clean_a


 




vitoa1




animSleep




sc_Vito_sleep_L




sc_Vito_sleep_R




animWakeUp




sc_Vito_wakeup_L




sc_Vito_wakeup_R


 




F_animSwiftWhite




sc_drink_bottle_out




F_animMaster




beer_master00




F_animHotdog




sc_eat_hot_out




F_animBurger




sc_eat_ham_out


 




sc_panic_stand_in




sc_panic_stand_stat




sc_panic_stand_out


 




m02cleaningwoman




ActivateStreamMapLine  02_cleaning_woman_unload




Human  JoesFlatOldMadam




sc_cleaning_floor_loop_in




sc_cleaning_floor_loop




sc_cleaning_floor_loop_out




sc_cleaning_floor_turn_180


 




m03joeflatman




Human  PEPEOB00




sc_mad_knock_door_loop_a




sc_look_around_L




sc_mad_knock_door_loop_b




sc_look_around_L




sc_mad_knock_door_loop_c




sc_look_around_L


 




m03joeflatwoman




Human  JoesFlatOldMadam  Klepac




sc_woman_clean_in




sc_woman_clean_loop




sc_woman_cleaner_listen_stat




sc_woman_cleaner_listen_c




sc_woman_cleaner_listen_out




sc_mad_knock_door_loop_a




sc_mad_knock_door_loop_b




sc_mad_knock_door_loop_c




</div>

 


 







[hr:3b902p6p][/hr:3b902p6p]



Vito big disgusting.
[/size]



 









<div><iframe width="480" height="270" src="https://www.youtube.com/embed/Gvltm92vCKA?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>

 




Vito big disgusting Part 2.
[/size]



 









<div><iframe width="480" height="270" src="https://www.youtube.com/embed/6DE_x_4UADM?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>






[hr:3b902p6p][/hr:3b902p6p]



Test animation Cathouse
[/size]





Only FR JA
[/size]



 









<div><iframe width="480" height="270" src="https://www.youtube.com/embed/S1umpWAnNo8?feature=oembed" frameborder="0" allowfullscreen="true"></iframe></div>



This video requires the activation of five different animation for Barman and five for danseuse
Title: Animation for human entity
Post by: Joshua on September 27, 2011, 06:47:56 PM
DANG! So these custom animations can be added to the FR? That is fantastic find.
Title: Animation for human entity
Post by: Mike Bruski on October 02, 2011, 04:24:46 PM
Pretty damn awesome, if possible eXistenZ34, when Vito goes idle for more than 10 seconds, make it where Vito smokes a cig, that would be awesome.Ãâà  (//bigwink.gif)


 




I actually really wanted that from 2K Czech, instead of just a lame movement, because I saw Saboteur do it, and I thought that was a brill idea, I have no-clue why 2K Czech did not do same, it is a brill idea for when the player is idle.
Title: Animation for human entity
Post by: Joshua on October 02, 2011, 11:36:55 PM
cause 2K is greedy and sucked the awesome life out of what could have been a GREAT game
Title: Animation for human entity
Post by: Cole Phelps on October 20, 2011, 08:32:57 PM
Are you going to add it to Mafia as a mod, eXisten ?
Title: Animation for human entity
Post by: Little Psycho on October 27, 2011, 10:58:19 AM
he prolly isn't going to add it to freeride because he's trying to save up space (theres limit for freeride file space, if he adds too many features it will crash)


 




anyways could you please give us the code so we can activate it ourselfs? thanks




oh and link to injector would be useful too...last version i saw was at ms.com yet it's down now
Title: Animation for human entity
Post by: Cole Phelps on October 27, 2011, 12:30:53 PM
Quotehe prolly isn't going to add it to freeride because he's trying to save up space (theres limit for freeride file space, if he adds too many features it will crash)


 








 




How do you know that ? I think you're lying and eXisten will add it. That's all from me.


 




By the way, I asked eXisten and I want his answer, not yours.
Title: Animation for human entity
Post by: Little Psycho on October 29, 2011, 02:56:43 PM
Quote<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="1363" data-ipsquote-contentclass="forums_Topic"><div>



he prolly isn't going to add it to freeride because he's trying to save up space (theres limit for freeride file space, if he adds too many features it will crash)


 








 




How do you know that ? I think you're lying and eXisten will add it. That's all from me.


 




By the way, I asked eXisten and I want his answer, not yours.







</div></blockquote>



Cause I was smart enough to read his topic, not just the last page. He said it himself.




and yeah sorry for my terrible sin, I shall never take his glory and answer common sense questions directed to him againÃâà   :-X




edit: and btw Mike, there's no way to add it while Vito's idle, yet. Since there's no opcode/command to detect if you're moving or not, what you could do is auto-enable it at restaurants and such, by checking if Vito passed a checkpoint you'd put on the map (no, it wouldn't show up literally, the checkpoint i mean) eXisten correct me if I'm wrong.
Title: Animation for human entity
Post by: Asa on October 29, 2011, 03:51:28 PM
Come on guys. This is a friendly forum.




Sometimes we get on each other's nerves but ultimately this is a website for a hobby we all have in common, please let's not ruin that.


 




<img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: eXistenZ34 on December 15, 2011, 03:08:47 PM
New animation, look on the first page


 




Vito drunk dancer
[/size]
Title: Animation for human entity
Post by: teisco on December 15, 2011, 03:57:48 PM
Cool, would be nice to have something going on when I walk in that place. Got your ja 2.0 and it is the best thing to happen to this game. I love the first person view in the cars and how you made it fit all of them. I drove many of those cars when they were around back in the day and this brings it all back.


 




Thanks to you I finally got into the observatory and it is amazing all the work they went to for that interior. I could not find that room with the star projector though.


 




Keep on doing these amazing mods please.
Title: Animation for human entity
Post by: eXistenZ34 on December 15, 2011, 04:15:00 PM
teisco


 




"room with the star" only in FR M2 and with injector Then we must restart the FR.




not easy and simple


 


 




Edit: new animation, look on the first page


 




Toc Toc ...  wake up NEO
[/size]
Title: Animation for human entity
Post by: zahar999 on December 15, 2011, 05:33:37 PM
eXistenZ34


 




???   ??? ????  ??? ??  ??? ??? ?  ??? ??????




??? ??  ??? ??  ???   ???   ??? ??? ??  ??? ???
Title: Animation for human entity
Post by: eXistenZ34 on December 15, 2011, 05:47:51 PM
???   ??? ????  ??? ??  ??? ??? ?  ??? ?????? YES



 




??? ??  ??? ??  ???   ???   ??? ??? ??  ??? ??? YES



 




Video made ??with injector




Ex: http://www.multiupload.com/VRWRJ5CBM7 (http://www.multiupload.com/VRWRJ5CBM7)
Title: Animation for human entity
Post by: zahar999 on December 15, 2011, 06:05:38 PM
??? ????  ??? ?????  ??? ????!!!




?  ??? ????? ??  ??? ??  ??? ??????  ??? ???  ??? ??  ??? ????????? ?  ??? ????
Title: Animation for human entity
Post by: eXistenZ34 on December 15, 2011, 06:52:18 PM
"?  ??? ????? ??  ??? ??  ??? ??????  ??? ???  ??? ??  ??? ????????? ?  ??? ????"


 




Possible if you know the commands
Title: Animation for human entity
Post by: MetalCat on December 15, 2011, 07:25:56 PM
to zahar999: ??  ??? ???  ??? ???  ??? ???????  ??? ?????  ??? ???  ??? ??????? ...  ???   ??? ?,  ??? ??  ??? ???  ??? ???


 




Could you write in Latin letters? Best English ... To understand others, too...


 




to existenZ34: Excelent job! You are a boss (//wink.gif)




And one thing: It is possible, that I use it to NPCs? I tried this to Joe, but it doesn̫̉t works. What have I done wrong?:


 







Quotejey=game.entitywrapper:GetEntityByName("Joe")

jey:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_d", false)end,{l_1_0},29000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_out", false)end,{l_1_0},33000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},40000,1,false)


Title: Animation for human entity
Post by: eXistenZ34 on December 15, 2011, 08:03:51 PM
MetalCat




On their Russian forum, it lets me speak in English.  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">




My topic on FR JA http://www.playground.ru/files/47468/ (http://www.playground.ru/files/47468/)


 




I ask you a bit of tolerance, thanks.


 




zahar999 found how to use the lifts in




- Chines restaurant




- Distillery




- Empire Arms Hotel


 




use of music and something else Skin of Tommy Angelo




http] (//forum/13-mafia-ii-mods/2014-freeride-m2-recollection)
Title: Animation for human entity
Post by: MetalCat on December 15, 2011, 08:14:51 PM
OK, thanks and sorry (//wink.gif)
Title: Animation for human entity
Post by: eXistenZ34 on December 15, 2011, 08:26:28 PM
MetalCat


 




- ply:SetControlStyle(enums.ControlStyle.LOCKED)




- ply:SetControlStyle(enums.ControlStyle.FREE)




only for the PLAYER, not necessarily for another PNG


 







Quotejey=game.entitywrapper:GetEntityByName("Joe")




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_d", false)end,{l_1_0},29000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_out", false)end,{l_1_0},33000,1,false)



 




(//thumbnails62.imagebam.com/16471/14d07e164704905.jpg&key=442e3ae7c618089c789ea3120aebd140038f9d0e48854a6d069f5f26d12e18fc) (http://www.imagebam.com/image/14d07e164704905:u3m4lk4j)


 




Script 3 clic is better in first page
Title: Animation for human entity
Post by: MetalCat on December 15, 2011, 08:55:19 PM
Thank You Very Much!
Title: Animation for human entity
Post by: Tommy Mafioso on December 17, 2011, 01:42:28 AM
Great job existenz
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 01:47:23 AM
Hi Tommy Mafioso




Look


 




For FR M2 with injector









<div></div>  




For Car in FR JA just one but is se same "StreamMapLine" for Tony




in vid?o Vito and PNG walk alone.


 









<div></div>
Title: Animation for human entity
Post by: Tommy Mafioso on December 17, 2011, 02:00:33 AM
Very nice find.


 




Does this also work with human entities?
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 02:11:29 AM
Yes




- Walk and climb in the car




- Walk towards a coordinated




- Run towards a coordinated




for player & PNG
Title: Animation for human entity
Post by: Tommy Mafioso on December 17, 2011, 02:18:52 AM
What about PNG drive to a coordinate?


 




This is an amazing find man.


 




Great job.
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 02:29:48 AM
drive to a coordinate, it is in the first FR




name is "Hunter" & "Escaper"




(//thumbnails29.imagebam.com/11712/da43f5117110694.jpg&key=8c89e7be724f7d5f4b2f778af33045efbf51734723163b4c6fdf9c8d75bd45bf) (http://www.imagebam.com/image/da43f5117110694:zxg1k6hc) (//thumbnails36.imagebam.com/11712/d0441d117110715.jpg&key=5dc618189cefd5512d868633c5c24b76812508899aaa623203871df1adb9d35e) (http://www.imagebam.com/image/d0441d117110715:zxg1k6hc) (//thumbnails14.imagebam.com/11712/a3deee117110730.jpg&key=8dde2edf69957acbc5145ca960169eb7ca3ea41d7fed5894f583834384f522ac) (http://www.imagebam.com/image/a3deee117110730:zxg1k6hc) (//thumbnails9.imagebam.com/11712/72698a117110748.jpg&key=51bc24648afef7b9478c04e3baaa50f68d253a05b6ca927657a53722ac320bf1) (http://www.imagebam.com/image/72698a117110748:zxg1k6hc)


 




also use, by Yoshid in his "Car Driver and Taxi Mod"
Title: Animation for human entity
Post by: orangebrains on December 17, 2011, 08:55:03 AM
QuoteMetalCat 




- ply:SetControlStyle(enums.ControlStyle.LOCKED)




- ply:SetControlStyle(enums.ControlStyle.FREE)




only for the PLAYER, not necessarily for another PNG


 







<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="1363" data-ipsquote-contentclass="forums_Topic"><div>



jey=game.entitywrapper:GetEntityByName("Joe")




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_stat_d", false)end,{l_1_0},29000,1,false)




DelayBuffer:Insert(function(l_1_0)jey:AnimPlay("sc_man_smoke_out", false)end,{l_1_0},33000,1,false)



 




(//thumbnails62.imagebam.com/16471/14d07e164704905.jpg&key=442e3ae7c618089c789ea3120aebd140038f9d0e48854a6d069f5f26d12e18fc) (http://www.imagebam.com/image/14d07e164704905:3or0uxle)


 




Script 3 clic is better in first page


</div></blockquote>

 




Hooray! Scripts for anims! :woohoo:  




Thank you very much!  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: orangebrains on December 17, 2011, 09:52:27 AM
When I play some anims, like reading magazine or cleaning snow, I haven't got magazine and a shovel.




I have a letter, when I play anim "Sending a letter". But I haven't got other things with other anims.
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 02:15:20 PM
I have not tested everything,




but what I can tell you it's always start with "in" and end with "out" when possible


 




sc_newspaper_in




...




sc_newspaper_out


 




I have not found all the animation
Title: Animation for human entity
Post by: MetalCat on December 17, 2011, 04:40:12 PM
I just made a video what shows some animations (in this video this two what is on first page)









<div></div>
Title: Animation for human entity
Post by: orangebrains on December 17, 2011, 05:05:10 PM
QuoteI have not tested everything,

but what I can tell you it's always start with "in" and end with "out" when possible


 




sc_newspaper_in




...




sc_newspaper_out


 




I have not found all the animation



 




I see. Yes, I know about "in" and "out". And some played anims, are freezing and unfreezing. E.g. "shovel" - Vito begin to clean snow, than anim freezes for 10 seconds and than anim unfreezes, and goes on.


 




And one more question:




What these numbers mean?


 







<pre class="ipsCode">ply=game.game:GetActivePlayer()

ply:SetControlStyle(enums.ControlStyle.LOCKED)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_in", false)end,{l_1_0},<b>500</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},<b>18000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},<b>22000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_d", false)end,{l_1_0},<b>29000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_out", false)end,{l_1_0},<b>33000</b>,1,false)

DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},<b>40000</b>,1,false)</pre>
Title: Animation for human entity
Post by: Tommy Mafioso on December 17, 2011, 05:17:39 PM
The numbers indicate the delay length between animations.


 




For example this animation is 18 seconds long


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false</pre>






 




After 22 seconds the next animation will play.


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)</pre>






 




That animation is 22 seconds long.
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 05:22:43 PM
These are delay in milliseconds


 




This function allows you to execute a command after a certain time


 




DelayBuffer:Insert(function(l_1_0)....end,{l_1_0},22000,1,false)


 




and the "1" for repeat the commande


 


 




<div class="ipsSpoiler_header">



Quote<div>



in fisrt




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




after 500 milliseconds active the command




ply:AnimPlay("sc_man_smoke_in", false)




after 18000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_stat_b", false)




after 22000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_stat_c", false)




after 29000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_stat_d", false)




after 33000 milliseconds active the command




ply:AnimPlay("sc_man_smoke_out", false)




after 40000 milliseconds active the command




ply:SetControlStyle(enums.ControlStyle.FREE)








 


</div>

</div>

 


 


 




Tommy, you were faster
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 05:26:33 PM
Vito makes a smoke break




Version 3 Clic (you can move between the click)


 


 









<div></div>
Title: Animation for human entity
Post by: orangebrains on December 17, 2011, 06:08:40 PM
QuoteThe numbers indicate the delay length between animations. 




For example this animation is 18 seconds long


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_b", false)end,{l_1_0},18000,1,false</pre>

<div>




 




After 18 seconds the next animation will play.


 







<pre class="ipsCode">DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_man_smoke_stat_c", false)end,{l_1_0},22000,1,false)</pre>






 




That animation is 22 seconds long.


</div>

 


 







QuoteThese are delay in milliseconds 




This function allows you to execute a command after a certain time


 




DelayBuffer:Insert(function(l_1_0)....end,{l_1_0},22000,1,false)


 




and the "1" for repeat the commande





Thanks for explanation.


 




And:




Why other anims are hang for 5-10 seconds, when I play them?
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 06:18:24 PM
Why other anims are hang for 5-10 seconds, when I play them?


 




I don't know
Title: Animation for human entity
Post by: Tommy Mafioso on December 17, 2011, 06:20:57 PM
QuoteWhy other anims are hang for 5-10 seconds' date=' when I play them?[/quote']

The DelayBuffer does not effect the duration of the animation.


 




It is used to tell the next animation when to start.


 




You only need to use it with multiple animations.


Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 06:26:03 PM
thank you tommy sometimes I don't understand what I'm told.


 




I'm not very good in English, I often use a translator.
Title: Animation for human entity
Post by: Tommy Mafioso on December 17, 2011, 06:38:37 PM
No problem man.


 




I'm not as good as you when it comes to figuring out this LUA stuff but i try to help when i know something.
Title: Animation for human entity
Post by: orangebrains on December 17, 2011, 08:14:27 PM
Thanks for explanation, mates.   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">




Would you mind, if I ask you for some help next time?   <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">


 







QuoteI'm not very good in English' date=' I often use a translator.[/quote']

Me too. I rely on my knowledge of English language. But sometimes I use a translator.




I tell it to you that you disregard my grammar mistakes.


Title: Animation for human entity
Post by: majo213 on December 17, 2011, 11:30:23 PM
Hi,i have problem,i copy smoking script to my freeride,but game not activate,




what key on keyboard activate script ?




i dont use injector


 




and ply i can replace to player ? if i put ply,game cant loading
Title: Animation for human entity
Post by: eXistenZ34 on December 17, 2011, 11:57:29 PM
(//i43.tinypic.com/vzipz9.png&key=5cd175f47bf60a40dc1fa25f1c735ad27fb4e880d3acb993a23e5fe843560659)
Title: Animation for human entity
Post by: majo213 on December 18, 2011, 01:15:44 AM
i cant use without injector ?




i use injector and my game crash if i activate script
Title: Animation for human entity
Post by: eXistenZ34 on December 18, 2011, 01:23:54 AM
Test with injector is v6


 




http://www.multiupload.com/GMFMRAXMFV (http://www.multiupload.com/GMFMRAXMFV)


 




and copy script in F1 or F2 .... Or F12 in the folder "userscript"


 




(//thumbnails24.imagebam.com/16507/e07329165069350.jpg&key=7c4a8c5a3b28aac13991339de31f69636751b3930aa6f293f7fb2befb471f35f) (http://www.imagebam.com/image/e07329165069350:3qfeqc3r)
Title: Animation for human entity
Post by: zahar999 on December 22, 2011, 03:28:13 PM
eXistenZ34


 




??  ??? ???  ??? ??  ???   ??? ? ...:SetControlStyle(enums.ControlStyle.LOCKED)




??? ?  ??? ?????  ??? ???? ??  ??? ??  ??? ?? LOCKED ??  ??? ?????


 




?  ??? ??  ??? ???  ???   ??? ??  ??? ????????




??? ????? ...:SetControlStyle(enums.ControlStyle.FREE)




?  ??? ?  ???  ...:SetControlStyle(0)




enums.ControlStyle.FREE  ???  0
Title: Animation for human entity
Post by: eXistenZ34 on December 22, 2011, 06:22:13 PM
what exactly animation, because some animation are used only in certain place or in Winter.


 




Ex: "sc_drunk_dancer" only in FR JA Cathouse.


 




but I have the solution, as my file sky ("freeride.sds").




but it will be long, there are over 3000 different file animation in the game.




yes I really written three miles


 




"sc_drunk_dancer" in Chinesse restaurant FR M2




(//thumbnails59.imagebam.com/16587/8eecb3165869924.jpg&key=58e7e523a34e5b12282896725e7fc313f4aeac7e71fec7aa237fd504be572149) (http://www.imagebam.com/image/8eecb3165869924:ru8k4s4r) (//thumbnails28.imagebam.com/16587/7c1dad165869939.jpg&key=bfa3fd2bf283eb500dade7161529fca4c18551ad9fdbfe36052bfe9b6faa056a) (http://www.imagebam.com/image/7c1dad165869939:ru8k4s4r) (//thumbnails47.imagebam.com/16587/6df845165869966.jpg&key=4d92250d40ea956cfc5c49ad9f9bcb5457ab37e8bd0f01cfc411e74411c3b271) (http://www.imagebam.com/image/6df845165869966:ru8k4s4r)


 




(//thumbnails25.imagebam.com/16588/45be36165870113.jpg&key=abfa36460a8b86e892ccdcaf79901fe4ebc05ba7ff44876d1585cf3e2f40a334) (http://www.imagebam.com/image/45be36165870113:ru8k4s4r) (//thumbnails63.imagebam.com/16588/a2febc165870150.jpg&key=f316593add1aa35487976a9efcab0567e02c7da3bc49d2490fc2c77e1420ac2a) (http://www.imagebam.com/image/a2febc165870150:ru8k4s4r) (//thumbnails47.imagebam.com/16588/abf64c165870172.jpg&key=6b7025598b6c495e64a0c7dc79fcb4249ac5819da711adf70f50b9654a3ed298) (http://www.imagebam.com/image/abf64c165870172:ru8k4s4r)
Title: Animation for human entity
Post by: Cole Phelps on December 22, 2011, 07:04:25 PM
Your link for Injector v6 is broken. Could you reupload it ?
Title: Animation for human entity
Post by: zahar999 on December 22, 2011, 07:17:10 PM
eXistenZ34


 




??  ???   ??? ??  ??? ?????? ? FR M2 ?  ??? ??


 




http://www.youtube.com/watch?v=Pnsr0VoI ... e=youtu.be (http://www.youtube.com/watch?v=Pnsr0VoIm6w&feature=youtu.be)


 




??  ??? ? ??  ??? ????  ??? ??????????  ??? ??




??? ??  ??? ???
Title: Animation for human entity
Post by: eXistenZ34 on December 22, 2011, 07:23:22 PM
QuoteYour link for Injector v6 is broken. Could you reupload it ?



Megaupload and deposit is Ok


 


 




zahar999




me I can dance anywhere   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">




and I have also seen use the animation of the prison (in the yard, shower etc...)
Title: Animation for human entity
Post by: clack on December 24, 2011, 12:13:02 PM
Hello..




Please help me! I am so confused! Can anyone help me? How to do all these animations? I've downloaded Mafia Injector.. Now???




Thanks!!
Title: Animation for human entity
Post by: crazypreacher on December 24, 2011, 12:28:14 PM
eXistenZ34 is the master of this, please don't rush people on christmas eve, eXistenZ34 is a very handsome man when he will be here he will awnser you. By the way you should introduce yourself in the proper topic, so we know a little bit on who need help  :evil:
Title: Animation for human entity
Post by: eXistenZ34 on December 24, 2011, 03:53:42 PM
Everything is on the front page, just read.


 




Various script are present, and a example has download for folder "userscript" (injector v6).
Title: Animation for human entity
Post by: clack on December 25, 2011, 02:50:17 PM
Thanks for the very fast respond!!




I'll introduce my self in the forums by the way when I got some time..




Let me explain you.. I've done everything that I have to do but when I press "F1" for example my character (Vito) doesn't do anything.. Can't move or do anything. Am I doing something wrong? Thank you very much once again!!
Title: Animation for human entity
Post by: eXistenZ34 on December 26, 2011, 06:43:21 PM
show me your script in F1
Title: Animation for human entity
Post by: clack on December 27, 2011, 11:57:50 AM
Ok.. Thanks for the help.. I downloaded the v6 and now it's good... By the way.. Where can I find instructions on how to make mine animation? For example how can I make him smoke a lot.. In your script you can press the F1 three times and in the third he puts out his ciggarette how can I make this to do it in the sixth time for example??




Thanks once again mate!
Title: Animation for human entity
Post by: preso on December 29, 2011, 08:41:29 PM
I didn't understanded you how to use it can someone explain it to me? i downloaded the F1.lua and F2.lua idk what to do with them.


 




Thanks in advance.
Title: Animation for human entity
Post by: eXistenZ34 on December 29, 2011, 09:16:27 PM
QuoteOk.. Thanks for the help.. I downloaded the v6 and now it's good... By the way.. Where can I find instructions on how to make mine animation? For example how can I make him smoke a lot.. In your script you can press the F1 three times and in the third he puts out his ciggarette how can I make this to do it in the sixth time for example??

Thanks once again mate!



 




Hi




I'll do it at the latest Saturday


 


 







QuoteI didn't understanded you how to use it can someone explain it to me? i downloaded the F1.lua and F2.lua idk what to do with them. 




Thanks in advance.





You should download the injector v6




there is a folder "UserScript" and there must be inside F1 and F2




http://www.multiupload.com/GMFMRAXMFV (http://www.multiupload.com/GMFMRAXMFV)




and Start game with "MafiaInjector.exe"
Title: Animation for human entity
Post by: eXistenZ34 on January 15, 2012, 04:08:15 PM
I have not worked on FR M2 this weekend, I make a little break.
[/size]





Realized with injector
[/size]





View the front page


 




and soon, a new way to write the animations script.





most need to calculate the delay between each animation.
Title: Animation for human entity
Post by: B1010 on February 05, 2012, 07:28:41 AM
?  ??? ?  ??? ??????  ??? ?????  ??? ?? ??  ??? ?????,  ??? ???  ???   ??? ??????.


 




<div class="ipsSpoiler_header">



ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_NPC_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_diall", false)end,{l_1_0},3300,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_gest_j", false)end,{l_1_0},8000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},10000,1,false)




</div>

 
Title: Animation for human entity
Post by: eXistenZ34 on February 05, 2012, 08:49:24 AM
Ok B1010




but there are much more animation for phone.


 




and when you start an animation with "in" ("sc_phone_NPC_in")




you must finish with "out" ("sc_phone_NPC_out")


 




if not, Vito keeps the phone in his hand.
Title: Animation for human entity
Post by: B1010 on February 05, 2012, 11:35:53 AM
?  ??? ?  ??? ????  ??? ????? ?  ??? ???????,  ???  ?  ??? ????  ??? ?  ??? ??????  ??? ???.


 




??? ?????????  ???   ??? ?? Sanek-GMNC  ??? ????  ???   ??? ????  ??? ?????:


 




<div class="ipsSpoiler_header">



 




??? ???  ??? ??




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_in", false)end,{l_1_0},3000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_loop", false)end,{l_1_0},5000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_out", false)end,{l_1_0},7000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_out", false)end,{l_1_0},10000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},11000,1,false)




</div>

 


 


 




<div class="ipsSpoiler_header">



(????????  ??? ????  ??? ???  ??? ?????)




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_in", false)end,{l_1_0},2500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_loop", false)end,{l_1_0},5000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_loop", false)end,{l_1_0},6800,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_loop", false)end,{l_1_0},9000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_mount_out", false)end,{l_1_0},11000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_out", false)end,{l_1_0},13000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},15000,1,false)




</div>

 


 


 




<div class="ipsSpoiler_header">



??????  ??? ??? ?  ??? ???????  ??? ????




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_police_gun_bribe_S", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},15000,1,false)




</div>

 


 




<div class="ipsSpoiler_header">



 




??? ???  ??? ??? ?  ??? ??????  ??? ????




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_police_shotgun_bribe_S", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},15000,1,false)




</div>

 


 


 




<div class="ipsSpoiler_header">



??????  ??? ???




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newstand_sale_M", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_in", false)end,{l_1_0},4900,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_a", false)end,{l_1_0},12000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_b", false)end,{l_1_0},16000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_out", false)end,{l_1_0},18000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},22000,1,false)




</div>

 


 


 




<div class="ipsSpoiler_header">



(????????  ??? ???  ??? ???  ??? ???  ??? ????? ?  ??? ????????????)




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newstand_sale_M", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_in", false)end,{l_1_0},4500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_a", false)end,{l_1_0},10000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_a", false)end,{l_1_0},12000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_a", false)end,{l_1_0},14000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_b", false)end,{l_1_0},16000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_a", false)end,{l_1_0},18000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_b", false)end,{l_1_0},20000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_stat_a", false)end,{l_1_0},22000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_newspaper_out", false)end,{l_1_0},24000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},28000,1,false)




</div>

 


 


 




<div class="ipsSpoiler_header">



????????  ??? ?




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_wheel_out", false)end,{l_1_0},13000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},15500,1,false)




</div>

 


 


 


 




<div class="ipsSpoiler_header">



????




ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_homeless_6_in", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_homeless_6_a", false)end,{l_1_0},4500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("ssc_homeless_6_b", false)end,{l_1_0},6500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_homeless_6_a", false)end,{l_1_0},7000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_homeless_6_out", false)end,{l_1_0},7200,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},19000,1,false)




</div>

 
Title: Animation for human entity
Post by: B1010 on February 05, 2012, 11:38:18 AM
eXistenZ34




??? ???  ???  ?? ??  ??? ?, ?? ?? ??  ??? ??? ActivateStreamMapLine  ???   ??? ??  ??? ??? ?  ??? ??? ??  ??? ??????????  ??? ?  ???  M2ex.
Title: Animation for human entity
Post by: B1010 on February 05, 2012, 12:02:27 PM
??? ??? ??  ??? ?????


 







<pre class="ipsCode">

ply=game.game:GetActivePlayer()

ply:SetControlStyle(enums.ControlStyle.LOCKED)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_NPC_in", false)end,{l_1_0},500,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_diall", false)end,{l_1_0},3300,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_gest_j", false)end,{l_1_0},10000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_gest_k", false)end,{l_1_0},12000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_gest_f", false)end,{l_1_0},16000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_gest_m", false)end,{l_1_0},18000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_phone_NPC_out", false)end,{l_1_0},21000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},25000,1,false)</pre>
Title: Animation for human entity
Post by: B1010 on February 05, 2012, 01:20:45 PM
??? ????  ??? ?????  ??? ????


 







<pre class="ipsCode">ply=game.game:GetActivePlayer()

ply:SetControlStyle(enums.ControlStyle.LOCKED)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_in", false)end,{l_1_0},500,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_stat_a", false)end,{l_1_0},10000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_stat_b", false)end,{l_1_0},13000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_stat_c", false)end,{l_1_0},22000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_stat_d", false)end,{l_1_0},30000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_stat_e", false)end,{l_1_0},39000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_woman_smoke_out", false)end,{l_1_0},45000,1,false)

DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},50000,1,false)</pre>
Title: Animation for human entity
Post by: eXistenZ34 on February 07, 2012, 04:40:42 AM
New way to write the animations script.
[/size]



 
[/size]





most need to calculate the delay between each animation.
[/size]



 
[/size]





And command to pass through objects.
[/size]



 




See the front page
Title: Animation for human entity
Post by: zahar999 on February 07, 2012, 10:45:22 AM
eXistenZ34


 




??? ??  ??? ???????  ??? ???? SetPhysState(enums.PhysicsState.DISABLED)




??  ??? ?? ??  ??? ?? ?  ??? ???? ??  ???   ??? ???  ??? ????  ???




??? ????  ??? ???  ??? ?


 









<div></div>
Title: Animation for human entity
Post by: eXistenZ34 on February 07, 2012, 11:47:24 AM
It's just for animation and not, for to walk around the city.


 




why, I do not work for 2K Games so i don't know.


 


 




Edit : upon reflection it's normal since you are going through everything, including the ground.
Title: Animation for human entity
Post by: zahar999 on February 07, 2012, 12:25:32 PM
??? ?  ???   ??? ???  ??? ???  ??? ??? ??  ??? ???




??? ????  ???   ??? ?????  ??? ?  ??? ???


 


 




eXistenZ34




?  ??? ?  ??? ?????? ?  ??? ???? Show Quest Dialog




??  ??? ?  ??? ????? 100%  ??? ???  ??? ?  ???  FR MII  ??? ??? 50/50




?  ???   ??? ??  ??? ?  ??? ?????????  ??? ??  ??? ??????  ???   ??? ??????  ??? ???




ingame - ingame_gui_rtr




gui-main - gui-main_dlc_rtr




game_director - fr_game_director
Title: Animation for human entity
Post by: dandwell on February 07, 2012, 02:48:17 PM
??? ???  ??? ?? ??,????  ???   ??? ??




:SetPhysState(enums.PhysicsState.DISABLED)-?????????  ??? ??????????? ?  ??? ???????




:SetPhysState(enums.PhysicsState.DYNAMIC)-??????????




:SetPhysState(enums.PhysicsState.KINEMATIC)-?????  ??? ???? ??  ??? ?
Title: Animation for human entity
Post by: zahar999 on February 07, 2012, 03:58:53 PM
dandwell


 




???   ???   ??? ????????!  ??? ???




game.game:GetActivePlayer():SetPhysState(enums.PhysicsState.KINEMATIC)


 









<div></div>
Title: Animation for human entity
Post by: Scaletta93 on April 16, 2012, 05:44:55 PM
i geting this error in the log of the injector


 




Error loading Lua code into buffer. Error 2




userscript/f12.lua:1: unexpected symbol near 'ÃÆï'


 




is the smoke mod, down of the sit in bench mod in the first pag
Title: Animation for human entity
Post by: eXistenZ34 on April 17, 2012, 05:14:37 AM
Which version of the injector, you use.
Title: Animation for human entity
Post by: Scaletta93 on April 17, 2012, 06:15:04 PM
QuoteWhich version of the injector' date=' you use.[/quote'] 




the one of this page mafiascene.net/downloads/viewdownload/4-.../88-mafia-2-injector


Title: Animation for human entity
Post by: Scaletta93 on April 17, 2012, 06:15:52 PM
is the 7 i guess
Title: Animation for human entity
Post by: eXistenZ34 on April 17, 2012, 06:44:08 PM
V7 not good, use only V6. link on the front page brought up to date.
Title: Animation for human entity
Post by: Scaletta93 on April 17, 2012, 07:00:05 PM
QuoteV7 not good' date=' use only V6. link on the front page brought up to date.[/quote'] 




now i getting badstate i using de mafia console to create the smoke break script i have windows 7 ultimate 7 32 bits can be something with my pc?


Title: Animation for human entity
Post by: Scaletta93 on April 17, 2012, 07:08:06 PM
can you upload the smoke break script please i want to smoke in mafia 2 since i'm playing in 2010
Title: Animation for human entity
Post by: ocram on April 19, 2012, 11:48:01 PM
@scaletta F1.lua


 




ply=game.game:GetActivePlayer()




if i==nil then i=0 end i=i+1




if i==4 then i=1 end




if i==1 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_in", false)end,




function(l_2_0)return ply:AnimPlay("sc_man_smoke_stat_c", false)end,




function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i==2 then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_d", false)end,




function(l_2_0)return ply:AnimPlay("sc_man_smoke_stat_b", false)end,




function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end




if i=(//smile3.gif) then ply:SetControlStyle(enums.ControlStyle.LOCKED)CommandBuffer:Insert(l_6_0,{




function(l_1_0)return ply:AnimPlay("sc_man_smoke_stat_a", false)end,




function(l_2_0)return ply:AnimPlay("sc_man_smoke_out", false)end,




function(l_3_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})end
Title: Animation for human entity
Post by: eXistenZ34 on April 25, 2012, 05:09:14 PM
It is already in the first page.
Title: Animation for human entity
Post by: Tarasyuk on May 26, 2012, 05:35:20 AM
Somebody know any codes of umbrella animations ?
Title: Animation for human entity
Post by: Cole Phelps on May 26, 2012, 07:43:11 AM
Does somebody know a script for examining the dead body (like the cops in M2 do) ?
Title: Animation for human entity
Post by: eXistenZ34 on May 26, 2012, 12:52:40 PM
Tarasyuk




a much longer search, sorry but I have no time.


 


 




Cole Phelps




easy to find in the file "anims_city_leto.sds" --> Stream.xml


 







Quoteply=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_4_0)return ply:AnimPlay("sc_browse_corpse1_M_in", false)end,




function(l_2_0)return ply:AnimPlay("sc_browse_corpse1_M_a", false)end,




function(l_3_0)return ply:AnimPlay("sc_browse_corpse1_M_b", false)end,




function(l_5_0)return ply:AnimPlay("sc_browse_corpse1_M_out", false)end,




function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})




end,{l_1_0},500,1,false)



 







Quoteply=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_4_0)return ply:AnimPlay("sc_browse_corpse2_M_in", false)end,




function(l_2_0)return ply:AnimPlay("sc_browse_corpse2_M_stat_a", false)end,




function(l_3_0)return ply:AnimPlay("sc_browse_corpse2_M_out", false)end,




function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})




end,{l_1_0},500,1,false)



 




you can also add







Quoteply:AnimPlay("sc_browse_corpse3_M_look", false)
Title: Animation for human entity
Post by: eXistenZ34 on May 26, 2012, 04:16:56 PM
Vito big disgusting.
[/size]
 <img src="/emoticons/sick.png.5e18d4558e116e768dc9391ac4b6df84.png" alt=" :sick: " data-emoticon="">


 









<div></div>
Title: Animation for human entity
Post by: Tarasyuk on May 26, 2012, 04:34:36 PM
any news about umbrella ? I see that we want to convert Mafia 2 into Sims 2 :cheer:
Title: Animation for human entity
Post by: eXistenZ34 on May 26, 2012, 05:07:25 PM
It takes 3 things


 




- Code Animation




- Walk Style with Umbrella




- Umbrella Code


 




it is findable but it takes a little more research in different file on the game.




and there I board not have time for this.


 




sorry, maybe later.
Title: Animation for human entity
Post by: crazypreacher on May 26, 2012, 05:09:35 PM
make him puke like eddie Scarpa in chapter 7
Title: Animation for human entity
Post by: Tarasyuk on May 26, 2012, 05:13:22 PM
Maybe you tell me where I have to look, and I try to find it by myself ?
Title: Animation for human entity
Post by: eXistenZ34 on May 26, 2012, 06:16:17 PM
there has a Animation a little everywhere




in files




- anims_city




- basic_anim




- city




- fmv




- missionscript




- script




- shops


 




it is the file named "Animation2_0.bin" and the exact name is in the file "Stream.xml" of the same file.


 




but only the animation of "anims_city" And "basic_anim" are usable everywhere.




for another it depends on a place or a chapter.


 




interesting work, is to integrate all Animation in "basic_anim2.sds" and the animation of different DLC



 




for info in "basic_anim2.sds" there are 2510 files ( "Animation2_0.bin" to "Animation2_2509.bin" )
Title: Animation for human entity
Post by: Tarasyuk on May 30, 2012, 03:52:11 PM
I have also found


 




sc_laundry_smoke_in




sc_laundry_smoke_aspirate1




sc_laundry_smoke_aspirate2




sc_laundry_smoke_stat




sc_laundry_smoke_out


 




It works with injector, but looks like it needs to register in basic_anim2.sds


 




Anyway, looks great


 


 




1.jpg[/attachment:21c3dh3r]


 




2.jpg[/attachment:21c3dh3r]


 




3.jpg[/attachment:21c3dh3r]
Title: Animation for human entity
Post by: eXistenZ34 on May 30, 2012, 04:16:19 PM
Here for the umbrella, but it's not an animation but a walking style.


 







Quotegame.game:GetActivePlayer():SetAnimStyle("common","ManUmbrellaOpen")

game.game:GetActivePlayer():ModelToHands(true,1,92)










For return in normal mod.







Quotegame.game:GetActivePlayer():SetAnimStyle("common","default")

game.game:GetActivePlayer():ModelToHands(true,1,1)



 




enable/disable umbrella, will be can be an option in FR JA v3.0 .
Title: Animation for human entity
Post by: Tarasyuk on May 30, 2012, 05:01:19 PM
I don't think there could be opening/closing animation, because pedestrians spawn WITH already opened umbrellas in heavy snow/heavy rain weather.


 




I also have a question - where you have find those "walking styles" ?
Title: Animation for human entity
Post by: eXistenZ34 on May 30, 2012, 05:19:35 PM
Test automatic umbrella, but will not be able be applied in the FR





because it requires many coordinated to enable and disable the umbrella, so this is just a test.



 









<div></div>  


 


 




where you have find those "walking styles" ? here in "ingame.sds"


 




(//i46.tinypic.com/2dvom7o.png&key=c3adb2933cd5b6eb07c1816debf431c611541b312e2d7245082f72bd3f08d469)


 




other style that is interesting.




-- ManOneHandInPocket




-- ManHandsInPockets




-- ManHandsFolded




-- ManQuickWalk




-- ManSlowWalk




-- Homeless
Title: Animation for human entity
Post by: Tarasyuk on May 30, 2012, 05:39:53 PM
I have also find I-am-real-f**kin-gangsta smoking style


 




sc_gangster_thommy_idle_smoking_in




sc_gangster_thommy_idle_smoking_look




sc_gangster_thommy_idle_smoking_potter




sc_gangster_thommy_idle_smoking_out
Title: Animation for human entity
Post by: eXistenZ34 on May 30, 2012, 05:46:54 PM
you found it, in what file.


 




because FR M2 or FR JA uses only animation in "basic_anim2.sds"


 




for, to use another animation we must integrate the file into "basic_anim2.sds".
Title: Animation for human entity
Post by: Tarasyuk on May 30, 2012, 05:59:48 PM
laundry smoking - in script/m07_mens.sds


 




gangsta smoking - in script/m08_crazyhorse_anim.sds


 


 




Excuse me again for my questions, but where I can find ModelToHands ?
Title: Animation for human entity
Post by: eXistenZ34 on May 30, 2012, 07:02:53 PM
Ok, thank's.


 


 


 




where I can find ModelToHands ? in "tables.sds"




Table & weapon list




(//i49.tinypic.com/9llun7.png&key=284b02b05cc0d1c2bf37eb0f3221df7c709c44eade89c2485caa93ddaeeb04c0)
Title: Animation for human entity
Post by: eXistenZ34 on May 30, 2012, 07:56:16 PM
there is no animation to open and close an umbrella,




but we can make a semblance of animation.


 









<div></div>
Title: Animation for human entity
Post by: Tarasyuk on May 31, 2012, 04:06:10 PM
There are a lot of interesting "bar" animations in sds/shops, for example mona.sds or lonestar.sds


 




So, using them, you can use tables in bar to eat, smoke and look around  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">


 




But all of them needs register in basic_anim.sds
Title: Animation for human entity
Post by: eXistenZ34 on May 31, 2012, 04:58:17 PM
But "basic_anim.sds" as "freeraid_main.sds" and all files have a size limit.


 




after add 3 animation Game Crash.
Title: Animation for human entity
Post by: Tarasyuk on May 31, 2012, 05:05:55 PM
You're right, but I've add 13 animations in my basic_anim. When I'm try to add more -  game crash. I'm using Joe's Adventures basic_anim.sds
Title: Animation for human entity
Post by: eXistenZ34 on May 31, 2012, 05:11:27 PM
I board added, pissing and your 2 Animation in JA and the game crash, this is variable.
Title: Animation for human entity
Post by: Tarasyuk on May 31, 2012, 05:19:44 PM
http] (//downloads/viewdownload/3-mafia-ii/493-basic-anim-for-existenz)
Title: Animation for human entity
Post by: zahar999 on May 31, 2012, 05:45:01 PM
eXistenZ34




how to combine into one?




...:ModelToHands(true,30,1) - flashlight




...:ModelToHands(true,120,1) - light from the flashlight
Title: Animation for human entity
Post by: eXistenZ34 on May 31, 2012, 06:08:34 PM
zahar999 very good question, but i don't know  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20"> .


 




Tarasyuk Ok, It depends on the entertainment that we add, with


 




+ sc_gangster_thommy_idle_smoking_in --> no crash




+ sc_gangster_thommy_idle_smoking_look --> no crash




+ sc_gangster_thommy_idle_smoking_potter --> no crash




+ sc_gangster_thommy_idle_smoking_out --> game crash.
Title: Animation for human entity
Post by: Director on May 31, 2012, 06:16:12 PM
http://www.youtube.com/watch?v=aF4orZ497rU (http://www.youtube.com/watch?v=aF4orZ497rU)


 




More finished codes soon.


 


 




<div class="ipsSpoiler_header">



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)




</div>

 
Title: Animation for human entity
Post by: Tarasyuk on May 31, 2012, 06:20:11 PM
eXistenZ34 That is because there are also piss, laundry smoking and table smoking anims in my file
Title: Animation for human entity
Post by: zahar999 on May 31, 2012, 06:50:44 PM
Director




in your video I'm interested in the last minute




discharge of weapons on the ground




which team?
Title: Animation for human entity
Post by: Director on May 31, 2012, 07:00:51 PM
Sorry...which team?  (//wp-content/uploads/invision_emoticons/huh.png.04e12a04934075c5a1e0c618a726c4d9.png)<img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: eXistenZ34 on May 31, 2012, 07:03:55 PM
zahar999


 







Quotegame.game:GetActivePlayer():InventoryDrop()

 




it's in my listing
Title: Animation for human entity
Post by: Director on May 31, 2012, 07:14:44 PM
Exactly eXistenZ34, now I understand.   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: zahar999 on May 31, 2012, 07:29:05 PM
Director




eXistenZ34 answered the question



<hr class="bbcode_rule" />



 




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)
Title: Animation for human entity
Post by: eXistenZ34 on May 31, 2012, 09:02:24 PM
zahar999


 




Yes hand is wrong




...:ModelToHands(true,1,1) --> not good


 




this is good







Quotegame.game:GetActivePlayer():InventoryDrop()

game.game:GetActivePlayer():SetAnimStyle("common","default")


Title: Animation for human entity
Post by: zahar999 on May 31, 2012, 09:36:05 PM
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")
Title: Animation for human entity
Post by: Director on June 01, 2012, 11:53:09 AM
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 (http://www.youtube.com/watch?v=1EB79ix9HEM)


 


 




<div class="ipsSpoiler_header">



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)




</div>

 


 


 




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 (http://www.youtube.com/watch?v=I5KVAn3gHys)


 


 




<div class="ipsSpoiler_header">



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)




</div>

 
Title: Animation for human entity
Post by: Mafioso on June 01, 2012, 05:33:19 PM
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.
Title: Animation for human entity
Post by: zahar999 on June 02, 2012, 03:47:36 AM
You can even wash in the shower


 




http://www.youtube.com/watch?v=cF9gNVVXc-g (http://www.youtube.com/watch?v=cF9gNVVXc-g)
Title: Animation for human entity
Post by: johncena1 on June 02, 2012, 01:23:49 PM
haha brilliant!
Title: Animation for human entity
Post by: zdzichu on June 02, 2012, 08:16:44 PM
Can you give the script of Vito urinating?
Title: Animation for human entity
Post by: Cole Phelps on June 02, 2012, 09:48:44 PM
Nice one zahar  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: ocram on June 06, 2012, 03:57:46 PM
Very good initiative Director to paste the script under your videos +1
Title: Animation for human entity
Post by: Director on June 06, 2012, 06:10:14 PM
Thanks man.   <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: Cole Phelps on June 06, 2012, 08:53:00 PM
Same, good work  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">  Hope you will have mood for makin' next ones  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: mafian565 on July 31, 2012, 07:41:13 AM
How can I drink Swift cola at bar? I usually use sc_chair_drink_bottle but there is no skin... Do you know how to do this? Thank you eXistenZ  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: eXistenZ34 on August 03, 2012, 03:58:25 AM
what skin? bottle it's an object as umbrella, shovel that you need to put in hand.




you must find his Id in table in "tables.sds"


 




(//i46.tinypic.com/ejy1l.jpg&key=6761070ec350f1e8f9125881cda981a3ae949041de02fc20790642a217b27cb8)


 




view also for command LUA ModelToHands




http]


 




Link corrected - Cole
(//forums/topic?p=3070#p3070)
Title: Animation for human entity
Post by: Guest on August 26, 2012, 03:55:35 PM
Hello all,




I have a problem: I downloaded the lua injector, but my AVG founds 2 infections.  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">   Where can I download Injector without infections?  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: johncena1 on August 26, 2012, 04:12:16 PM
QuoteHello all,

I have a problem: I downloaded the lua injector, but my AVG founds 2 infections.  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">   Where can I download Injector without infections?  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">





http]




This is the one i use and i scanned it and no infections.




Sometimes AV's will pick things up as viruses when they are not, just because they are mods.




(//bigeyes.gif) (//downloads/viewdownload/4-mafia-tools/504-injector-6)
Title: Animation for human entity
Post by: Guest on August 26, 2012, 04:44:36 PM
Quotejohncena1 wrote http]

This is the one i use and i scanned it and no infections.




Sometimes AV's will pick things up as viruses when they are not, just because they are mods.




(//bigeyes.gif)


 (//downloads/viewdownload/4-mafia-tools/504-injector-6)

 




I downloaded, but AVG found viruses.  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: johncena1 on August 26, 2012, 07:14:41 PM
Quote<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="1363" data-ipsquote-contentclass="forums_Topic"><div>johncena1 wrote http]

This is the one i use and i scanned it and no infections.




Sometimes AV's will pick things up as viruses when they are not, just because they are mods.




(//bigeyes.gif)


 (//downloads/viewdownload/4-mafia-tools/504-injector-6)

 




I downloaded, but AVG found viruses.  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">


</div></blockquote>



It didn't for me... it could be a false alarm
Title: Animation for human entity
Post by: Guest on August 27, 2012, 08:31:01 AM
Hey!  <img src="/wp-content/uploads/invision_emoticons/wink.png" alt="(//wink.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/wink@2x.png 2x" width="20" height="20">




I'm learning lua language and my question, how Can I add an npc like in Cathouse? Animations are quite simple but i don't know how to add an bot or npc or whatever it's called   (//bigwink.gif)  




Can You help me?   <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: Redactor on January 08, 2013, 12:36:38 PM
eXistenZ34


 




You have shown the video to play on the piano. Please show script animations for the injector.
Title: Animation for human entity
Post by: eXistenZ34 on January 08, 2013, 03:05:14 PM
Animation in Empire Arms Hotel (arpatro.sds in city folder)







Quoteply=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_1_0)return ply:SetPhysState(enums.PhysicsState.DYNAMIC)end,




function(l_1_0)ply:SetDir(Math:newVector(x,y,0)) return ply:SetPos(Math:newVector(x,y,z))end,




function(l_2_0)return ply:AnimPlay("sc_pianist_a", false)end,




function(l_3_0)return ply:AnimPlay("sc_pianist_b", false)end,




function(l_1_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end,




function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})




end,{l_1_0},500,1,false)



 




Animation in Falcon Bar (falcone_satna.sds in shops folder)







Quoteply=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_1_0)return ply:SetPhysState(enums.PhysicsState.DYNAMIC)end,




function(l_1_0)ply:SetDir(Math:newVector(x,y,0)) return ply:SetPos(Math:newVector(x,y,z))end,




function(l_2_0)return ply:AnimPlay("sc_piano_loop_a", false)end,




function(l_3_0)return ply:AnimPlay("sc_piano_loop_b", false)end,




function(l_4_0)return ply:AnimPlay("sc_piano_loop_c", false)end,




function(l_1_0)return ply:SetPhysState(enums.PhysicsState.ENABLE)end,




function(l_8_0)return ply:SetControlStyle(enums.ControlStyle.FREE)end})




end,{l_1_0},500,1,false)


Title: Animation for human entity
Post by: Redactor on January 08, 2013, 04:55:14 PM
Thanks ...
Title: Animation for human entity
Post by: Guest on February 22, 2013, 05:18:59 PM
I can't read those animations bin files. When I open them with notepad there are just some hieroglyphs not lua commands.  <img src="/wp-content/uploads/invision_emoticons/sad.png" alt="(//frown.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/sad@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: eXistenZ34 on February 22, 2013, 05:33:08 PM
this is normal, nobody can read and understand "Animationx_x.bin"


 




what you want exactly.
Title: Animation for human entity
Post by: Guest on February 22, 2013, 05:41:33 PM
Yes, I understood, but maybe I can somewhere find lua commands scripts in game folder?  ???
Title: Animation for human entity
Post by: eXistenZ34 on February 22, 2013, 06:04:38 PM
which commands, more info please, i don't speak english (a little).




you searching name of Animation, open the xml file with Notepad + +


 




example in basic_anim2.sds




(//i50.tinypic.com/qq76ty.jpg&key=c325ccb2dd2ef0e41e29c0af4a1f03ba49a066d4cf9ea85c41e2108f2ab3bea3)
Title: Animation for human entity
Post by: Guest on February 22, 2013, 07:07:05 PM
Quoteyou searching name of Animation, open the xml file with Notepad + +


 




example in basic_anim2.sds




(//i50.tinypic.com/qq76ty.jpg&key=c325ccb2dd2ef0e41e29c0af4a1f03ba49a066d4cf9ea85c41e2108f2ab3bea3)



 




Yes, Thanks, I found them, but how can I use them?
Title: Animation for human entity
Post by: eXistenZ34 on February 22, 2013, 09:27:53 PM
how? you don't have enough examples on the first page.
Title: Animation for human entity
Post by: Guest on February 22, 2013, 09:35:51 PM
Sorry, I'm newbie with injector, so I don't know how to make commands.
Title: Animation for human entity
Post by: Guest on February 23, 2013, 05:16:16 PM
OK, I finally found out how it works, if I have some problem I'll come here to ask.  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: eXistenZ34 on February 26, 2013, 03:58:28 PM
the answer was given in the messages of the first four pages.
Title: Animation for human entity
Post by: xReD_Bullx on May 21, 2013, 07:46:43 PM
from where i can download
Title: Animation for human entity
Post by: eXistenZ34 on May 21, 2013, 09:05:02 PM
download what!
Title: Animation for human entity
Post by: iGoldmann on May 21, 2013, 09:27:49 PM
Where can I Download "Full story of Joe Unlock v.1". I will pay for it  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">
Title: Animation for human entity
Post by: xReD_Bullx on May 22, 2013, 01:37:34 PM
I MEAN THE MOD SITTING AND SLEEPING AND SMOKING I WANT TO DOWNLOAD  <img src="/emoticons/huh.png.04e12a04934075c5a1e0c618a726c4d9.png" alt=" :huh: " data-emoticon="">
Title: Animation for human entity
Post by: Dickbag69 on June 12, 2013, 11:48:59 PM
I installed injector 6 correctly i pasted those smoking scripts into the userscripts f1.txt and then when i run the game with mafiainjector i press f1 and nothing happens can you guys help me? i'm using windows xp 34bit


 




Thanks
Title: Animation for human entity
Post by: pantera83 on August 01, 2013, 06:32:51 PM
Hi everyone, I'm having alittle trouble with a animation, I'm trying to do motor service animation, it begins when i hit F5 but all he does is look at motor, he does not pull out the wrench and all of that he just looks, can anyone see what is wrong here?
Title: Animation for human entity
Post by: pantera83 on August 01, 2013, 06:34:19 PM
ply=game.game:GetActivePlayer()




ply:SetControlStyle(enums.ControlStyle.LOCKED)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_look", false)end,{l_1_0},500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_stat", false)end,{l_1_0},2500,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_in", false)end,{l_1_0},5000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_loop", false)end,{l_1_0},6800,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_loop", false)end,{l_1_0},9000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_loop", false)end,{l_1_0},11000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:AnimPlay("sc_service_motor_out", false)end,{l_1_0},13000,1,false)




DelayBuffer:Insert(function(l_1_0)ply:SetControlStyle(enums.ControlStyle.FREE)end,{l_1_0},15000,1,false)
Title: Animation for human entity
Post by: Vito Falcone on August 18, 2013, 11:37:00 AM
Can someone please tell me how I can get these animations to work on my mafia game, I've never been a good modder so I'm a little stuck and I would appreciate any help!