Main Menu
  • Welcome to The RPG Maker Resource Kit.

How to use button 1 etc?

Started by vikk, September 28, 2006, 01:13:12 PM

0 Members and 1 Guest are viewing this topic.

vikk

Help! I have noticed that in RMXP [I use the Knights Postality Edition], you have button 1, button2 etc.
How can I use this feature? Eg in KNight Blade: Howling of Kerberos, we use the A button to dismount an assult gear or something...
OMG I have bad karma!

Ericmor

Ok, this is not exacly well know - i myself discovered that by reading the help files AFTER getting the original RMXP - but pressing F1 during game runtime will open a system window where you define, among other things, the keyboard definitions of all buttons on your game. RMXP base engine uses 8 buttons: a,b,c,x,y,z,L and R - to be played by an analog controller. This key works on any released game and cannot be disabled (as far as i know - correct me if i'm wrong).
That aside, all button definitions are defined by script, and not in the windows editor.
The condition instruction is:


if Input.trigger?(Input::C)
... SOMETHING HAPPENS ...
end


... where 'C' on "(Input::C)" is the button definition. Of course, only skilled scripters know how and where to put such instructions  ;)
Of course, smart designers keep the japanese standards of 2 buttons for easy gameplay (me included  ;D ).
I need some real WORKING AVI script in RMXP!
3D ANIMATIONS:
http://www.youtube.com/profile?user=Ericmor
3D and 2D anime ART:
http://ericmor.deviantart.com/gallery/

vikk

I have just found out ( from the scripts section ) that this can be done using events
OMG I have bad karma!

Naphe

PS: Everything can be done via events and variables.
~Banned~