Announcement

Collapse
No announcement yet.

Battle script Help

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

    Battle script Help

    I'm working on a semi custom battle system. I am using all event battles for random battles, but I just found out that my party cannot escape from any of them. I'm not too familar with the battle system for Rpgm2. What can I do to solve this problem? Or is this way out of my scripting skills?

    Second I'm having trouble making an item to cure the curse status effect. I've been able to make items for curing poison by copying it, but I can follow how to do that for the item that removes the curse status effect.

    Thanks for any help you can give me.

    #2
    Re: Battle script Help

    first i'd like to know what you mean "semi custom".

    Is it going to be just events with different models for the enemies (and events as the party members as well)? and are the battles going to happen in a different map - specialized for the battle? or directly where the party is when they encountered it?

    2nd-i have honestly no idea. i think its somewhere in the Data section, and put something along the lines of:
    Data: Target Data: Condition Status Remove [Curse]

    or something. I dont have RPGM2 booted right now, so you'll have to forgive my guessing.


    **edit**
    oops, you said curse. fixed.
    Last edited by Doyleman; 07-23-2009, 12:34 PM.
    I love lamp.

    Comment


      #3
      Re: Battle script Help

      Originally posted by Whataface2 View Post
      I'm working on a semi custom battle system. I am using all event battles for random battles, but I just found out that my party cannot escape from any of them. I'm not too familar with the battle system for Rpgm2. What can I do to solve this problem? Or is this way out of my scripting skills?

      Second I'm having trouble making an item to cure the curse status effect. I've been able to make items for curing poison by copying it, but I can follow how to do that for the item that removes the curse status effect.

      Thanks for any help you can give me.
      I haven't created scripts for either of these - but i'll give you some rough suggestions and if those don't help you fix the problem i'll work on a script directly for you and see what i can come up with.

      It seems to me your problem might be due to certain flags. Flag number 092: [No Flee] may be turned ON in your event battle, so make sure that flag isn't ON. That could be preventing you from escaping.

      And I am guessing when you say Curse you are talking about the ingame condition that prevents you from unequipping an item once it's equipped?

      There is an ingame direct effect that already does this for you if that's the case. Go to the Direct Effect Database and look at number 66 [Cure Curse]. That should give you all the information you need to make an item that cures curse. So there is no need to copy the [Cure Poison] effect, which is a condition status, and completely different than Curse.

      From what i see all Curse does is turn on flag 134[Member NoRemove] for any member who puts on an item you neglected to allow them to remove in the Item Editor. So all the direct effect does is physically remove the item despite the Flag and initial settings. It's not a status effect, or even an indirect effect really. Just a preference you set up on the Item Editor you can trump with a direct effect.
      Last edited by Jeremy; 07-23-2009, 01:04 PM.

      Comment


        #4
        Re: Battle script Help

        Originally posted by Doyleman View Post
        first i'd like to know what you mean "semi custom".

        Is it going to be just events with different models for the enemies (and events as the party members as well)? and are the battles going to happen in a different map - specialized for the battle? or directly where the party is when they encountered it?
        Well I have events that walk around dungeons and the world map. When the party touches them the default battle system takes over. But I'm working on new abilities in the system. Still trying figure out how to work with the scripts, so I'm hoping to make some small changes to the system.

        From what I understand by using the event battle causes the No Flee flag to get turned on. How would I stop that from happening? Am I missing a script that runs event battles?

        Comment


          #5
          Re: Battle script Help

          Originally posted by Whataface2 View Post
          Well I have events that walk around dungeons and the world map. When the party touches them the default battle system takes over. But I'm working on new abilities in the system. Still trying figure out how to work with the scripts, so I'm hoping to make some small changes to the system.

          From what I understand by using the event battle causes the No Flee flag to get turned on. How would I stop that from happening? Am I missing a script that runs event battles?
          I am not sure to be honest, have you tried to turn the flag OFF manually?

          Perhaps you could toss an indirect effect on your party member and turn the Flag OFF from the Turn Start slot?

          It's a flag you can turn on and off using the Data command i am pretty sure, so i would think you could simply overide the system and manually turn it off, but this is just guess work.

          Did my comments about how to fix your problem with Curse help any?

          Also that's not a bad idea you are doing with using events to trigger battles rather than using the Unit Placement method. It gives you a lot more freedom when placing monsters, and i've considered doing it from time to time.

          Comment


            #6
            Re: Battle script Help

            I found the script and the flag to get the battle system to work. Thanks everyone.

            Jeremy - yes you very much.

            Comment

            Working...
            X