View unanswered posts | View active topics It is currently Thu May 02, 2024 9:58 am



Reply to topic  [ 55 posts ]  Go to page 1, 2, 3, 4  Next
 [WIP]Telekinetic Wielder - Updated! 
Author Message
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post [WIP]Telekinetic Wielder - Updated!
I'm leaving for vacation, and I wanted to get this out before I left. This is strictly a beta release. The mod needs a lot more polish before I'll consider it a true release. More info and pictures here: http://www.datarealms.com/forum/viewtopic.php?f=1&t=15899&start=0

This tool allows you to carry a second gun, which floats above. It aims where you aim and shoots where you shoot. Pretty simply (ha!).

Be mindful of where the floating gun is pointing. It targets the first object in your line of sight. So if you have your face in the dirt, you'll be blowing holes in your head.

Instructions:
The gun is under the Tools menu, not Weapons.
Shoot a gun that is laying on the ground.
Shoot your weapons like normal. The floating gun reloads automatically when it runs out of ammo.
Crouch to toss away the floating gun and end the effect.
The effect has 2 modes: Fixed* and Movable. To change between them, quickly 'tap' the Pie-Menu button.
Movable mode allows for more accuracy. Fixed mode will keep your gun's position over your head. Default mode is Fixed.

*Fixed, as in it is fixed relative to your actor. It still moves with you.

Update: July 26, 2009
Tweaked the Movable mode. Now is more mobile =P.
Fixed issue with dropped weapons still firing.
Cleaned up the Lua code. Still lacks docs though =(.
Added tiny glow effect.

To-Do List:
Add Lua documentation. DONE!
Fix issue with weapons getting stuck in ceilings.
Add sprite effects.
Make mode changing and weapon dropping rebindable.

Updated Version:
Now with Full Documentation.
Attachment:
TelekineticWielder.rte.rar [6 KiB]
Downloaded 1057 times


Old version:
Attachment:
TelekineticWielder.rte.rar [3.72 KiB]
Downloaded 616 times


Fixed Mode:
Image

Movable Mode:
Image
Note, this gif may be a little misleading. You do not control the floating gun's movement. It is automatic, so you don't need to multi-task.


Last edited by Kyred on Thu Aug 13, 2009 6:09 am, edited 3 times in total.



Sat Jul 18, 2009 9:35 am
Profile
User avatar

Joined: Sun Nov 30, 2008 4:56 pm
Posts: 132
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
I have just retrieved my jaw from the floor and I must say, this mod is badass. No matter what bugs could be found, it is badass.
DL in progress.


Sat Jul 18, 2009 9:58 am
Profile
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
Poor clone, his gun turned on him...
Image
Very well done.

Make the gun glow blue when psy-wielded.


Sat Jul 18, 2009 10:05 am
Profile WWW
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: [WIP]Telekinetic Wielder - Beta Release
Should be fairly easy.
Kyred wrote:
The script runs on an MOPixel
Just add a screeneffect to it. Though it wouldn't scale to different weapons, which would require more difficult coding in Lua.

Also, does this work with both mouse and keyboard control types as well as gamepads, etc.?


Sat Jul 18, 2009 10:13 am
Profile WWW
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
411570N3 wrote:
Should be fairly easy.
Kyred wrote:
The script runs on an MOPixel
Just add a screeneffect to it. Though it wouldn't scale to different weapons, which would require more difficult coding in Lua.

Also, does this work with both mouse and keyboard control types as well as gamepads, etc.?
The MOPixel doesn't follow the gun though. It could and work exactly the same, I just didn't think to code it that way >_<.

Lol, if you want to see where the MOPixel is, look really hard at the ammo count numbers in the gifs I posted. It's in the bottom light corner of the 10's digit. It's difficult to see unless your actually looking for it, since it's white like the numbers.


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

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
Do you need a sprite for it?


Sat Jul 18, 2009 11:24 am
Profile WWW
User avatar

Joined: Fri Sep 14, 2007 9:52 pm
Posts: 304
Location: No.
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
Roon3 wrote:
Make the gun glow blue when psy-wielded.

YES.

Also, I really don't understand the "Movable" mode. It is still amazing.


Sat Jul 18, 2009 12:39 pm
Profile
User avatar

Joined: Tue Jul 03, 2007 12:33 am
Posts: 1275
Location: Elsewhere.
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
Roon3 wrote:
Poor clone, his gun turned on him...
Image
Very well done.

Make the gun glow blue when psy-wielded.

I lol'd.
That's why you use the sharp-aim mode before shooting downwards :P

Epic mod is epic, a glow would make it look cool, but don't go overboard like Whitty used to do :D
Just a faaaaaiiint glow will do nicely.


Sat Jul 18, 2009 1:29 pm
Profile
User avatar

Joined: Fri Sep 14, 2007 9:52 pm
Posts: 304
Location: No.
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
OR what would be cool is like a glowy "ribbon" or "thread" that goes from the actor to the gun.


Sat Jul 18, 2009 2:42 pm
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: [WIP]Telekinetic Wielder - Beta Release
Except that would be considerably harder than simply making the object glow. I suppose it'd be possible with some random string of ScreenEffect'd particles being emitted or updated every second... but that'd be pretty laggy to boot.


Sat Jul 18, 2009 3:18 pm
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
Droping an activated weapon keeps it activated.
Image


Sat Jul 18, 2009 3:28 pm
Profile WWW
User avatar

Joined: Wed Mar 25, 2009 9:49 pm
Posts: 96
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
This is awesome, now we can finally triple wield!


Sat Jul 18, 2009 4:27 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
I wonder if you could use math.atan2 on EyePos, rather than raycasting.

But then I'm not really sure what eyepos gives you.


Sat Jul 18, 2009 5:08 pm
Profile
User avatar

Joined: Mon Jun 30, 2008 9:13 pm
Posts: 499
Location: Finland
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
EyePos is basically the position of the head. Raycasting is the only viable solution.


Sat Jul 18, 2009 5:25 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: [WIP]Telekinetic Wielder - Beta Release
ViewPoint
The point at which this actor is viewing, or that the scene frame should be centered on if tracking this Actor's view. In absolute scene coordinates.The point in absolute scene coordinates.

You kids and your raycasting.


Sat Jul 18, 2009 5:28 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 55 posts ]  Go to page 1, 2, 3, 4  Next

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.055s | 18 Queries | GZIP : Off ]