The RPG Maker Resource Kit
RMRK RPG Maker Creation => XP => Topic started by: :) on November 24, 2006, 02:00:32 AM
-
Ok, so I want to know how to make it so when in game play I press the letter "C" the hero changes his charset grafic, and when I press "C" again he changes it back to the old one.
-
anyone?
-
no one? well, I keep trying and again keep failing. Am I supposed to to use commen events? Ok here is how I am attempting to do it:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi5.photobucket.com%2Falbums%2Fy163%2FNouman6%2Ftransform.jpg&hash=02ae1af0a49cd7ea04816c21ee4abc6eebdaaf6c)
Sorta like pressing "C" would have you transform into something, and pressing it again would chage you back to normal. All I need is for the Character grafic to change.
-
Yeah common event should work...
Ill go try it.
Ok... I think I have something here...
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2Fok.jpg&hash=59d3ab065021ad93ccfc1f3c71360f4bb510defd) (https://rmrk.net/proxy.php?request=http%3A%2F%2Fi109.photobucket.com%2Falbums%2Fn52%2Fdreamslayer7%2Fok2.jpg&hash=7c8ecf1bca074b3ac5501977b6344fd025d1e642)
But damn If this was 2003 or 2000 I would have had this working... OK, here it is. Two common events. The first needs to have a switch on to start, I called it OK. The event is that when c is pushed character sprite is changed and ok is turned off and a new switch is turned on which I called Ok2. When ok2 is on it make the second common even turn on which it the same as the first but at the end it turns ok2 off and ok on.
This should work... but it won't. How do you use the input process thing? I wich they would have kept the password thing from 2003...
-
wait..so it did NOT work, or is taht screenshot of a working event?
-
Here the thing... I got it to work in 2000 and 2003 but cant make XP work :-\
when I push C nothing happend... so this is a screen shot of a not working even :-\
I think it is the thing I am using for the IF C IS PUSHED DO THIS thing that is making it not work...
I'm pretty sure that is what is not working... :-\ -again
-
can anyone else figure this out for me? it sersiously seems so dam simple, but I can't get it
-
press f1 in test play & set the c botton for c
-
tried that, dosen't chage anything the C is already set to C...
-
This is pissing me off >:(
I know how to do it but I don't know what to do to make it do what I want it too.
-
i think it would help if peeps added the name of the program in the name
-
? program? or verison?
-
I may not have RMXP anymore but I'll try to help you.
You will need two switches.
Do this:
- Conditional Branch: Script: Input.trigger?(Input:C)
-- Conditional Branch: Switch: 'Herochange' is OFF
--- Change character graphic
--- Switch 'Herochange' ON
-- Else
--- Change character graphic to default
--- Switch 'Herochange' OFF
-
Input.trigger?(Input:C)
is that what I put in copy paste? it dosent work here is what I have
and you said two switches?? I only used one what is the other one
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi5.photobucket.com%2Falbums%2Fy163%2FNouman6%2Ftransformintosomething.jpg&hash=442ea34083b6a9635bf3ed0a16689c9670499500)
-
Whoops, my fault.
Replace with this.
Input.trigger?(Input::C)
The other switch was meant for common events.
-
geeze, sorry to bother you again, but I sill cant get it...I really SUCK with events...So I added that, but this time when the games starts he is already the new grafic, and switches back in a second, and C does nothing....this should all be under a event page right? and set to parallel process?
-
Put the else conditional branch in the 'Switch: Herochange == OFF', not in the 'Script: Input.trigger?(Input::C)' conditional branch.
-
no dice. Now the hero is the transformed version from start of game. C does nothing
-
Since your such a good friend'i'll tell you infact lemme edit this after i post it for the heads up so you can be happy
-
i'm happy! punkid89 explained it perfect I know that, just i can't follow LOL i have events and stuff...maybe not cut sceens so much..I like mapping mostly.
-
Or try this here. Holding SHIFT and pressing ENTER will transform (yes, transform) the character or change it back (therefore the animation on the player character...). Make this common event a parallel process and don't forget to turn on the appropriate switch. Ignore the Soul Blade thing, the weapon changes with the transformation of my char (ZOMG, it also transforms!), that's why I need it. :=:
Also note that the "Transform allowed" switch is controlled by script in my game, so most probably don't need it either. Also it should be "not $game_system.map_interpreter.running?" what will disable transformation during the execution of another event. Transformation can be executed every 10 frames (1/2 second).
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F9650%2Fsnap89ar5.th.png&hash=279ec213a918314ab576126ad83af9a2ad21360b) (http://img19.imageshack.us/my.php?image=snap89ar5.png)
-
wow, blizz any eaiser way? I know I seem so bossy I don't need to have teh intentory changed..Its for a project my friends doing that Im helping him on (Im making Legend of dragoon hes sorta helping...hes making his game im sorta helping)...(dam now I have to let it out) Star wars..I want to have the Lightsaber be shown when you press C. Change the character set to a different one.
Dam just realiazed something...if Possible can you make it so you need a weapon to be able to chage the chracter grafic? (Like actaully have the lightsaber before you change )
-
Yep. You will need to set up a conditional branch inside the conditional branch 'input.trigger?(input::C)' which states that if the character possesses the weapon or has the weapon equipped, he can change stance. Then give the newly created conditional branch the else co
Then get the 'Herochange' conditional branch, cut and paste it inside the new conditional branch you've created.
-
maybe this can show what I did wrong...
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi5.photobucket.com%2Falbums%2Fy163%2FNouman6%2Flightsaber.jpg&hash=99a3e90ff20d4802bcf83178b7061b6fc450ba22)
-
What is it doing in gameplay?
-
with that up there, absolutly nothing...the actor is normal at first...Pressing the Key does nothing
-
Instead of the Herochange conditional branch, use the outer branch (lightsaber in inventory). Also equip it on the char and uneuqip it when the sprite changes. And use a common event.