Announcement

Collapse
No announcement yet.

cbs scripting/design help

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

    cbs scripting/design help

    i would like to create a custom battle system. my question is, how do you/can you assign hp amounts to an event?

    my enemies will be character models and i would like to give them hp totals, strength, defense totals, etc. how would i go about doing that?

    #2
    Re: cbs scripting/design help

    Use the normal/battle variables from dummy characters.
    Last edited by Crimson Knight; 12-12-2005, 05:50 PM.
    Quote of the moment - "When you cut down a tree, don't stand near it."

    Comment


      #3
      Re: cbs scripting/design help

      thank you. that makes it easier knowing i can just use some pre-assigned variables, but..

      my problem comes with actual script creation. i don't know which order to place script commands in. would i use event info load and then variable commands after that? what about the stat check flag?

      i did read dungeon warden's faq on gamefaqs, and i can tell how helpful it is already, but, could your or anyone give me a sample script? or at least tell me the order in which rpg maker 2 reads the script commands so that they can work properly..

      Comment


        #4
        Re: cbs scripting/design help

        It's not that hard. You treat monsters as you would characters when you load their info. Here's a small sample script(registering a monster in a CBS) to get you started:

        -Variable:"Member Number" = 9(or whatever number you use for dummy characters)
        -Variable:"Normal Variabl0" = 100(for example's sake, this variable will be your monster's HP)
        -Member Info Save

        *there's no need to load since you're setting their default stats for the battle

        And that's it. Also, you'll want to be very careful when you check stats with multiple characters, as you could screw up your formulas.
        Quote of the moment - "When you cut down a tree, don't stand near it."

        Comment


          #5
          Re: cbs scripting/design help

          i would like for my cbs to be turn-based too..started on hard mode, i plan on registering everything myself and starting completely from scratch. another question is..

          how can i set-up the system to check for agility numbers to see who goes first? what would the script look like?

          -check who goes first
          -variables to check for

          would it be something like that?

          Comment


            #6
            Re: cbs scripting/design help

            You would use Member Info: Load. Then put the agility in a temp variable. Lather, Rinse, Repeat. Or maybe you wouldn't lather and rinse... Anyway, then just use Script Branch: Condition to see which variable is the highest. I'm probably making no sense, sorry.
            .

            Comment


              #7
              Re: cbs scripting/design help

              no, believe me, it helps.. thank you. i've got how i want my battle system to work in my head, i just don't know how to set up scripts properly..

              would i use battle flow 1 or 2 in advanced settings to initiate the battle process, or could i make my own auto event for fighting?

              Comment

              Working...
              X