Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: nathmatt on October 19, 2008, 09:01:38 am

Title: blabs hot keys
Post by: nathmatt on October 19, 2008, 09:01:38 am
i want to set up the hot keys like this where the 2 on the right r skills only & 1 on the left is items the pick in the right is the battle graphic


Spoiler: ShowHide
(http://i184.photobucket.com/albums/x287/nathmatt/NewBitmapImage-3.jpg)
Title: Re: blabs hot keys
Post by: Blizzard on October 19, 2008, 09:22:10 am
If you are using "Direct Hotkeys" (which I can see on your HUD), then you can't use the skill and item buttons.
Title: Re: blabs hot keys
Post by: nathmatt on October 19, 2008, 09:29:11 am
u cant go in the script & change the hot key controls to that

Hotkeys = 1..10 to
Hotkeys = ( I, J, K)
Title: Re: blabs hot keys
Post by: Blizzard on October 19, 2008, 09:36:42 am
Actually you do with a bit of scripting.
Title: Re: blabs hot keys
Post by: nathmatt on October 19, 2008, 10:36:13 am
how would u go a bout doing it i might be able to do it myself but not sure how to make the i key only store items i kinda want to skip the hot key but have 2 or more skill slots
Title: Re: blabs hot keys
Post by: Blizzard on October 19, 2008, 11:13:01 am
There are two positions in the script which are important in this case. One if the hotkey assignment scene and the other is the hotkey use during the map scene. The methods are "class Scene_Controls" in part 3 line 7090 and "update_skill" in part 3 line 3848 with "update_item" in part 3 line 3894. For the first part: Somebody would need to edit the scene a bit so only 3 keys are assigned and that your HUD add-on is used for it instead. For the second part: Instead of iterating just through the numbers for the hotkeys, they should iterate through the numbers but use letters for the activation.