CHANGE MY CONTROL KEY

Posts

Pages: first 12 next last
Guys need help!! For RPG MAKER 2003

Q:
How can i change may control keys??
Ex:
Action key (space bar) to Action key (D)


Thx!!
RPG MAKER 3 as in the ps2 game? Or RPG MAKER 2003?

You might be able to do it in 2003 with a patch, although you can also use 'z' instead of space by default, and 'x' instead of escape.

If you mean a later maker I think you can change them with scripts although I am not 100% sure of this as it's been a long time since I last touched XP or VX
RPG MAKER 2003 sir.. Can you help me??
Yeah it's a separate download, not sure about links or such though as I don't use any mods besides the david patch. Wish I could help more :/
Thx for the help m8s.. ive done it!!
Kind a hard.. For now im finding a way how to move my Action key (z) to (D)..
BTW im using the DynRPG + Keyboard and mouse plugin
Ah fair dos, might give it a shot if I come across some interesting plugins, although most of what I have planned shouldn't need any.

What's the reason you want to change it? D seems like a bit of an odd key to pick.
And m8 Its so easy to make ABS with that plugin... Promise
Ah is that what you're trying to do?
Tried making one years ago before the time of the plugin, failed hard xD
Well Not yet.. Cuz my problem now is how to change the keys..
Fair dos, how come you're wanting to use the d key though?
To make a nice key settings in game.. :D
Btw man can you help me with variables?? What is the use of that??
I'll try and explain.

Variable can store numbers, so you can do things like damage calculations
atk-def as a basic example or other math related things.

They can also be used to effect events, that bit on the top left of the event window lets you tick some boxes, which means it will only appear when what you have set, eg variable 'story' = 10 is true
This means if you have a character leave the room or whatever you can can set the event to only appear if 'story' = 10 then at the end of the scene set it to 11 or any other number and the event will vanish.

Switches on the other hand are like variable with only 0 and 1 or OFF and ON

In terms of your ABS: This will be very basic

Make a variable called 'key input', this will be your variable for seeing what key is pressed

You can use the 'key input processing' command 'input password' in 2k I think and set it to your 'key input' variable. What it does is every time you press a key it changes the 'key input' variable to a number based on the key pressed 5 is the action key I believe (it tells you).

Then you can make a conditional branch to check if 'key input' = 5 and if it is you can have it do your attacking stuff or whatnot, set 'key input' back to 0 at the end.


Hope this helped, I'm sure there's better descriptions in some of the articles here though.

EDIT: This might serve you better http://rpgmaker.net/tutorials/601/
Thx M8!! ima going to play that variable thing!!
No problem, if you want any more help I'd be happy to help
author=raizenkoh
Well Not yet.. Cuz my problem now is how to change the keys..


are you saying that you're not sure how to use all the keys, like D, in RPGmaker now that you added the plugin? it is kinda of hard to setup the keys in the .ini file if you're inexperienced with that stuff.

in my game I added every useful key to the .ini file, even though I probably won't use them all.

http://rpgmaker.net/media/content/users/9179/locker/DynRPG.ini

the number after the = is the assigned switch, so if they are not free in your game you might have to assign new ones. the mouse coordinates are listed to, those are variables 39 and 40. if you wan to show a mouse cursor you need to use a show picture event using variable 39,40 for the position.

here's what they represent



ALT, CONTROL, and SHIFT check for all. for example, ALT checks if you are pressed either the left one or right one. if you want to make it be a specific one you can use LEFT ALT or RIGHT ALT.

if you want something to happen when you press D it's as simple a making conditional branch using switch 113 ON. when you press D, it actives what's in the branch. i put all my key checking branches in a single common event.

as long as you press D, switch 113 will be ON. if you let it go, it will turn OFF. you can't turn it ON manually, cause it'll just shut off cause your not holding the button.

if you are going to make something happen you should put it in a common event, and in the conditional branch for switch 113 have only a Call Event. because if you put a bunch of code in that branch, and let go of D, it will stop executing the code.



you can put few a commands in there, but anything that will take more than a second to execute should be in a common event and called.

there's some little nuances, like if you don't put a wait the code will repeat continuously while you are holding the button. you can also turn an extra switch ON, with a corresponding branch for that switch being OFF, to prevent the code from running again until you let go of the button and turn that extra switch OFF again. il probably write a tutorial someday, after i probably write all those other tutorials i want to :/ i need an assistant
Pages: first 12 next last