The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: DARK_ETERNAL on June 29, 2010, 04:59:07 PM

Title: Message command functions
Post by: DARK_ETERNAL on June 29, 2010, 04:59:07 PM
Greetings

I'm working in a game, and for that I designed a condition battle system where battling is handled through meeting given conditions. One of the 3 subsystems happen to require a random number between 1 and 8, the game will ask for an specific number. In order to simulate a roullette, I set randomly a variable with a number at that range and keep displaying it until player presses A button (Shift or Z). The fact is, I need that message to flow automatically until stop order is given, but default event commands don't work. I read somewhere in this forum, some topic, about some message command functions that allow to pause and change to the next text message, but I can't find such commands for RPGXP. I found another command I needed, that's to display a variable value, yet I still need to make these text boxes to flow automatically. Even that'd be great to make cutscenes. Any suggestions?

Thanks in advance.

PS: I'm still googling it, so I guess "google might help" actually might not help me now.
Title: Re: Message command functions
Post by: modern algebra on June 29, 2010, 07:11:00 PM
Use pictures instead of text boxes - it will look a lot prettier. All you need to do is use the Show Picture command, wait, show next number, wait, etc... in a loop.
Title: Re: Message command functions
Post by: DARK_ETERNAL on July 05, 2010, 04:45:39 PM
That's a good idea. I'll give it a shot. But still I'd like to make text to flow automatically in order to make cutscenes. I'm starting to read about RGSS scripting, but with that suggestion I guess I'd solve my issue. Thanks.
Title: Re: Message command functions
Post by: Mjustin on July 06, 2010, 04:31:24 PM
To make text flow automatically, just make text boxes, take pictures of each one, and use those. The player will be none the wiser.
Title: Re: Message command functions
Post by: modern algebra on July 06, 2010, 05:04:24 PM
You can also get dubealex's AMS or ccoa's UMS. Both will have letter by letter functionality and allow you to control speed, wait times, and automatic closing. I'm positive of that.
Title: Re: Message command functions
Post by: DARK_ETERNAL on July 06, 2010, 05:12:36 PM
Quote from: Mjustin on July 06, 2010, 04:31:24 PM
To make text flow automatically, just make text boxes, take pictures of each one, and use those. The player will be none the wiser.
Jajajaja! Good one. To be honest, I didn't think that since I guess it's possibble by means of scripts, you know, sending a simulated A Button signal, but also it might represent to write a proper function for it.

By the way, Mjustin, I'm really interested in your Roullette system, but the link posted there is already down and I didn't reply the post since it may be against the rules to post on a dead thread with more than 60 days. So I started to model it to make it via Event handling. Letting aside the fact that I'd have to show the pieces each one and align them properly, how do you handle gambling results? I've thought you would assign a certain number for each picture as a variable. In the other hand, how could I manage to highlight a picture as you show in the screenshots for your system? It's just another picture over the whole roullete, perhaps? Thanks anyway for your suggestion. It also comes pretty handy.

QuoteYou can also get dubealex's AMS or ccoa's UMS. Both will have letter by letter functionality and allow you to control speed, wait times, and automatic closing. I'm positive of that.

I'm pretty sure I read about the AMS, but I thought RPGXP already had some functions alike. Are there any difference between both scripts? I mean, the newest, most stable nowadays, or just the one most of people that used it would recommend better.

Thanks both of you.
Title: Re: Message command functions
Post by: modern algebra on July 06, 2010, 05:20:35 PM
The default message system in RMXP is incredibly weak, much weaker than either RM2k3 or RMVX. You really do need a message system to do what you want to do without picture eventing, as MJustin mentioned.

As to the difference between them, ccoa's is more powerful, but has a steeper learning curve. Either one would work for what you want it for though, and I am not aware of any major bugs in either.
Title: Re: Message command functions
Post by: Mjustin on July 06, 2010, 06:10:31 PM
Quote from: DARK_ETERNAL on July 06, 2010, 05:12:36 PM
By the way, Mjustin, I'm really interested in your Roullette system, but the link posted there is already down and I didn't reply the post since it may be against the rules to post on a dead thread with more than 60 days. So I started to model it to make it via Event handling. Letting aside the fact that I'd have to show the pieces each one and align them properly, how do you handle gambling results? I've thought you would assign a certain number for each picture as a variable. In the other hand, how could I manage to highlight a picture as you show in the screenshots for your system? It's just another picture over the whole roullete, perhaps? Thanks anyway for your suggestion. It also comes pretty handy.

It's a bunch of Show Picture commands mostly. I made it before I knew how to do animations, which would probably be a better way to do it. I'll attach the file for you.