Announcement

Collapse
No announcement yet.

Tactics style CBS for RPGM2

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Tactics style CBS for RPGM2

    Im trying to make a Final Fanatsy Tactics kind of battle system.

    So far I have most of it worked out but It would be really hard to do without extensive scripting for each square on the dungeon. If I want to have height advantages then there is even more scripting.

    My question is, is there any generic script that I could apply to each dungeon, because I'm gonna have to script everything again for each dungeon and combination of enemies.

    The way it will work is, when you select your charcter you get the menu, Move, Attack, Item, etc. When you click move I have scripted it so that the party leader becomes an all white model of the character, to act as the movement cursor. When you select where to move, the character then walks to the space. I haven't worked out the Attack and health system yet, but that shouldn't be too hard.
    tamoki

    #2
    Re: Tactics style CBS for RPGM2

    This topic comes up often.

    From what I have read the reason nobody made on yet is exactly what you hit on. You must script conditions for every square and every direction facing within each square.

    Big work.

    If you are up to it, you can become legend for being first!

    Otherwise, well... Good Luck finding shortcuts!

    Peace.

    MOO!




    Comment


      #3
      Re: Tactics style CBS for RPGM2

      lol, tamoki no become legend, lol.

      I will try this Tactics CBS but maybe keep it limited to only important battles, almost like a mini-game. Just scripting one map will be a major production.

      Making a Tactics CBS would be a lot easier on RPGM1 IMO.

      I might make a seperate topic about my game.
      tamoki

      Comment


        #4
        Re: Tactics style CBS for RPGM2

        Making a Tactics CBS would be a lot easier on RPGM1 IMO.
        No it wouldn't.
        "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

        Comment


          #5
          Re: Tactics style CBS for RPGM2

          What you might look into trying is to store sort of a "height map" for your board using variables. Limit your height from 0-9, and then you can store around 10 squares per variable, by picking off each digit of the variable, so if you have a 10x10 row each variable will represent a row. Now of course there are only 800 usable variables, so you won't be able to have too many boards and they can't be huge (considering you will need variables for other things too). So this should work for getting the height, you'll just need the X,Z coordinates of the particular person to query the variables. (If you need help with the math on picking of the variables I'll post it later). Too bad RPG maker doesn't support arrays, but then again it's not programming so. Another option here is to make the board random (storing the height numbers in "temp variables") and only actually store a couple of important story boards. Of course pure randomness can lead to impossible battles if people get stuck etc so you'll have to watch out for that.

          Another option would be to make all the enemies and characters be events and then every time they start an action query their Event: Y variable to get their current height and the one of the person they are attacking. Of course this won't allow people to jump to heights they can't reach, so it does have limitations.

          As for the scripting you can either have one enemy script, and then have variables representing each enemies strength and such (even using the digit packing teachnique like for the height map), and some way to know which type or enemy so you can use sort statements in events for attack and such, or you can just make one script for each type of enemy. Then you can just duplicate these events in the battle to different locations depending on what the map has stored (or to save space just make the positions random).

          Now none of this is going to be easy, and I would suggest looking into duplicate events for this kind of stuff, as they can really help keep memory usage to a minimum while allowing a lot of things to be on the screen. As for the rest of it, good luck you're going to need it. At some point I'm going to try to work on creating a turn based strategy game, ala Advance Wars/Super Conflict, so if I ever finish that I'll let you know what I did. My advice right now is to keep your game small so you don't run out of space, or at least the different types of battles.
          Last edited by thetruecoolness; 06-12-2006, 03:12 PM.
          はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
          http://www.thetruecoolness.com/

          5198-2124-7210 Smash

          Comment


            #6
            Re: Tactics style CBS for RPGM2

            A tactical CBS for the RPGM2... many have tried, but all have failed. You sound like the closest to succeeding this, IMO. I wish you the best of luck. If you complete it, you get a cookie.
            I had to change accounts. I'm here now - http://www.pavilionboards.com/forum/member.php?u=1475

            Comment


              #7
              Re: Tactics style CBS for RPGM2

              What you might look into trying is to store sort of a "height map" for your board using variables. Limit your height from 0-9, and then you can store around 10 squares per variable, by picking off each digit of the variable, so if you have a 10x10 row each variable will represent a row. Now of course there are only 800 usable variables, so you won't be able to have too many boards and they can't be huge (considering you will need variables for other things too). So this should work for getting the height, you'll just need the X,Z coordinates of the particular person to query the variables. (If you need help with the math on picking of the variables I'll post it later). Too bad RPG maker doesn't support arrays, but then again it's not programming so. Another option here is to make the board random (storing the height numbers in "temp variables") and only actually store a couple of important story boards. Of course pure randomness can lead to impossible battles if people get stuck etc so you'll have to watch out for that.
              No no no no, instead, have each level represent a number, and when you enter a battle, make variable:arena = some number, call a script which then sets the height to those two or so variables. It's like calling a level .
              I have no idea why I didn't think of that when I was trying a TBS.... The farthest I got was 10 participants (5 good, 5 bad), a working grid system, and pathetic AI. No height detection or obstruction limiting movement .
              I love lamp.

              Comment


                #8
                Re: Tactics style CBS for RPGM2

                God, who hasn't tried a TBS? I would like to see a sucsessful one.

                Comment


                  #9
                  Re: Tactics style CBS for RPGM2

                  Yeah, I almost tried to do one. But when I started to work on it I said never mind. It looked like a job I wasn't up for. But it sounds like you have it good. So go finish and release a game for us to all see your legendary skill.
                  I was like a Cloud once!!!!

                  Comment


                    #10
                    Re: Tactics style CBS for RPGM2

                    Originally posted by Doyleman
                    No no no no, instead, have each level represent a number, and when you enter a battle, make variable:arena = some number, call a script which then sets the height to those two or so variables. It's like calling a level .
                    I have no idea why I didn't think of that when I was trying a TBS.... The farthest I got was 10 participants (5 good, 5 bad), a working grid system, and pathetic AI. No height detection or obstruction limiting movement .
                    Yeah that would work much better and put a lot less limitation in terms of board size and number of boards. Just kind of slipped my mind to set all the variables up in a script.
                    Last edited by thetruecoolness; 06-14-2006, 12:04 AM.
                    はじめまして。真(しん)の冷静(れいせい)です。どうぞよろしく。
                    http://www.thetruecoolness.com/

                    5198-2124-7210 Smash

                    Comment

                    Working...
                    X