View unanswered posts | View active topics It is currently Fri Jan 10, 2025 8:21 am



Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
 Telekinetic Wielding 
Author Message
User avatar

Joined: Mon Jun 30, 2008 9:13 pm
Posts: 499
Location: Finland
Reply with quote
Post Re: Telekinetic Wielding
You could always use an invisible AHuman that's used to shoot the gun. Then you could sharpaim and everything with it. But it might be tricky to get right.


Sat Jul 18, 2009 8:37 am
Profile
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: Telekinetic Wielding
Okay, I pretty much did a Lua overhaul on this. There are now two modes you can switch between by tapping the Pie Menu button: fixed and movable.

In movable mode, whenever you aim (sharp stance), the floating gun will move slightly forward and up a little bit. This puts it slightly more directly over your held gun, so the floating gun's shots will line up more accurately. Also if you aim up at a high angle, the floating gun will move behind you so it doesn't get in the way of your shots. When you line a target up in your sights, the gun will move up a bit and track the target directly, instead of a position near the target.

Here's a small demonstration of it:
Image

Phew. This is the most complex Lua mod I've done so far. I don't think I can even understand my own code at this point, since I keep building onto it :oops:.


Sat Jul 18, 2009 8:40 am
Profile
User avatar

Joined: Tue Jul 03, 2007 12:33 am
Posts: 1275
Location: Elsewhere.
Reply with quote
Post Re: Telekinetic Wielding
Nice idea there man, it looks great!
Keep going, don't let adversity kick you in the motivation!


Sat Jul 18, 2009 8:46 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Telekinetic Wielding
It...
It is exquisite...
And promises a plethora of uses...
...
I actually aplauded once the gif finished loading.
You inspired applause over the internet.


Sat Jul 18, 2009 9:14 am
Profile WWW
User avatar

Joined: Tue Jul 03, 2007 12:33 am
Posts: 1275
Location: Elsewhere.
Reply with quote
Post Re: Telekinetic Wielding
411570N3 wrote:
You inspired applause over the internet.

A few people have probably managed that, but certainly not through modding a game *cough* <_<

A few people have probably managed to post properly here, but certainly not this one.


Sat Jul 18, 2009 10:18 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 20 posts ]  Go to page Previous  1, 2

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.033s | 13 Queries | GZIP : Off ]