blabs hot keys

Started by nathmatt, October 19, 2008, 09:01:38 am

Previous topic - Next topic

nathmatt

October 19, 2008, 09:01:38 am Last Edit: October 19, 2008, 11:54:28 pm by Starrodkirby86
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
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

If you are using "Direct Hotkeys" (which I can see on your HUD), then you can't use the skill and item buttons.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

nathmatt

October 19, 2008, 09:29:11 am #2 Last Edit: October 19, 2008, 09:34:51 am by nathmatt
u cant go in the script & change the hot key controls to that

Hotkeys = 1..10 to
Hotkeys = ( I, J, K)
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

Actually you do with a bit of scripting.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

nathmatt

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
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Blizzard

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.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.