News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Knowing which animation group to load?  (Read 4287 times)

0 Members and 1 Guest are viewing this topic.

Offline Hopking

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
    • View Profile
Knowing which animation group to load?
« on: June 29, 2013, 05:53:06 AM »
I noticed that when trying to load animations such as fighting styles through LUA, Jimmy will become T-pose until the pedestrian associated with that animation loads the animation themselves.

I know how that works, but what I'm clueless about is knowing which animationgroup to load for which animation. For example, I want to load /Global/2_01/Anim/EdnaShrug, however LoadAnimationGroup(2_01) doesn't work. How can I find the name of the group assoicated with this animation?

Offline Walter20210

  • Hero Member
  • ****
  • Posts: 1,102
  • Gender: Male
  • I keep loving the old things :P
    • View Profile
    • YouTube Account
Re: Knowing which animation group to load?
« Reply #1 on: June 29, 2013, 06:04:47 AM »
Is a little bit more different than that.
First you forgot the "" in LoadAnimationGroup(2_01)

And to find those anims you will have to check on the mission script.

Just find the word "LoadAnimationGroup"

you will find this : (in this case)
Code: [Select]
LoadAnimationGroup......2_01LastMinuteShop......NIS_2_01......
Then just load the both, And now all anims of that mission should work =D

LoadAnimationGroup("2_01LastMinuteShop")
LoadAnimationGroup("NIS_2_01")
« Last Edit: June 29, 2013, 06:07:06 AM by Walter20210 »

Offline Hopking

  • Jr. Member
  • **
  • Posts: 67
  • Gender: Male
    • View Profile
Re: Knowing which animation group to load?
« Reply #2 on: June 29, 2013, 06:38:48 AM »
Thank you very much, I will give this a try ^^

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: Knowing which animation group to load?
« Reply #3 on: June 29, 2013, 08:09:07 AM »
If you want the names of the animation groups, you can also look them up in World.img.

They're .agr files.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Knowing which animation group to load?
« Reply #4 on: June 07, 2014, 08:34:06 PM »
Code: [Select]
  -- Fighting Style Animation Groups Start
  LoadAnimationGroup("P_Striker") -- Preps P_Striker Animation Group
  LoadAnimationGroup("Boxing") -- Boxing Animation Group
  LoadAnimationGroup("Straf_Prep") -- Prep Straf Animation Group
  LoadAnimationGroup("STRAF_WREST") -- Wrestling Straf Animation Group
  LoadAnimationGroup("B_Striker") -- Bully Fighting Style Animation Group (B_Striker)
  LoadAnimationGroup("TE_FEMALE") -- Female Fighting Style Animation Group (adults) 
  LoadAnimationGroup("DO_Striker") -- Dropouts Fighting Style Animation Group (striker)
  LoadAnimationGroup("DO_StrikeCombo") -- Dropouts Fighting Style Animation Group (striker combo) 
  LoadAnimationGroup("F_Nerds") -- Nerds Fighting Style Animation Group (straf?)
  LoadAnimationGroup("N_Striker_B") -- Nerds Fighting Style Animation Group (striker)
  LoadAnimationGroup("NPC_Adult") -- Adult Fighting Style Animation Group
  LoadAnimationGroup("G_Johnny") -- Johnny BOSS Style Animation Group
 -- Straf Animation Groups Start
  LoadAnimationGroup("F_Girls") -- Girls Straf Style Animation Group
  LoadAnimationGroup("F_Douts") -- Dropouts Straf Style Animation Group
  LoadAnimationGroup("F_Greas") -- Greasers Straf Animation Group
  LoadAnimationGroup("LE_ORDERLY") -- Asylum Orderly Fighting Style Animation Group
  LoadAnimationGroup("F_CRAZY") -- Asylum Crazy Fighting Style Animation Group
  LoadAnimationGroup("F_JOCKS") -- Jocks Straf Animation Group
  LoadAnimationGroup("SNERD_I") -- Nerd Animation Group (fighting?)
  LoadAnimationGroup("SNERD_S") -- Nerd Animation Group (fighting?)
-- MISC Animation Groups Start
  LoadAnimationGroup("Halloween") -- Animation Group for the Halloween Flags and props
  LoadAnimationGroup("F_Adult") -- Adult Straf Animation Group
  LoadAnimationGroup("LE_Orderly") -- Orderly Animation Group (authority)
  LoadAnimationGroup("F_Preps") -- Preps Straf Animation Group
  LoadAnimationGroup("G_Grappler") -- Greasers grappler Animation Group (fighting)
  LoadAnimationGroup("NPC_Mascot") -- Mascot Straf Animation Group
  LoadAnimationGroup("IDLE_JOCK_A") -- Jock Idle Animation Group
  LoadAnimationGroup("Earnest") -- Earnest Fighting Style (straf?) Animation Group
  LoadAnimationGroup("G_Grappler") -- Greasers Fighting Style Animation Group (straf) (grappler)
  LoadAnimationGroup("G_Striker") -- Greasers Fighting Style Animation Group (straf) (striker)
  LoadAnimationGroup("Nemesis") -- Gary BOSS Fighting Style Animation Group
  LoadAnimationGroup("N_STRIKER_B") -- Nerds Fighting Style Animation Group (striker)
  LoadAnimationGroup("Straf_Wrest") -- Wrestling Straf Animation Group
  LoadAnimationGroup("J_Grappler") -- Jocks Fighting Style Animation Group (straf) (grappler)
  LoadAnimationGroup("NPC_Principal") -- Principal Fighting Style? Straf? Animation Group
  LoadAnimationGroup("Authority") -- Authority Fighting Style Straf Animation Group
  LoadAnimationGroup("C_Wrestling") -- Wrestling Straf Animation Group

thx 2 MadmaN