MV - SRPG Engine MV - Plugins for creating Tactical Battle System

● ARCHIVED · READ-ONLY
Started by RyanBram 3313 posts Page 16 of 166 View original ↗
  1. Doktor_Q said:
    @MetalKing11417 I've seen that error before in vanilla, if no range was specified. I'll double check some things in the code, but in the meantime, can you send me a screenshot of your plugin order?
    Here
    Current Plug-in order
    rsyfG3H.png
    B9Q3xnM.png
    8aRz9Xy.png
    I replaced the old Zone of control plug-in with your Range control because range control contains Zone of control.
  2. @MetalKing11417 I just edited my previous post with a version of RangeControl that has extra debugging information- could you download that, and show me what pops up in the console after you get the infinite / NaN range issue?
  3. @Doktor_Q
    I found an easy fix to this. I am using an plugin sample project from Ryan, but replaced old plugins with your versions. Every weapon without specified min-range will have infinite.
    What I did is adding a <weaponMinRange:1> to every weapon (excluding those that I want to have for example <weaponMinRange:2> etc.) so it will limit them, making non-infinite range.
    Screenshots
    1584005639412.png

    1584005709382.png

    1584005745913.png

    1584005782216.png
    Also, would it be possible to make AoE skill make all enemies targeted in one battle scene, instead of one-by-one?
  4. @Krystek_My I don't know how I missed that. Pretty sure I can fix that in a couple minutes, thank you very much!

    And unfortunately, no. I tried that initially, but too much of the SRPG_core system is built around having a single user and a single target for each skill to make it feasible.
  5. Doktor_Q said:
    @Leon_Artmann What I'm getting from looking into this, is that somehow, the units in your game are not actually normal events. Are you creating them with a plugin or script call rather than manually in the editor, or something? It might be a conflict or side effect with another plugin, considering the sheer number of them you have installed.

    The infinite range thing is the "NaN" issue from before. I made a modified version of RangeControl that has some diagnostic messages added- can you download this, and tell me what shows up in the debug console when you run into the issue?

    @Krystek_My 's solution actually worked for me: when I put <weaponMinRange:1> in weapons that didn't have any, the enemies started moving to attack once again. I used your modificed version of RangeControl anyway, and took the following print from my console (the modified version game me a HUUUGE lag that I never had btw, don't know if that is normal. that lag would happen everytime the game showed range. with long range weapons, it was much bigger). Anyhow, I guess I have a bunch of stuff to fix? But I don't really know where to begin

    I... have got a billion errors that I never even noticed. This happened with the modified version of RangeControl, without minimum range
    1584023408752.png1584023442918.png1584023476755.png1584023491910.png

    This happens when I turn on MapBattle_Functions. Regular RangeControl, with minimum range
    1584024296335.png

    thanks again (I'll keep saying thanks in every post until my corpse becomes a tree)
  6. Thanks to @Krystek_My I was finally able to pinpoint the issue- it should be fixed now. Basically, if your skill used weapon range, and you had a weapon equipped, it would try to use the minimum range of the weapon without checking whether the weapon had a minimum range, resulting in NaN. The github version of SRPG_RangeControl should now be fixed.

    @Leon_Artmann: Based on that first set of errors in the console about DRQ_EventMotions, I made an update to that plugin to avoid errors from having nothing in the motion list- no idea if that will fix any of your other errors, but it's a thing.
  7. Doktor_Q said:
    Thanks to @Krystek_My I was finally able to pinpoint the issue- it should be fixed now. Basically, if your skill used weapon range, and you had a weapon equipped, it would try to use the minimum range of the weapon without checking whether the weapon had a minimum range, resulting in NaN. The github version of SRPG_RangeControl should now be fixed.
    Seems to work correctly now.
  8. Has the on map battle feature been released?
  9. thenerd12 said:
    Has the on map battle feature been released?

    There is not word on the official one (I imagine the opening post would be updated), but I wrote an extension that makes it work for the most part (SRPG_MapBattle).
  10. @Doktor_Q
    I have some question about srpg_core.js 1.24+q version. Attack range is not shown when I choose a character. Both Ally and Enemy are same. Is it working correctly?
  11. Doktor_Q said:
    Thanks to @Krystek_My I was finally able to pinpoint the issue- it should be fixed now. Basically, if your skill used weapon range, and you had a weapon equipped, it would try to use the minimum range of the weapon without checking whether the weapon had a minimum range, resulting in NaN. The github version of SRPG_RangeControl should now be fixed.

    @Leon_Artmann: Based on that first set of errors in the console about DRQ_EventMotions, I made an update to that plugin to avoid errors from having nothing in the motion list- no idea if that will fix any of your other errors, but it's a thing.

    everything seems fine now! It seems so easy to make really cool tactical battles now, I cannot thank you enough.

    I do have a couple of questions, cause I'm probably overlooking something: am I setting up the teleport skill wrong? I thought it was a problem with the system not recognizing cells as empty (actor does the skill but doesn't change place) but "a.swap(b)" , "a.push(b, 1);" and "a.forward(5)" are all working fine.

    Spoiler
    1584058212592.png


    another thing: I keep getting animation 52 before when this skill is used but... animation is set as None in the database? I tried using other skill slots too, but it seems to happen everytime a damage formula from the PositionEffects plugin... has this happened with anyone else?
  12. Leon_Artmann said:
    everything seems fine now! It seems so easy to make really cool tactical battles now, I cannot thank you enough.

    I do have a couple of questions, cause I'm probably overlooking something: am I setting up the teleport skill wrong? I thought it was a problem with the system not recognizing cells as empty (actor does the skill but doesn't change place) but "a.swap(b)" , "a.push(b, 1);" and "a.forward(5)" are all working fine.

    Spoiler
    View attachment 136642


    another thing: I keep getting animation 52 before when this skill is used but... animation is set as None in the database? I tried using other skill slots too, but it seems to happen everytime a damage formula from the PositionEffects plugin... has this happened with anyone else?

    It should be a.teleport("jump"), with quotes, otherwise it'll have an error and won't execute. If the skill does no damage, I prefer to put it in a yanfly skill core notetag rather than the damage formula, for nicer organization.

    The animation is most likely because you have a cast animation configured in YEP Battle Engine Core for one of your skill types.

    @ssalum Make sure everyone has an attack range defined, by a combination of the "attack" skill and the weapon's range- I'd suggest starting with the demo project in the first post, then replace the SRPG_core with my version to make sure things work. Setting up the system in a project isn't complicated, but the demo gives a lot of good examples of how to do common things like different types of attacks, cutscenes, and combat events.
  13. Doktor_Q said:
    It should be a.teleport("jump"), with quotes, otherwise it'll have an error and won't execute. If the skill does no damage, I prefer to put it in a yanfly skill core notetag rather than the damage formula, for nicer organization.

    The animation is most likely because you have a cast animation configured in YEP Battle Engine Core for one of your skill types.

    @ssalum Make sure everyone has an attack range defined, by a combination of the "attack" skill and the weapon's range- I'd suggest starting with the demo project in the first post, then replace the SRPG_core with my version to make sure things work. Setting up the system in a project isn't complicated, but the demo gives a lot of good examples of how to do common things like different types of attacks, cutscenes, and combat events.

    Oh! I find my problem! I makes srpgBestSerchRouteSize is '0', so attack range is not exeressed. Thanks for your works!
  14. @Doktor_Q
    I have another problem about AOE.
    aoe_problem1.png
    That enemy is in AOE, but out of skill range. In this case,
    aoe_problem2.png
    I can't use skill.
    I think if object in AOE, skill can be used, even if out of skill range. Or, Have I some mistake?
  15. @ssalum That should be the case, yes- I'll look into it to make sure, I might need to make a quick fix, as I normally set the preview mode to 3 (skip confirmation, just use the skill directly), which doesn't have that issue.
  16. Doktor_Q said:
    There is not word on the official one (I imagine the opening post would be updated), but I wrote an extension that makes it work for the most part (SRPG_MapBattle).
    Thank you
  17. Doktor_Q said:
    It should be a.teleport("jump"), with quotes, otherwise it'll have an error and won't execute. If the skill does no damage, I prefer to put it in a yanfly skill core notetag rather than the damage formula, for nicer organization.

    The animation is most likely because you have a cast animation configured in YEP Battle Engine Core for one of your skill types.


    thanks! and sorry for asking silly stuff. Just to let you know, the "jump" skill still didn't work, even with quotes, in the damage formula. as a lunatic notetag, it did :)


    EDIT: dang, I'll have to ask another silly question: am I setting up DirectionalAnimation wrong? I keep getting no animation in this one, for example (I've also tried with spaces: <directionalAnimation: 290> ,etc):

    Spoiler
    1584096745918.png
  18. @Doktor_Q
    Is it possible to add LoS to weapons, for ex. Bow weapon have LoS, so basic attack will have LoS?
  19. Krystek_My said:
    @Doktor_Q
    Is it possible to add LoS to weapons, for ex. Bow weapon have LoS, so basic attack will have LoS?
    yes! It's working with me.
  20. @Doktor_Q If I want to use teleport skill, that damages nearby enemies, is it bossible to teleport before mini-battle scene started?
    I was trying <before eval> from YEP_Skill core, but it isn't working (user is teleporting, but after battle scene).

    Also
    Doktor_Q said:
    Not without plugins, and I'm not familiar with one that already does it off the top of my head.
    In the example I gave you make a "fake" death state that grants the character immunity to actual death, which works, so I think the next best option would be to change you game over condition from "is # of alive actors 0" to something like "do all actors in battle have the psuedo-death state?" One of the advantages of SRPG_Core is that you make your own win/loss/etc concepts via eventing, and end the battle when you choose.
    I have a question, how to add that state? Is there any code that would check if someone in the party was killed add pseudo-death state that resist true Death State.
    Code:
    if ($gameParty.members().some(function(a){return a.isStateAffected(1)})) {|a| a.add_state(15)} else {}
    I found this code, but it isn't working.