people playing: 196, servers online: 61, games played: 136,945,338 Top Player: kpokoLOL

  Toribash Community » Toribash » Mods » Lua scripts
Register FAQ General Rules Community
Reply
 
Thread Tools Display Modes
Old Feb 18, 2016   #41
barbarbar
Junior Member
 
Brown Belt
Join Date: Jan 2016
Posts: 15



Hi! Is there a function to get a joint rotation information similar to a bodypart rotation? get_joint_info( , ).rot and get_joint_rot( , ) dont seem to work. Thank you

Last edited by barbarbar; Feb 18, 2016 at 11:39 AM..
barbarbar is offline   Reply With Quote
Old Feb 18, 2016   #42
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



Joints have the same orientation as the body part they're moving. For example the elbow joint has the same rotation as the lower arm. So there is no need for a seperate function.
Signature temporarily out of order.
psycore is offline   Reply With Quote
Old Feb 18, 2016   #43
barbarbar
Junior Member
 
Brown Belt
Join Date: Jan 2016
Posts: 15



Originally Posted by psycore View Post
Joints have the same orientation as the body part they're moving. For example the elbow joint has the same rotation as the lower arm. So there is no need for a seperate function.

Hey, thank you! I've already tried that, was only unsure if its exactly same. Also there is 20 joints and 21 bodyparts, does groin has same rotation as stomach? I'm using stomach rotation for abs joint, am I right? Thanks!
barbarbar is offline   Reply With Quote
Old Feb 19, 2016   #44
psycore
Member
 
2nd Dan Black Belt
Join Date: Feb 2010
Posts: 388



Two body parts are always connected by a joint, so no two body parts necessarily have the same rotation. The abs control the rotation between stomach and groin. Here you can see which bone is which.
Signature temporarily out of order.
psycore is offline   Reply With Quote
Old Nov 5, 2017   #45
MJisTheMaN
Junior Member
 
Brown Belt
Join Date: Apr 2017
Posts: 1



Uhh
How Do you Download a script lua? i wnna download this move saving script
MJisTheMaN is offline   Reply With Quote
Old Nov 7, 2017   #46
*iPod
Member
 
Black Belt
Join Date: Nov 2017
Posts: 219
Clan: Power On



Step 1: Go to files
Step 2: Go to the tab on the left named computer. Click that.
Step 3: Go to your main hard drive or where you downloaded steam.
Step 4: Go to program files x86. If your steam file isnt there, then look in regular Program files.
Step 5: Go to steam.
Step 6: Go to steamapps.
Step 7: Go to common.
Step 8: Go in the toribash file.
Step 9: Go to the data file.
Step 10: Go to the scripts file.
Step 11: Drag your downloaded script into the scripts file.
To load it ingame on the startup menu click setup then uyils then scripts. Then you will click and load your script.
Hope I helped <3
iPod is offline   Reply With Quote
Old 2 Weeks Ago   #47
barbarbar
Junior Member
 
Brown Belt
Join Date: Jan 2016
Posts: 15



Hi again! I'm working on another script. Is there a function to get all objects (spheres, cubes, cylinders) positions at the current frame?
I can get initial positions by parsing the mod file, however couldn't find functions.

Thanks!
-----
I think I found it. Should be get_obj_pos().

Found it here, as well as some others:
https://raw.githubusercontent.com/tr...ibash_docs.txt

Back on a track!

Last edited by barbarbar; 2 Weeks Ago at 05:02 PM.. Reason: <24 hour edit/bump
barbarbar is offline   Reply With Quote
Old 2 Weeks Ago   #48
box
?crazykid700=flashglass
 
Cardboard Belt
Join Date: Sep 2007
Posts: 9,206
Clan: I am



Originally Posted by barbarbar View Post
Hi again! I'm working on another script. Is there a function to get all objects (spheres, cubes, cylinders) positions at the current frame?
I can get initial positions by parsing the mod file, however couldn't find functions.

Thanks!
-----
I think I found it. Should be get_obj_pos().

Found it here, as well as some others:
https://raw.githubusercontent.com/tr...ibash_docs.txt

Back on a track!

Most (but not all) of the functions have documentation in the /data/sdk folder, so that should cover a good part of your list.

I'm going to see if we can have it updated with the newer functions.
[23:23:53] <AndChat|700625> Blue eyes ultimate dragon best card
[23:24:29] <AndChat|700625> You know the one with 3 heads
[23:24:39] <~Lightningkid> just like my dick



[11:35:40] <box> Hampa suck
[11:36:21] <hampa> not the first to tell me that today
box is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:34 PM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game