Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Army System/War System

Okay, First off I know this can be done with events but I feel Scripts could make this far better and run smoother.

Alright, this is basicly a rock, paper, scissors style battle system, though it's not really a battle system either. for those that have played Suikoden, or the RM2k version, Legion Saga, you know well what I'm talking about, but for those that don't(and thats probably most of the scripters here) I shall do what I can do describe what it is while telling you what I'd like the script to do. Also, just to make a point get across. I DO NOT NEED THIS, I'd like it, but don't need it.

Now, The screen is basicly a field map(perferably a battle background) with two armys on either side of the screen, at the top is the names of the armys and health bars, The health bars of course simulate how many soldiers each army has left to use, if all soldiers are dead then that armys dead. simple as that.

Below the main screen(the one showing the background and armys) is a menu and a play-by-play type of area. the Menu holds the commands for your army as well as a fourth command for help and tips. the play-by-play area is merely just there for the end of each turn to state who did what(such as charge) and how many soldiers they lost from the attack.

Each turn takes place with you the player choosing one command from the menu, the commands are as follows, Charge(Sword Attack/Melee Attack), Arrow(Bow Attack/Ranged Attack) and Magic(Staff Attack/Ranged Attack). after you've choosen your command for your army the computer will randomly(unless the scripter can find a better way) picks one of the three commands for its army. then the turn begins, If both sides pick the same command, both sides attack with that command but the damage is lessened due to the fact that they used the same command, however, if say Army A uses charge and Army B uses Arrow, then Army A will charge Army B and take little to no damage where as Army B will take a ton of damage since Archers are weak against Swords.

The commands work like Rock, Paper, Scissors, Sword Beats Arrow, Arrow Beats Magic, and Magic beats Sword.

Now for the graphics, it's basicly two pictures for each, the Charge one would have the army with their swords up, then down, Archers would have the same, one picture with the bows ready the second with the bows aimed, And same with the mages.

Now for the fun stuff, I'd like the players army to be defined by a variable, since in my game you can gain more troops by doing quests and playing special mini games. the enemy army can be defined either the same way(if its easier) or another way(which ever is easier). When the one side has been defeated, then a results screen pops up saying, Victory, how many troops you have left, how many troops you defeated(up to the scripter). That of course is if you win the battle, otherwise it goes straight to the game over screen.

I hope I've made it all clear and understandable. if it isn't please let me know and I'll try to clear it up as much as possible. I hope this gets done cause I think it'd be a really interesting and cool system, if anyone has suggestions for like add-ons or such, by all means submit them.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top