Jump to content

Home

Input: Point in the right direction.


Jman3ooo

Recommended Posts

What I am trying to accomplish is a mod where you click and drag your mouse to control your saber rather than using the directional keys.

 

I think this will allow you to feel like you have more control over your saber.

 

I need to know how the input is handled.

 

This is what nees to happen.

 

mouse1 clicked:

Get mouse x, y

x1 = x

y1 = y

mouse1 released:

Get mouse x, y

x2 = x

y2 = y

 

if (x2> x1 && y2 > y1)

Call saberattack(DownRight)

ect...

 

Another question is can you disable/change the way blocking works?

Link to comment
Share on other sites

MotF is already working on this. This sort of modification will require extensive server and client code modifications to do correctly. Obviously, I'm not going to help competators make our planned features in their own mods. However, I would be willing to let you help us work this Mouse Sabering ability into Masters of the Force. :)

Link to comment
Share on other sites

competators?

 

Odd, he didn't mention potatoes ...

 

And since when are any of us competitors? We all want the same thing - people playing JK2. And more coders / editors / whathaveyou is a good thing.

 

But I digress, the mouse does not move during saber combat except to control the players direction. I don't think I understand how you could have it do 2 things at once.

 

What would be cool is a more paper-rock-scissors style of combat, with low swings medium swings and high swings. Of course, that won't happen until we can have new animations, which won't happen because the no-new-animations drought drove away all possible animators.

 

Heck, I'd like to move away from saber combat and add some good kung-fu. But that's just me :)

Link to comment
Share on other sites

I was thinking the same thing about competators....

 

Anyways I mean making it so you attomatically 'follow' as in look after your opponent. Then use the mouse to call saber moves. So if you hold attack and move your mouse up you do and overhead attack(the equivilent to doing a forward + attack)

 

This would be aimmed towards duel players.

Link to comment
Share on other sites

That's exactly what we're working on. :) However, the main problem is that this additional control would cool, but it would be totally useless gameplaywise unless you figure out a way to make it worth the players' time to actually use the system. [EDIT]Right now, only the red stance would really benefit from this and only because it's the only stance where controlling your attack direction makes much of a difference.[/EDIT]

 

And weither you admit it or not. We're all competing. If we weren't, what's with all the veiled secrecy with modding details, eh? :)

 

As for animations, there are already pretty of saber moves to play with. We first gotta figure out what we have and what we don't have before we should even consider more animations. Intergrating new moves will require a LOT of code that won't work very well unless you know exactly what you're doing. I'd recommend doing truely needed animations (such as double/dual saber, realistic kicks, etc.) first but that would still require a very good understanding of the saber system before animation work could even be started.

 

[EDIT]

Yeah, my spelling sucks. Give me a break, I have a lot of messages to reply to. :) [/EDIT]

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...