Side Stories - Battle Commands

Battle Commands

There's a lot involved in creating a battle... Unfortunately, it's not just 'Slime Girl - Fight!'... When creating a battle, you're responsible for everything. Yeah, it makes sense to be responsible for everything, but you'd think it'd already be there... you know, you're just creating a side story...

That said, there are only two actual battle commands, neither of which have options. Everything is set up in variables that you set in the story.ini file. You cannot have more than one battle in a single story.ini file.

battle
The battle command initiates the battle sequence. At this point, the battle hasn't actually started, but sprites have displayed, critical settings are loaded, etc. After issuing the battle command you can have your monster talk.

Anyway, that's an example... Anything that you write between the battle command and the battle_st command is battle intro speak. You can do whatever you want, you can write hundreds of lines or you can write nothing. Your choice...

battle_st
At line 10, there's battle_st... that's the actual start of the battle. Once you've run that command the battle will start... You're going to need to have all of your settings done before that... The reason you can only have one battle in one story.ini file is because of the settings and how they work. There's no ability to duplicate them successfully within the same story.ini as they're all listed under chapter headers. Since there's no initiation to battle, you can't break it into separate areas. for example - you can't say '1 = "battle,SlimeGirl " and have it pick specific items for a specific battle set...

It's still possible to have multiple battles within a side story, just not within the same story.ini. Using the Restart Command you can include as many story.ini files as you'd like... :)

To do this, you must use sub folders... your folder structure will look a little bit like this...

sidestory\ sidestory\section1\ sidestory\section2\ sidestory\battle1\ sidestory\battle2\

additionally you can use the restart method to extend / organize your story... :)

battle settings
The battle settings are passed through specific subs / chapters in your side story. This is why you're only able to have one battle per story.ini file. It's unfortunate, 'cause it could have set up with a single option. Anyway, doesn't matter. That's the way it is, so play by the rules, right?

You'll need the sections [data], [sel], [anno], [ondari], [victory] and [lose]. Below is a list of the settings you set in each of these areas as well as what they do.

I will work on this over the next few days, keep an eye open, it'll all be explained in time... :)

It should be noted that I'm adding to this section as I figure it out (and get it written); in some cases there may be things that are explained wrong; for that I apologize and request your knowledge, if you see something that's wrong, let me know and I'll fix it... I intend to have this fully written within a week or so; but never know, so many things in life don't go according to plan, so - well... we'll see...

Beyond that, I will not be posting this in a sensible order, though as I add more I will try to sort it properly... I'm mainly stating that because the next section that I'm adding is dependent on a section I've not yet added... Hence the dilemma, and if its happening now it may happen again...

[anno]
''The [anno] section is for battle descriptions, 'annotations'. There are 2 sections, mogaku (bind) and vic (victory).''

[onedari]

 * The [onedari] section specifies requestable techniques. It's pretty easy to use, though there are some things that can cause issues for your side story should you do them wrong.


 * The only really important part is that skill_name for your enemy attack is written exactly the same was as the onedari_list index of it. If it's not, the battle sequence will lock the user in the request window if they click the invalid request index, until they select one that is valid. If there aren't any, well that's not going to work at all.


 * You don't need to have all of the attacks requestable, but you can have up ot 16 indexed under the onedari section.


 * [onedari]
 * onedari_list1 = "Slime Tentacle"
 * onedari_list2 = "Slime Handjob"
 * onedari_list3 = "Slime Heaven"
 * Items in the list appear on the request menu, top to bottom, left to right. More pages are added if needed.
 * list formatting is from onedari_list1 to onedari_list16