note tag help

Hey guys I was wondering if its possible to add/delete notetags from actors/weapons/items etc with eventing/commong events?

I'm trying to change the characters battle graphics this way according to what weapon you're equiped with.

Ex: when using long sword I don't want it to look like you have a staff during battle xD

I haven't found anything on this

Any help would be appreciated.

Thanks in advanced!
Actors/Items/Weapons are stored in your Data/*.rvdata2 files. While it is possible to change those, changes would affect all savegames and not only the current one.

You are better off implementing a conditional branch inside the script that checks for the equipped weapon.
Actors/Items/Weapons are stored in your Data/*.rvdata2 files. While it is possible to change those, changes would affect all savegames and not only the current one.

You are better off implementing a conditional branch inside the script that checks for the equipped weapon.
the thing is though, multiple characters can equip the same weapon, how would i go about making sure the graphics are changed correctly and not to those of another character xD believe me ive tried but i hit a bump badly as this kinda kills all the work ive done so far (i just started testing battles xD)
Well, you could check for equipped weapon type AND actor id.
There is another problem with the idea of changing notetags: a lot of scripts only load them once at new game, and then check their own internal datastructures for the values.


That is because the notebox is really only a way to enter additional data.


If you change the notetag later, it will most probably have no effect on the script that reads them - because what you really need to change is the internal data storage of said script.


And that can easily changed with regular script commands after you have identified the names of the variables storing that data.


But those variables are different depending on the script...
 because what you really need to change is the internal data storage of said script.

And that can easily changed with regular script commands after you have identified the names of the variables storing that data.

But those variables are different depending on the script...
this i didnt really understand sry but it does make sense that the notetags would only act on game loading,

is there something easier that could done to change the same actors graphics?

Im using Victors Engine and somewhere i thought i had read that you can assign note tags to weapons instead of actors and that would make the graphics change but idk if i dreamt about that or it really is possible because i cant find it anywhere, only thing i found was about changing poses during battle but that doesnt change the graphic it self 

Well, you could check for equipped weapon type AND actor id.
I tried this and i could not figure it out xD could you explain a bit more?

Im trying to change the "in battle" graphics not the over world those i got down already, its while in battle thats messing up my progress 😮
Yeah, you would need scripts that would let you create a unique item for an actor/weapon combination. This means the weapon would have those particular settings only when equipped by that actor, and three different actors could all have the same weapon but with different settings. There MAY be scripts out there that already go part-way to doing this.


Anything you do to a weapon, without having such a script, would affect ALL weapons with that ID. Plus Andar's point about many scripts only reading note tags at the start of the game, so they wouldn't update if you changed the note tags mid-game.

Original thread: https://forums.rpgmakerweb.com/threads/note-tag-help.39222/