Animation for human entity
Home › Forums › Modders Corner › Mafia Scene Modders › eXistenZ34’s Mods › Animation for human entity
-
AuthorPosts
-
September 27, 2011 at 5:48 pm #5307
Animation for human entity
New way to write the animations script.
most need to calculate the delay between each animation.
I make a little break.
All FR
Realized with injector
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 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
Vito makes a smoke break
All FR
Just for fun, for use with the injector.
This video requires the activation of five different animation
Version 1 Clic for PLAYER
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: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
joe=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)Version 3 Clic (you can move between the click)
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=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
Toc Toc … wake up NEO . . small wink to MATRIX
All FR
This video requires the activation of two different animation
ply=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
Download injector v6
http://www.mediafire.com/?7ix394nrvoakbs5
and Start game with “MafiaInjector.exe”
List animation
some animation are used only in certain place or in Winter
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
Vito big disgusting.
Vito big disgusting Part 2.
Test animation Cathouse
Only FR JA
This video requires the activation of five different animation for Barman and five for danseuse
September 27, 2011 at 6:47 pm #5855DANG! So these custom animations can be added to the FR? That is fantastic find.
Some Quick Links: Modders Corner | Downloads | Site Activity | Contact Us
If you need general site related help, please post in our Help & Feedback.October 2, 2011 at 4:24 pm #5867Pretty 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.ÃâÃÂ
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.
October 2, 2011 at 11:36 pm #5869cause 2K is greedy and sucked the awesome life out of what could have been a GREAT game
Some Quick Links: Modders Corner | Downloads | Site Activity | Contact Us
If you need general site related help, please post in our Help & Feedback.October 20, 2011 at 8:32 pm #5937Are you going to add it to Mafia as a mod, eXisten ?
October 27, 2011 at 10:58 am #5984he 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
October 27, 2011 at 12:30 pm #5985he 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.
October 29, 2011 at 2:56 pm #6007he 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.
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.
October 29, 2011 at 3:51 pm #6010Come 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="
” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>
December 15, 2011 at 3:08 pm #6648New animation, look on the first page
Vito drunk dancer
December 15, 2011 at 3:57 pm #6651Cool, 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.
December 15, 2011 at 4:15 pm #6652teisco
“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
December 15, 2011 at 5:33 pm #6656eXistenZ34
??? ??? ???? ??? ?? ??? ??? ? ??? ??????
??? ?? ??? ?? ??? ??? ??? ??? ?? ??? ???
December 15, 2011 at 5:47 pm #6657??? ??? ???? ??? ?? ??? ??? ? ??? ?????? YES
??? ?? ??? ?? ??? ??? ??? ??? ?? ??? ??? YES
Video made ??with injector
December 15, 2011 at 6:05 pm #6658??? ???? ??? ????? ??? ????!!!
? ??? ????? ?? ??? ?? ??? ?????? ??? ??? ??? ?? ??? ????????? ? ??? ????
-
AuthorPosts