Jump to content
  • 0
raPalooza~

WASD Movement.

Question

Well, i'm that guy that stay a whole year away from ragnarok and then comes back with a crazy idea!

So the ideia is to make ragnarok a little more like those new called "action RPG" with a hack'n'slash feel to it, for example making Tyr auto cast in front of you without clicking, or making JupterThunder also go in a straigt line you're facing.

But first of all, create a WASD movement...(or arrow keys) x_x

I begun with a custom skill that moves the player 1 step at time, but as it doesn't record the "hold down" function, it's not effective (also used the skill level for the direction)

 

case ALL_ARROWKEYS:			{					if (skill_lv == 1 ) {							x = src->x + 1;							y = src->y + 0;}					else if(skill_lv == 2 ){							x = src->x - 1;							y = src->y + 0;}					else if(skill_lv == 3 ) {							x = src->x + 0;							y = src->y + 1;}					else if(skill_lv == 4 ) {							x = src->x + 0;							y = src->y - 1;}									if(map->getcell(src->m,x,y,CELL_CHKREACH)) {			unit->walktoxy(&sd->bl, x, y, 4);					}				} 

also thought about a custom dll that sends the arrow keys as a packet but i dont even know where to start nor if its possible.
 

Any suggestions?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

This is a neat idea but Ragnarok Online is meant for the click-and-point movement. I'd like to see this done and test it but a mouse/keyboard is unbeatable

Share this post


Link to post
Share on other sites
  • 0

I love the idea ! If you need help tell me.

 

But I think personnaly that a clean mod cannot be possible without our own executable's sources.

Edited by vykimo

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.