The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Zahx on June 12, 2009, 05:26:03 PM

Title: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 12, 2009, 05:26:03 PM
Hello, I'm making a game where the vehicle sprite is a Cloud. suchas Nimbus from Dragonball Z. I was wondering if there was anyway to change the sprite of a vehicle after "getting on" it,  so that it would show my character on it, and again when he "got off" it, which would change it back to JUST the cloud again.. is this possible? through script or otherwise.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Martin W. on June 12, 2009, 09:14:40 PM
Quote from: Zahx on June 12, 2009, 05:26:03 PM
Hello, I'm making a game where the vehicle sprite is a Cloud. suchas Nimbus from Dragonball Z. I was wondering if there was anyway to change the sprite of a vehicle after "getting on" it,  so that it would show my character on it, and again when he "got off" it, which would change it back to JUST the cloud again.. is this possible? through script or otherwise.

I'm not sure, but it sounds to me that you want your character sprite on top of the vehicle sprite?

If that's the case, the easiest method would be to just make a different sprite for that.

As for changing the vehicle sprite while you're on it, it should be perfectly doable through events.


I'm still getting used to RMVX, though - so there's a fair chance I could be mistaken.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Jonesy on June 13, 2009, 12:53:58 AM
Use the vehicle chipset as an event icon.  Then make a new chipset for the vehicle with people on it. When you press the enter you enter the vehicle. That should be doable. Or there might be a change vehicle icon event.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 13, 2009, 02:59:18 PM
I'm not sure, but it sounds to me that you want your character sprite on top of the vehicle sprite?

If that's the case, the easiest method would be to just make a different sprite for that.

As for changing the vehicle sprite while you're on it, it should be perfectly doable through events.


I'm still getting used to RMVX, though - so there's a fair chance I could be mistaken.
[/quote]

okay, so when i said i wanted it to be LIKE dbz, what i actually ment was, i'm making a dbz game. for a bit of fun

there is an event which allows you to change the sprite for a vehicle, but i dont know how to make this event activate after ive got on and off the cloud. the sprite for nimbus is just the cloud, but i want it so that when i get on the cloud you see goku on the cloud, holding the radar, and then when he gets off, you go back to your walking sprite and nimbus is beside you, my problem is i cant change the sprite, so when my vehicle is nimbus i get on, and my character dissapears, and im just nimbus. i have all three sprites ready made, being goku when he is walking, nimbus when you arent on it, and nimbus with goku on it. but i cant get it to change. Its frustrating :L
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 13, 2009, 03:05:05 PM
Insert Quote
"Use the vehicle chipset as an event icon.  Then make a new chipset for the vehicle with people on it. When you press the enter you enter the vehicle."

Im not quite sure how i would do that, im a bit of a noob at rmvx, not completely but im not sure i understand what you want me to do.

I understand what you mean by making the vehicle chipset, the character on the cloud, i also understand that you want me to make an event which is JUST the cloud, and when i press enter my character gets on the vehicle and it looks like hes just got on the cloud. But i have 2 problems

1) i dont know how to make it so when i press enter i get on the cloud, when the cloud isnt the event im touching.
2) if somehow i managed to make this work, how could i get it to work for when he gets off the cloud.


thanks for your advice so far
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 13, 2009, 03:10:20 PM
also, please excuse the fact that i havent quoted you correctly. I haven't figured out how to do that yet.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Grafikal on June 13, 2009, 05:21:20 PM
Use the quote tags here::
[quote]What_ever_they_said[/quote]

Also, you can quote them entirely by hovering over the top right corner of their own post and you should see an icon that looks like a speech bubble and the word "reply". Click on the speech bubble/reply there and it'll copy their post in the quote tags for you.

Also, don't triple post. There's an edit button in the same spot I just mentioned to you, except above your own post. It's conveniently called "Modify".
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 13, 2009, 07:01:28 PM
okay, i will bare that in mind, but more importantly, can you solve my dilema?

Isn't that the reason you came on this page?
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: modern algebra on June 13, 2009, 08:59:15 PM
bear, but likely he can't, hence why he didn't and helped you in other ways. People are less likely to help you when you're rude. I'm not saying you were intentionally rude, but that seemed a little rude to me at least.

In any case, I can write a script for this. I have something working now, but I think I might frig around a little and see if I can't make something with a little nicer configuration.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Grafikal on June 14, 2009, 01:22:29 AM
Quote from: Zahx on June 13, 2009, 07:01:28 PM
okay, i will bare that in mind, but more importantly, can you solve my dilema?

Isn't that the reason you came on this page?

I posted what I did because you posted this ::
Quote from: Zahx on June 13, 2009, 03:10:20 PM
also, please excuse the fact that i havent quoted you correctly. I haven't figured out how to do that yet.

Just lettin you know.

I could figure a way to do this with events if you really wanted. I'd have to fudge with it for a bit to be sure, but essentially, you would need to take the vehicle graphic that's dismounted and import it as a standard character sheet. Then have that graphic except mounted however you would like and use that as your ACTUAL vehicle graphic in the systems tab. So when you want to get in your vehicle, you would create a normal event with a graphic of the dismounted vehicle then in the event commands call the vehicle and instantly enter it then turn off that event and have it follow you or something. Or even better just track your movement with variables and then use the call event command to that position when you dismount your vehicle. It would probably get a little complicated to set up, but I think it's possible.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 14, 2009, 08:49:25 PM
okay well there a few things i need to say.

1) i want to apologise for coming across as rude, it wasn't my intention, however reading over what i had wrote, gives me the same impression you must have got, which i want to apologise for.
2) i have been given two options from two different people, one offered a script, the other, a series of events. i have no problems with using either, and all i can say is, that if my game is ever distributed, the person suppyling help will be credited.

Also, i have sprited Goku, walking in all directions, I have sprited raditz facing down and to the left, (as a battler) and i have spirted various versions of piccolo looking down, with different outfits, like with his hat, without it, his cape, without it, etc. I have also sprites radits's space pod, and Goku when he is on nimbus, facing all directions, and Nimbus on its own. Though i can't be sure these sprites are any good, if anyone would like them for whatever reason, they may have them, without the requirement of credit, providing i can play the game  ;). If anyone would like these. Message me.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: sinkay101 on June 14, 2009, 10:55:53 PM
I think all you would have to do is create a sprite of your character on the vehicle,and with events,change the sprite
after you get on.
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Zahx on June 15, 2009, 03:48:33 PM
the problem is, i dont know how to make it change after i have got on, and then change back when i have got off.

there is a "change vehicle sprite" event, but i dont know how to activate it after the character has got on. and change it back after he has got off
Title: Re: Changing Vehicle Graphics after 'getting on' ?
Post by: Grafikal on June 15, 2009, 04:15:39 PM
i'll do it for you. PM me whatever resources you have. I'll need a character sheet with whoever ON the nimbus cloud and also a character sheet of JUST the nimbus cloud. I wont be able to crank it out for you until later today since im at work, but i could do it.