Scripting question -1 reply

  • 1
  • 2

Please wait...

spior

Pony addict

50 XP

16th June 2009

0 Uploads

207 Posts

0 Threads

#1 8 years ago

Hey there.I was wondering is there a way i can make an animation play with me just execing a script.U know something like "bind t use animation myanim"?If there is pls comment cuz i made an awesome force dash anim and i really want to know how to do it.




vendettaz7

I like cookies.

50 XP

9th May 2008

0 Uploads

65 Posts

0 Threads

#2 8 years ago
spior;5002671Hey there.I was wondering is there a way i can make an animation play with me just execing a script.U know something like "bind t use animation myanim"?If there is pls comment cuz i made an awesome force dash anim and i really want to know how to do it.

There are two ways, Lugormod or basejka + cheats.

Basejka: /debugsetbodyanim Lugormod: /anims play # #=number of the anim




spior

Pony addict

50 XP

16th June 2009

0 Uploads

207 Posts

0 Threads

#3 8 years ago

I didn't really get that,but i will try it.Thanks BTW




spior

Pony addict

50 XP

16th June 2009

0 Uploads

207 Posts

0 Threads

#4 8 years ago

Both of those didn't work.Any other ideas.




vendettaz7

I like cookies.

50 XP

9th May 2008

0 Uploads

65 Posts

0 Threads

#5 8 years ago
spior;5002693I didn't really get that,but i will try it.Thanks BTW

For the basejka method, you need the anim line out of the animation.cfg from assets1/models/players/_humanoid/.

Example: /debugsetbodyanim BOTH_SIT1

So basically you need to find the animation line for the dash animation you want to use.




spior

Pony addict

50 XP

16th June 2009

0 Uploads

207 Posts

0 Threads

#6 8 years ago

Well its BOTH_FORCE_DASH so i will try that.And if i can't i will upload it somewhere so someone can finish my work.




spior

Pony addict

50 XP

16th June 2009

0 Uploads

207 Posts

0 Threads

#7 8 years ago

didn't work




loda

the dude

50 XP

17th March 2005

0 Uploads

294 Posts

0 Threads

#8 8 years ago

as he said, cheats have to be enabled on the server. it works, though theres really no point in releasing some mod that only works with cheats enabled. maybe you could replace a lugor or JA+ anim with yours then have the script call the lugor or ja+ cmd.

where are you finding BOTH_FORCE_DASH btw? i don't think thats a base animation.




jk3editor

Retard Hungarian Modder

50 XP

21st August 2008

0 Uploads

1,520 Posts

0 Threads

#9 8 years ago

[COLOR=Navy]Yeah, it isn't base anim. [/COLOR]




spior

Pony addict

50 XP

16th June 2009

0 Uploads

207 Posts

0 Threads

#10 8 years ago

OMFG i made a new one.I just put it under the root.u know BOTH_... .... root BOTH_FORCE_DASH




  • 1
  • 2