Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Moving default functions to another key? (https://forums.graalonline.com/forums/showthread.php?t=134270528)

maximus_asinus 08-03-2017 07:14 AM

Moving default functions to another key?
 
Basically I would like to disable the default controls so I can change how each button behaves. But I want to continue to use Graal's default systems. Is this possible?

For example I want to move the sword from the "S" key to the "D" key.

Crow 08-04-2017 04:45 PM

Only possible from the player's perspective by rebinding the keys.

maximus_asinus 08-04-2017 08:13 PM

Quote:

Originally Posted by Crow (Post 1741758)
Only possible from the player's perspective by rebinding the keys.

Damn.

I was imaging trying to create an inventory and weapon system like Link's Awakening where the player could have different weapons equipped to the S and D keys. So I imagine I'd have to rescript the sword and hit detection to do this? A little beyond my abilities right now, but something I can work towards!

Kamaeru 08-05-2017 03:13 AM

Quote:

Originally Posted by maximus_asinus (Post 1741746)
Basically I would like to disable the default controls so I can change how each button behaves. But I want to continue to use Graal's default systems. Is this possible?

For example I want to move the sword from the "S" key to the "D" key.

If you try to test that on Graal2001 you will have to use "disablescriptmovement" because the movement is not default.

Crow 08-05-2017 07:37 AM

Quote:

Originally Posted by maximus_asinus (Post 1741759)
Damn.

I was imaging trying to create an inventory and weapon system like Link's Awakening where the player could have different weapons equipped to the S and D keys. So I imagine I'd have to rescript the sword and hit detection to do this? A little beyond my abilities right now, but something I can work towards!

You could dynamically disable and re-enable the sword, but then you also couldn't assign it to D.


All times are GMT +2. The time now is 07:30 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.