Note Taging

chigoo

Void Walker
Veteran
Joined
Aug 15, 2012
Messages
136
Reaction score
18
First Language
English
Primarily Uses
RMMV
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!!!!!!

 
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,513
Reaction score
3,204
First Language
Binary
Primarily Uses
RMMZ
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.
 
Last edited by a moderator:

chigoo

Void Walker
Veteran
Joined
Aug 15, 2012
Messages
136
Reaction score
18
First Language
English
Primarily Uses
RMMV
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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?
 

chigoo

Void Walker
Veteran
Joined
Aug 15, 2012
Messages
136
Reaction score
18
First Language
English
Primarily Uses
RMMV
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.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 

chigoo

Void Walker
Veteran
Joined
Aug 15, 2012
Messages
136
Reaction score
18
First Language
English
Primarily Uses
RMMV
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.
 

Gambit

Villager
Member
Joined
Aug 26, 2012
Messages
12
Reaction score
3
Primarily Uses
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.
 

chigoo

Void Walker
Veteran
Joined
Aug 15, 2012
Messages
136
Reaction score
18
First Language
English
Primarily Uses
RMMV
Thanks a lot, also thanked you on the script's thread.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,072
Members
137,578
Latest member
JamesLightning
Top