Quantcast

Jump to content

» «
Photo

Set movement style of ped to be Bernie's

5 replies to this topic
LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#1

Posted 06 August 2014 - 12:35 PM Edited by LetsPlayOrDy, 06 August 2014 - 12:36 PM.

So I'm making a mod for my friend, and he would like to have a ped walk like Bernie walks (you know, gay-like...). I believe you can use DecisionMaker.MovementStyle, but .NET Scripthook does not have a set of movement styles to pick from. Does anyone have a list of them, or know what Bernie's would be, or if I should use something other than DecisionMaker? I'm just too lazy to look through all of the possibilities to find which one is Bernie's lol.

Thank you.


byteMe420
  • byteMe420

    Fvck Everything

  • Members
  • Joined: 02 Jul 2014
  • United-States

#2

Posted 06 August 2014 - 02:28 PM

private void SetAnimGroup(Ped ped, string animSet)
{
    while (!GTA.Native.Function.Call<bool>("HAVE_ANIMS_LOADED", animSet))
    {
        GTA.Native.Function.Call("REQUEST_ANIMS", animSet);
        Wait(0);
    }
    GTA.Native.Function.Call("SET_ANIM_GROUP_FOR_CHAR", ped, animSet);
}

LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#3

Posted 06 August 2014 - 02:33 PM

Thanks, I'll try it when I get home

byteMe420
  • byteMe420

    Fvck Everything

  • Members
  • Joined: 02 Jul 2014
  • United-States

#4

Posted 06 August 2014 - 03:49 PM

no prob, u need to use animsets that start with the word "move" ... Bernie might be an EFLC character, I forget, you would need to find the name of the animationset he uses for his movement.


InfamousSabre
  • InfamousSabre

    Harpocrates

  • Members
  • Joined: 03 Jan 2013

#5

Posted 07 August 2014 - 05:05 AM

Bernie's movement anim group is "[email protected]"

You're probably better off just setting the movement anim group to "[email protected]"


LetsPlayOrDy
  • LetsPlayOrDy

    Too fast for ya

  • Members
  • Joined: 24 Aug 2013
  • United-States

#6

Posted 07 August 2014 - 11:43 AM

Bernie's movement anim group is "[email protected]"

You're probably better off just setting the movement anim group to "[email protected]"

Yeah I already found the Bernie one.

Ok, thanks for the advise.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users