Note Taging

● ARCHIVED · READ-ONLY
Started by chigoo 9 posts View original ↗
  1. Hello I'm looking for a script that will basically add notes to the bottom of a large list if armors,weapons, and items.

    So for example lets say I have 1000 weapons in my game, and I want to add a note tag (the note tag will be the same in this example) to all of them.

    "<IQC common>"   <<<we will be using this note tag for example

     

    Regularly I would have to do it one by one which would take a very long time.

     

    So what the script would do is shorten that time by adding the note you want to the end of the note section of the selected item(w,A,I) IDs.

    here's how the set up might look

     

    note: "<IQC common>"

    location: W1,w2,w3,w4,a1,a2,a3,i1,i2,i3  

     

    this first example would add the note <IQC common>

    to the end line of the note section of weapons IDs 1-4, amors 1-3, and items 1-3

     

    or

     

    note: "<IQC common>"

    location: w1-w100

     

    this second example would basically just add the note tag to the end line of the note section of weapons 1-100

     

    what do I mean by the end line of the note section?

    well that means in the note section if there are any other notes the script would add the new note to the bottom of the last note

     

    so:

     

    test note

    <product>

    <IQC common>

    <<<The script would add the new note here.

     

    Thank you in advance!!!!!!

     
  2. First, I have to say. I think what you are asking for is ridiculous. why did you not plan for such a thing when making so many items in your database ?

    Why arent you using some kind of script that reads notetags from a txt document?

    Anyway, you can easily do what you want by doing something along the lines of... 

    $data_weapons.compact.each {|w| w.note += "<IQC common>   \r\n" if [1,2,3].include?(w.id) }$data_armors.compact.each {|w| w.note += "<IQC common>   \r\n" }$data_items.compact.each {|w| w.note += "<IQC common>   \r\n" }use this script call only ONE time or it will keep adding to the note.
  3. Dekita said:
    First, I have to say. I think what you are asking for is ridiculous. why did you not plan for such a thing when making so many items in your database ?

    Why arent you using some kind of script that reads notetags from a txt document?

    Anyway, you can easily do what you want by doing something along the lines of... 

    $data_weapons.compact.each {|w| w.note += "<IQC common>   \r\n" if [1,2,3].include?(w.id) }$data_armors.compact.each {|w| w.note += "<IQC common>   \r\n" }$data_items.compact.each {|w| w.note += "<IQC common>   \r\n" }use this script call only ONE time or it will keep adding to the note.
    Wow thanks dude I'll try it out. Also I did but I added new scripts/ will be adding new script that might require me to add additional note tags to items.
  4. That is not going to save it though. You want to update your notes so you can then see them in the database, don't you?
  5. Shaz said:
    That is not going to save it though. You want to update your notes so you can then see them in the database, don't you?
    I guess I tried it, and it didn't work.
  6. I know - that's why I said it's not going to save it. You would have to supply the list and run the script each time the game was launched.


    What I'm asking is if you want something that's actually going to update your database so when you open the game in the editor you'll see the new lines.
  7. Shaz said:
    I know - that's why I said it's not going to save it. You would have to supply the list and run the script each time the game was launched.

    What I'm asking is if you want something that's actually going to update your database so when you open the game in the editor you'll see the new lines.
    yes, that's exactly what I wanted , I guess I should have stated that.
  8. I wrote up a script for this. Here's the link: http://www.rpgmakervxace.net/topic/24324-gambit-notetagger/

    It currently only supports ranges (so you can tag weapons 1-30 or maps 20-25). I figure that if you are going to specify each individual item type and ID, you may as well copy/paste the tags in for individual items.

    It's pretty simple to use. Just follow the example in the setup area. Make sure to set Enabled = true when you want to use it and remember to close and reopen the project after you run the script to update the tags in the editor.
  9. Thanks a lot, also thanked you on the script's thread.