lfnetwork.com mark read register faq members calendar

Thread: Moving the Force's emitting point
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 11-17-2007, 06:57 PM   #1
SMoKE
Rookie
 
SMoKE's Avatar
 
Join Date: Aug 2004
Location: Norway
Posts: 125
Moving the Force's emitting point

Yo yo,
Does anyone have a clue on how to move the point from where the Force power effects emits? By default it's the *l_hand bolt on the playermodel, which I figured was located in cg_players.c, in the CG_Player(centity_t *cent) function (I think at about line 9217):

trap_G2API_GetBoltMatrix(cent->ghoul2, 0, ci->bolt_lhand, &lHandMatrix, cent->turAngles, cent->lerpOrigin, cg.time, cgs.gameModels, cent->modelScale);

So I played around with it and changed the ci->bolt_lhand part a bit, but what would I put in if I wanted the Force power effect to emit from a tag on a bolted model (like the *blade1 tag on the client's saber)?

Thanks in advance =)


SMoKE Designs
Website | Forums

The Matrix Unleashed
Website | Forums

The Knights of the Old Republic Series
Website | Forums
SMoKE is offline   you may: quote & reply,
Old 11-17-2007, 07:14 PM   #2
ensiform
The Stig
 
ensiform's Avatar
 
Join Date: Nov 2004
Location: Sawtooth Cauldron
Posts: 1,241
Current Game: Borderlands 2
Depends on which force you're talking about.


iojamp project lead / coder
ensiform is offline   you may: quote & reply,
Old 11-18-2007, 05:40 AM   #3
SMoKE
Rookie
 
SMoKE's Avatar
 
Join Date: Aug 2004
Location: Norway
Posts: 125
Really? Well, say Force lightning, then?
How do they differ, however?


SMoKE Designs
Website | Forums

The Matrix Unleashed
Website | Forums

The Knights of the Old Republic Series
Website | Forums
SMoKE 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 > Moving the Force's emitting point

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 08:35 AM.

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