Text-Based Combat through Events

Excuse me for the newness I hope this is the right place to post this. I have been pouring over tutorials, scripts, and games for the last several weeks. I was preparing a load of script for different things and was agonizing over the battle system.

At first I was attempting to find away to get rid of the battlebacks to replace them with "maps" and replace enemy battlers with sprites. An idea struck me... and thus I have been pouring over google and things to see if anyone has done it.

Combat is essential a series of choices that is displayed in text which output on the scene and change numbers in the menu.

I want a combat system that is essentially Text-based Combat . I'd imagine it would be like many event-based systems. I've been increasing my eventing knowledge and often times I tried to find a way to event things that could be done with scripts just to see if they are do able.

So my request, discussion, question, etc is as followed...

How do I get the system to display damage in a message box and that damage is determined by an actors or enemies stats? 

I would event "Enemies" on the map that once they have spotted the player will come after them. (Yanfly's Event Chaser).

Upon contact with the player that Event will become a "Battle" (this could transfer them to another map or just play out in message boxes).

Enemy action would be based on a variable (perhaps a 1-100 check that breaks down into conditional branches).

Players would get a choice of actions they can perform. (I may incorporate the Visual Novel Choice script here)

NOW This is where I am having my trouble.

How do I make the game determine damage based on stats, have it record the damage (so when you look in the menu or if I have a Health HUD it will show the damage taken) and display it as a message to the player?

I imagine this may be real simple and I missing it the functions or real complex. As I said I have been pouring over tutorials, forums, youtube videos for two weeks now. I am not above using a script that makes script calls for me if someone knows one that is out there already.

I will continue to look for an answer on my own as well.
I've moved this thread to RGSS3 Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

Your post is a bit confusing - you've got a whole big list of things you'd like to have, and then say you are having trouble with ONE thing.  Do you need help with ONE thing, or with all of them?
My apologies.

I was essentially detailing my thoughts.

I was not requesting a script.

I was asking if there was any way to make this type of eventing work that would create what amounts to a choice-based battle the plays out in scene though message boxes. Any advice towards achieving such a system or a work around to using enemy or actor defined stats to display damage in the message box after a choice is made.

It would play out like this:

Monster Approaches Player (through Script or Move Route)

Message Box: The Skeletal Warrior stumbles towards you. What do you want to do?

Choice 1: Fight!

Message Box: You prepare yourself for a fight as he draw your weapon. You take a deep breath and grip the hilt to stop the slight shaking of your hand as your heart pumps adrenaline through you.

   Choice 1: Attack

      Skeletal Chooses Heavy Attack (Conditional Branch?) The Skeletal Warrior performs Heavy Attack. You take [damage] damage! You have ??? Health Remaining. (Update Health Hud and/or menu)

      Message Box: You strike fast as the skeletal gets in range of you. The blade crashes through the brittle bones of the creature. You deal [damage] damage to the Skeletal Warrior!

   Choice 2: Defend

   Choice 3: Heavy Attack

   Choice 4: Magic

      Bypasses the Paper/Rock/Scissor Mechanic of (Heavy Attack > Attack > Defend > Heavy Attack) and deals direct damage to "Opponent"

   Choice 5: Item

      Use Items in the Scene that can restore health.

Choice 2: Auto-Battle

   [insert awesome fight write up here with a conditional branch for victory and lose]

Choice 3: Flee!

As you can see I have to be able to get damage assigned to the monster / player. I just need to know if I can do that (and have it based off the Enemy / Actor stats) and display it in the message box while updating the HUD or Menu. 

The question was basically how to do this whether it can be done through eventing or if I need get a script for it (or if one of the scripts out there could do it for me). I want to bypass the battle system and essentially make a text-based event battle system.

Maybe an easier way to explain it would be like the old text based game Zork or the combat system of a MUD/MUSH/etc.
At this point I worked out away to do it. Not sure if I am happy with it. May continue to look into other Battle Systems. You can close this thread.
If you want to close the thread, please Report your opening post (the Report button is bottom right near the MultiQuote button ) and ask for it to be closed. The mod for this forum might miss your post, but will see your report.

Thanks
i guess he never closed the thread

@Doinathing , please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/text-based-combat-through-events.45151/