The official VisuStella notetag help thread

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,197
Reaction score
3,467
First Language
English
Primarily Uses
RMMZ
It's come to my attention that a fair number of people are having issues getting their heads around the new JS injection parameters and notetags present in VisuStella's core plugins, and therefore they're struggling to achieve the effects they want. This will be especially true of people who were used to using YEP's hardcoded notetags for various effects, which are no longer present.

So in comes this thread! If you can't figure out how to make something you want work with the VS library, let me know what it is and I'll do what I can to give you the code you need to achieve it! Similarly to my lunatic notetag thread for MV.
 

chocopanda

Veteran
Veteran
Joined
Sep 24, 2017
Messages
46
Reaction score
17
First Language
English
Primarily Uses
RMMV
This will definitely a huge help especially for non-scripter like me..
 

winkr7

Veteran
Veteran
Joined
Oct 27, 2015
Messages
99
Reaction score
31
First Language
english
Primarily Uses
N/A
Great. I gave my actor a skill, Move Forward which is supposed to change his home position on the battle field. So if they use the skill over and over the battler will move from the right of the screen to the left closer to the enemy. How do I do this? I keep fooling with the <JS note tags. Is it user.setHome or target.setHome and which JS notetag is best (it prolly depends on my action sequence at the very end it needs a new Home location to return to with _homeX = _homeX-64
 

muge

Villager
Member
Joined
Oct 4, 2017
Messages
9
Reaction score
0
First Language
english
Primarily Uses
RMMV
Great! I have a qusetion
Lunatic Mode
MV is "user" or "target".startAnimation(id); ,But I can’t find a way to play animation in MZ
 

Myrmecodromo

The place where ants go.
Member
Joined
Aug 11, 2020
Messages
21
Reaction score
8
First Language
Español
Primarily Uses
RMMV
Great!, I really need help into this. I just installed messagecore and I was trying to do whatever. But now every text box when I try it crashes and says "C[6]PREVCOLOR[0]CC[PREVCOLOR][0]" and so on.
There's something i'm missing?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,197
Reaction score
3,467
First Language
English
Primarily Uses
RMMZ
Great!, I really need help into this. I just installed messagecore and I was trying to do whatever. But now every text box when I try it crashes and says "C[6]PREVCOLOR[0]CC[PREVCOLOR][0]" and so on.
There's something i'm missing?

Last time I saw this, it was because someone had deleted actors from the actor tab but they were still in the initial party in the database. I know at least one report was submitted for it, but can you check that for me first?

Great. I gave my actor a skill, Move Forward which is supposed to change his home position on the battle field. So if they use the skill over and over the battler will move from the right of the screen to the left closer to the enemy. How do I do this? I keep fooling with the <JS note tags. Is it user.setHome or target.setHome and which JS notetag is best (it prolly depends on my action sequence at the very end it needs a new Home location to return to with _homeX = _homeX-64

It would depend on where in the action sequence you do it. Personally I would try

Code:
<JS Post-Apply>
  user.setHome(user._homeX - 64, user._homeY);
</JS Post-Apply>
 

Myrmecodromo

The place where ants go.
Member
Joined
Aug 11, 2020
Messages
21
Reaction score
8
First Language
Español
Primarily Uses
RMMV
Last time I saw this, it was because someone had deleted actors from the actor tab but they were still in the initial party in the database. I know at least one report was submitted for it, but can you check that for me first?

And... The problem is gone!, yep, that was it. Thank you very much for the support. If anything else happens, I'll be making more questions. Again, thanks a lot!
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,197
Reaction score
3,467
First Language
English
Primarily Uses
RMMZ
Great! I have a qusetion
Lunatic Mode
MV is "user" or "target".startAnimation(id); ,But I can’t find a way to play animation in MZ

MZ changed the way animations work. Objects no longer request animations themselves; it's handled by $gameTemp.requestAnimation.
 

winkr7

Veteran
Veteran
Joined
Oct 27, 2015
Messages
99
Reaction score
31
First Language
english
Primarily Uses
N/A
Thanks Trihan. I appreciate your help.
JS post-apply doesn't seem to execute so I put it in JS Post-Start Action and got this error.


Move Forward Skill JS Post-Start Action
VM712:42 TypeError: user.setHome is not a function
at Game_Action.eval (eval at VisuMZ.<computed>.<computed> (VisuMZ_1_BattleCore.js:1), <anonymous>:37:8)



thanks again for your help
 

Obipandawan

Veteran
Veteran
Joined
Jul 27, 2020
Messages
54
Reaction score
16
First Language
English
Primarily Uses
RMMV
i was able to figure it out with the MV yanfly stuff, but MZ i cannot seem to find where i can turn off putting the gauge back color onto all the item pages, it puts the gauge back color on all the data bars. even when i just change the gauge back color it still always look way off it has some kind of opacity setting to it that makes it way brighter then i need it to be.
 

muge

Villager
Member
Joined
Oct 4, 2017
Messages
9
Reaction score
0
First Language
english
Primarily Uses
RMMV
MZ changed the way animations work. Objects no longer request animations themselves; it's handled by $gameTemp.requestAnimation.
Thanks Trihan
But I try to use this.requestAnimation(user, 99, false); it shows error "not a function" in battle
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,510
Reaction score
12,013
First Language
English
Primarily Uses
RMVXA
Is it possible using a notetag in the States plugin to set a particular state animation so that it keeps running until the state is removed, rather than just once? An example would be the zzz's animation for sleep, or the spinning stars for confusion. In Ace this required a separate script (Yanfly's State Animations), but I was wondering if it has been incorporated into the main States plugin.
Thanks
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,197
Reaction score
3,467
First Language
English
Primarily Uses
RMMZ
Thanks Trihan
But I try to use this.requestAnimation(user, 99, false); it shows error "not a function" in battle

Don't use this, use $gameTemp.

Kes, I'll check that one out, I'm not 100% sure off-hand.
 
  • Like
Reactions: Kes

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,333
First Language
English
Primarily Uses
RMMV
Hello! I want to do two things that I'm having a bit of difficulty figuring out. So for one when a state is removed I want to add a formula that will damage the target that removed the state using this notetag:

<JS On Erase State>
code
code
</JS On Erase State>

Then for another formula that adds another state when it expires using this notetag:

<JS On Expire State>
code
code
</JS On Expire State>

How do I go about this?
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,197
Reaction score
3,467
First Language
English
Primarily Uses
RMMZ
Hmm. That might be a tough one to crack, since I don't *think* there's a reference to who used a skill/item that removed a particular state at the point where that notetag runs, but I'll have a look into it for you.
 

Uzuki

Kawaii on the streets, Senpai in the sheets
Veteran
Joined
Aug 18, 2012
Messages
1,942
Reaction score
1,333
First Language
English
Primarily Uses
RMMV
@Trihan Random works too if that helps.
 

KotCR

Villager
Member
Joined
Oct 25, 2014
Messages
13
Reaction score
1
First Language
English
Primarily Uses
When using the ItemEquipsCore, is there any way to change Equipment Options for a character at run-time?

Looking at the wiki page for it yanfly.moe, it appears the equipment set-ups of each class can only be edited through the notetags on the class page in the database? Is there any undocumented notetags (or ones I simply missed) we can use on something else (like a piece of equipment or a state), to change these actively during gameplay?
 

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,957
Reaction score
2,109
First Language
Thai
Primarily Uses
RMMV
I am ok thank you.
 
Last edited:

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
4,197
Reaction score
3,467
First Language
English
Primarily Uses
RMMZ
Hey all, I am getting to the new posts, just been quite busy the past couple of days. <3
 

Cyberhawk

Bravelion Leader
Veteran
Joined
Jan 9, 2019
Messages
145
Reaction score
103
First Language
English
Primarily Uses
RMMZ
Man, I'm still trying to grip at the Slip dmg and Slip heal state tags.
Dont have access to it atm but like it's not as stream lined as it was in MV lol.
 

Latest Threads

Latest Posts

Latest Profile Posts

I think it's by time I make use of this feature in the forums. I'm never one to share profile updates or anything the sort, but hey, you gotta start somewhere! I think I'll use this place primarily to post maps actually, so here, have a goblin cave!

PqleoRp.png

Inspired largely by Wynncraft's Aseado Leaf cave
Does anyone know if Yanfly's Ace scripts are still free for use in both commercial and noncommercial projects? Can't find much except for the wordpress Terms of Use, but not sure if it's not outdated.
I just realized two of My series are beginning to look virtually identical to one another in mechanics and general themes, I never had this problem before.

This is Stifling! Must resolve this!
Lord's Reincarnation III (LR3) MOBILE is coming!!!
iu_534706_7630675.png
ScreenShot_1_20_2022_2_19_41.png
Juice FX is amazing... the portal in the middle is actually animated and moves thanks to Juice FX. so I edited part of a map I have and then drew the portal around it. threw it into Juice FX and now it's lively instead of static.

Forum statistics

Threads
118,711
Messages
1,118,100
Members
155,850
Latest member
jokl00
Top