Need Help With Item Categories

Discussion in 'RPG Maker VX Ace' started by BuzzGaming57, Jan 7, 2019.

Thread Status:
Not open for further replies.
  1. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    So I'm currently trying to make it so I have four item categories in my game.

    "Evidence", "Profile", "Gifts" and "Notes"

    I managed to edit the Normal Item slot and Key Item to be the first two listed above, but I'm having trouble changing it so armor and weapons change into gifts and notes. I created a common event so when you select Evidence or Profile it pulls an image, but when I try to do that with armor and weapons the option to select it is blanked out so it won't work of course. All I want is somebody to refer me to a plugin in or tell me how to create two addition item categories that work exactly like key items or items. I don't have any coding experience whatsoever so please tell in simplest terms of how to do this.

    [​IMG]

    [​IMG]
     
    #1
  2. A-Moonless-Night

    A-Moonless-Night WINTER IS COMING Veteran

    Messages:
    499
    Likes Received:
    356
    Location:
    New Zealand
    First Language:
    English
    Primarily Uses:
    RMVXA
    Is this for VX or VX Ace?
     
    #2
  3. Andar

    Andar Veteran Veteran

    Messages:
    28,611
    Likes Received:
    6,568
    Location:
    Germany
    First Language:
    German
    Primarily Uses:
    RMMV
    only MV has plugins - VX and VXA have scripts.
    So you have a lot of things mixed up because you posted this in VX.
    Please state what maker you're using, preferably set it on your profile (where it currently says "other".
     
    #3
  4. Bex

    Bex Veteran Veteran

    Messages:
    1,265
    Likes Received:
    299
    First Language:
    German
    Primarily Uses:
    RMMV
    #4
  5. Shaz

    Shaz Veteran Veteran

    Messages:
    37,794
    Likes Received:
    11,502
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    Weapons and armors are not items, so don't have item categories and can't be set as key items.

    Do you have battles in your game? Do you use the armor and weapons as armor and weapons? If not, just make them items with the appropriate categories.
     
    #5
  6. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    There are no battles, it’s a horror game esc. project. I did try to make the armour and weapon slots act as the normal item slot, but for some reason I’m not able to select them when I’m play testing. I’m looking for a work around or a way to make new item categories. EDITED: I also need to have all four item categories, so I can’t just merge the four into 2 or something. And I’ll post in the right area next time.
     
    Last edited: Jan 7, 2019
    #6
  7. Shaz

    Shaz Veteran Veteran

    Messages:
    37,794
    Likes Received:
    11,502
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    RMMV
    mmm ... I think I misunderstood. Did you change the labels from Armor/Weapons to Gifts/Notes, and set up your items as Armors and Weapons, and you can't select them?

    You may need a script, as you can't select armors and weapons from the menu in that way. Try Yanfly's script linked above and see how it goes.
     
    #7
  8. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    Okay thanks I’ll try it out later and see if it works or not.
     
    #8
  9. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,926
    Likes Received:
    10,640
    First Language:
    English
    Primarily Uses:
    RMVXA
    @BuzzGaming57 You have been asked to clarify exactly which engine you are using, and ideally also put that info under your avatar. Please post to answer this specific question, because the suggestions you receive are engine-dependent and people are potentially wasting their time if they give info for the wrong engine. If you really are using VX, then some VX Ace solutions won't work.
     
    #9
  10. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    I'll make sure to post it under the right section next time, it was just a mistake. This is my first post after all. I probably will never post again anyway unless another problem comes up, but thanks for the help.
     
    Last edited: Jan 8, 2019
    #10
  11. Kes

    Kes Global Moderators Global Mod

    Messages:
    20,926
    Likes Received:
    10,640
    First Language:
    English
    Primarily Uses:
    RMVXA
    As it's VX Ace, I shall have to move it from here to the correct forum. More people look at Ace queries than VX ones, so you may get more suggestions once that's done.

    Moving this.

     
    #11
  12. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    How do you add custom items into your inventory using yanfly's script?
     
    Last edited: Jan 8, 2019
    #12
  13. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    Can somebody please tell me what I'm doing wrong, I followed all the instructions and now I'm just categorizing the items.

    [​IMG]
     
    #13
  14. A-Moonless-Night

    A-Moonless-Night WINTER IS COMING Veteran

    Messages:
    499
    Likes Received:
    356
    Location:
    New Zealand
    First Language:
    English
    Primarily Uses:
    RMVXA
    If you're wanting custom categories, you could probably use this:
    https://www.rpgmakercentral.com/topic/661-vxa-categorize-item-scene/

    I'm not sure what script call that is you're using above (looks like it should be a comment or in a notetag), but any time you're using numbers in a script, remove the leading zeroes, e.g.
    Code:
    $data_items[1]  #NOT  $data_items[001]
     
    #14
  15. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    I tried both ways but it won't work with either of them. I also can't use other scripts because it won't work with the current one I'm using.

    YanFly's Custom Item Menu VX Ace
     
    Last edited: Jan 8, 2019
    #15
  16. A-Moonless-Night

    A-Moonless-Night WINTER IS COMING Veteran

    Messages:
    499
    Likes Received:
    356
    Location:
    New Zealand
    First Language:
    English
    Primarily Uses:
    RMVXA
    If you're using Yanfly's Item Menu, then you need to use this in the item's notebox:
    Code:
    <category: string>
    where string is the name of the item category that you set up here:
    Code:
    ITEM_TYPES =[
        # [  :symbol,   "Display"],
          [   :field,     "Field"], # Shows Menu-usable items.
          [  :battle,    "Battle"], # Shows Battle-usable items.
          [:category,   "Special"], # Categorized by <category: string>
          [:category,"Ingredient"], # Categorized by <category: string>
          [:key_item,  "Key Item"], # Shows all key items.
          [     :all,       "All"], # Shows all usable items.
        ] # Do not remove this.
    That's in the set up portion of Yanfly's script.

    The notebox is found in the database: open it, select Items, select the item you want and it's the box in the bottom right-hand corner that reads Note.

    I believe something like this could work for you, but I haven't tested anything:
    Code:
    ITEM_TYPES =[
        # [  :symbol,   "Display"],
          [   :category,     "Evidence"], # Categorized by <category: string>
          [:category,   "Profile"], # Categorized by <category: string>
          [:category,"Gifts"], # Categorized by <category: string>
          [:category,  "Notes"], # Categorized by <category: string>
        ] # Do not remove this.
    For Evidence, your notetag should be:
    Code:
    <category: evidence>
     
    #16
  17. BuzzGaming57

    BuzzGaming57 Big Chungus - Featuring Dante from Devil May Cry. Member

    Messages:
    23
    Likes Received:
    1
    Location:
    ur mom
    First Language:
    English
    Primarily Uses:
    RMVXA
    Thank you, I finally got it working after 12 hours. The Notebox is what was confusing me, I thought it was something in the script. So the problem was solved.
     
    #17
  18. slimmmeiske2

    slimmmeiske2 Little Red Riding Hood Moderator

    Messages:
    5,640
    Likes Received:
    4,146
    Location:
    Belgium
    First Language:
    Dutch
    Primarily Uses:
    RMXP

    This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

     
    #18
Thread Status:
Not open for further replies.

Share This Page