|
Post by vespuleth on Dec 14, 2004 16:35:32 GMT -5
many of you know this, some dont. i just thought id post it. someone probably led me to this script, so if you use, feel free not to put me in your credits.
------------------------------------------------------------------------ make sure the script is an action script ------------------------------------------------------------------------
sb>>repeat>>flag>>flag 0(off) = off input>>buttons: constant wait
from here you can either sort variable 4 (user buttons) or write a condition of each button that you want to reprogram. just put all the things that you want to happen when the button is pressed. if you use a sort, be sure to add 'sb>>to end' at the end of the sort for each number.
end repeat
put this in the action of an event, and place it on every map you want these controls to take place. if your using different controls for battle, towns, and world maps, id suggest you write a different script for each one, and make them pages of said event, rather then programming them all into one script (and creating a jumbled mess. maybe its just me, but i have a hard time keeping long scripts organized and easily editable), or making seperate events. ------------------------------------------------------------------------
there are really multiple ways to reprogram the buttons, but this is the skeleton script that all of them should need. i know i suggest paged events alot, but i guess maybe that comes from the c++ programming background. anyways, goodluck.
|
|
|
Post by WarDragon on Dec 14, 2004 16:46:14 GMT -5
you can also set that in the [] button as a content script.
|
|
|
Post by vespuleth on Dec 14, 2004 17:36:47 GMT -5
yes, but then it would program to press square and then another button.
|
|
|
Post by NASH7777 on Dec 16, 2004 11:46:36 GMT -5
I have an idea! Have like some other button that you can press anytime change what the square button does. Like square will be your weapon, but R1 will change to a new weapon and R2 will go back a weapon etc..
Then you could also have the current weapon display on the screen with a visual effect. You could have like L1 cycle through weapons and L2 cycle through equipment etc... or whatever.... I think this will be how I do "Mana Craft"....Hmmmm yeah...
|
|
|
Post by WarDragon on Dec 16, 2004 14:36:22 GMT -5
I suppose that would work. Ves would that work for the circle button also
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 16, 2004 15:52:20 GMT -5
It'd work for when you press it, but there's no way of detecting if it's being held, so the running gets delayed by a second and always kicks in. I've tried this extensively before doing everything I could think of (about 1.5-2 hours) and ruled it out as impossible to cancel the running by this method. You can still use pressing O as something though.
|
|
|
Post by NASH7777 on Dec 16, 2004 16:00:58 GMT -5
I have an idea for getting rid of run for circle maybe...idk if it will work, if ya try it tell me. Hav eit so that if the circle is pressed it will wait for one more button pressed besides before it will let you out of the script. This may work as you have to press a different button after circle to move and do anything else...Unless it will accept another button press while your holding circle. idk
Another method it to always secretly have the party on an invisible ridable event with the speed set to whatever you want.
|
|
|
Post by Doan the Nado on Dec 16, 2004 18:40:26 GMT -5
Yes, I'm sure there's some way around it, just like there is everything thing else. The only question is whether or not whatever is used is worth it. For example, one method would be to surround the player with touch events which move the events and the party each one space. This would restrict the party movement speed to whatever you set it at. It also, however, may prevent diagonal movement. The vehicle method has its own shortcomings, one of which would be if you actually wanted to have vehicles in your game. I'm sure there is a way around this, too, but the question is if you want to disable running bad enough to put in the extra work in order to do it.
|
|