lfnetwork.com mark read register faq members calendar

Thread: Force grip hand position...
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 05-31-2007, 12:25 AM   #1
phasmatis6
Rookie
 
Join Date: May 2007
Posts: 14
Force grip hand position...

So when I do something like this:

Code:
self->client->ps.forceHandExtend = HANDEXTEND_FORCE_HOLD;
self->client->ps.forceHandExtendTime = level.time + 5000;
...and I want to fire a missile from the player's extended hand, how would I get the vec3_t position of the player's hand?
phasmatis6 is offline   you may: quote & reply,
Old 05-31-2007, 02:14 PM   #2
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
Look in the saber update position stuff in w_saber.c to see how it tracks the position of the saber blade.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Old 05-31-2007, 11:13 PM   #3
phasmatis6
Rookie
 
Join Date: May 2007
Posts: 14
w_saber.c being the second largest source file in the game directory, I'm lost.

Uh... anything more specific..?
phasmatis6 is offline   you may: quote & reply,
Old 05-31-2007, 11:34 PM   #4
razorace
Impressive, Terran!
 
razorace's Avatar
 
Join Date: May 2002
Posts: 9,176
sorry, I don't have the code in front of me but it's the function with the CheckSaberDamage function calls.


---Jedi Guardian of the Newbie Questions
---Masters of the Force Team Leader / Creator
---Open Jedi Project Lead Moderator / Co-Founder
razorace is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Coding > Force grip hand position...

Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:36 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.