Battle Tutorial: Block out options other than the tutorial prompts

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
So, I started making a game and pretty early on it has a "battle tutorial" and it prompts the Player to do specific actions. Is there a way to block out actions other than the last prompt given?


I have attached the prompts, 2 of them are skill types, one is basic attack, and 1 is items.

BattlePrompt1.png

BattlePrompt2.png

BattlePrompt3.png

BattlePrompt4.png
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,454
Reaction score
12,015
First Language
English
Primarily Uses
RMMV
Not without modifying scripts.
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
I see then I'll just have to create a Special 1 time use battle scene, thanks.

Maybe I'll post it if it's good.

Edit: how would I make it so it launches the tutorial scene script from an event?
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,454
Reaction score
12,015
First Language
English
Primarily Uses
RMMV
Moving to RGSSx Script Support


Take a look at Game_Interpreter and see how it handles calling a battle via the Battle Processing event.


Note - the battle script is HUGE and is a series of windows and scenes coupled with the BattleManager. You've got your work cut out for you :)
 

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
I started programming by editing the source of an entire Multiplayer gaming engine with far more code than the stock scripts, I think I can handle it. ;D

Edit: it looks like I can accomplish it by just making a copy of the "Scene_Battle" script then use conditional statements based on the turn number to block or allow input from the commands. Then use that in just the instance of the tutorial. If this works it will have been child's play and I have never messed with RGSS before XD

Edit #2: I did it! All I had to do was copy the battle scene and add conditions to check certain variable I set based on what prompt I had for when they wanted to enter a command if it didn't match up it would reinitialize the command selection window. then I made it only use that scene if the Troop ID matched the Tutorial troop. Aside from I minor bug where the Battle Music doesn't play and it play's the map music this is PERFECT! The music can be fixed with a few event Map music changes before and after the custom scene.

Edit #3: Fixed the sound bug
 
Last edited by a moderator:

RyokuHasu

Developer
Veteran
Joined
Jun 23, 2012
Messages
274
Reaction score
37
First Language
English
Primarily Uses
Bump for Locks
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Wasting so much time trying to get a sprite behavior to work. I feel like banging my head against a wall.
Well... it’s been a real pain in the IRS today. :/
My kitty still young (3-4 months), I think I could teach her some funny tricks... like: "Play dead-ly good music for my games"
Here's a quality DPS class idea: The Beekeeper, who uses the "Bees!!" skill to attack and poison enemies.
Please don't create long, boring cutscenes in which characters do nothing but stand around talking.

Forum statistics

Threads
94,274
Messages
919,552
Members
123,997
Latest member
Xafir
Top