Level restricted items, is it possible?

● ARCHIVED · READ-ONLY
Started by Todeswalzer 7 posts View original ↗
  1. I've spent days searching for a solution to this and can't find anything that relates to it.  All i'm after quite simply is, for example: say at level 5 you find an awesome sword, but you can't equip it until you hit level 10... that's it... that's all i want, i've been smashing my head over this, it seems like such a simple mechanic used in a LOT of RPGS... any ideas how to accomplish this task? annoyingly,  i am currently extremely useless at scripting and i'm assuming that it's something that will have to be scripted.
  2. Common Events.

    Have a parallel process event that sets a variable [lv] to the player's level.

    Make a new form of weapon that no one can equip, and duplicate the weapon you want level sealed.

    In chests with level items, put the fake one that no one can equip.

    Once var[lv] reaches 10 (Conditional Branch: Game Variable [lv] =< 10), make the common event remove the dummy and add one copy of the real item.

    Make sure there's a conditional branch that says to do nothing inside of the original conditional branch so you don't add an item every nanosecond.

    Control Variables: [lv] = Player's Level

    @> [Conditional Branch: Game Variable [lv] =< 10]

       @> [Conditional Branch: Item (Real Sword) exists]

            @> Change item: [Dummy Sword] -1

            @> Change item: [Real sword] +1

        @>Else

              Branch end

     @>Else

           Branch end.

    Or something like that. It should work. Just have a new common event for each item (you don't really need to put the control variables one more than once, though).

    -Wallace
  3. a parallel process event that's always running for something like this is overkill. You KNOW your level is only going to increase at the end of a battle, so if you want to go this way, have the event conditioned by a switch, which it then turns off at the end, and turn the switch on at the start of every battle.


    Or use a script.


    In any case, this is not Game Mechanics Design - this is "how do I ..." which belongs in the support or script forums. Since you have a solution for both, I'll move it to the VX Ace Support Forum. If you don't like the solutions suggested, I'll move it to Script Requests where you can get something tailored.
  4. You can use a script. Wrote this just now, since I realized I don't have something like this

    http://himeworks.com/2014/10/custom-equip-conditions/

    Note-tag your equips with

    <custom equip condition>a.level >= 10</custom equip condition>And now those equips can only be used if the actor's level is 10 or above.Note that this script does not modify anything other than equip conditions. If you need visual mods you'll need more scripts.
  5. Absolutely perfect, thank you so much! Exactly what i needed!

    My apologies for posting in the wrong area.