View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:55 am



Reply to topic  [ 8 posts ] 
 Throw motion via Lua 
Author Message
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Throw motion via Lua
Would it be possible to make an actor do a throw motion as if it were throwing a grenade? I have a throwing gun but I'd prefer it doesn't look like my thrown weapon randomly appears in front of me.


Sun Jul 18, 2010 3:29 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Throw motion via Lua
nope

we have next-to-nothing we can do with limbs, and that's unfortunately unlikely to change in future builds


Sun Jul 18, 2010 11:43 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Throw motion via Lua
Do it reverse. Have a TDExplosive that adds itself back to the actor.


Mon Jul 19, 2010 12:37 am
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Throw motion via Lua
But I don't want it to ask how hard I want to throw it...


Mon Jul 19, 2010 1:51 am
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: Throw motion via Lua
Then have it set it's own velocity after being thrown, so that just clicking once works.


Mon Jul 19, 2010 2:15 am
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Throw motion via Lua
I don't wan't it to show the dotted line though, and I've set the thrown weapon to be somewhat slow, but automatic. That wouldn't work with the grenade idea. I guess I'm out of luck...


Mon Jul 19, 2010 2:52 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Throw motion via Lua
you could make it give your actor an item with offsets that make your actors hands move in front of them that destroys itself a frame after appearing.


Mon Jul 19, 2010 5:24 am
Profile WWW
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post Re: Throw motion via Lua
Geti wrote:
you could make it give your actor an item with offsets that make your actors hands move in front of them that destroys itself a frame after appearing.

That's a great idea! Thank you!


Mon Jul 19, 2010 9:11 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.044s | 13 Queries | GZIP : Off ]