The official VisuStella notetag help thread

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,956
First Language
English
Primarily Uses
RMMV
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
41
Reaction score
16
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

Warper
Member
Joined
Oct 4, 2017
Messages
2
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
2,604
Reaction score
1,956
First Language
English
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?
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
2,604
Reaction score
1,956
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
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
52
Reaction score
14
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

Warper
Member
Joined
Oct 4, 2017
Messages
2
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,297
Reaction score
11,711
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
2,604
Reaction score
1,956
First Language
English
Primarily Uses
RMMV
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,933
Reaction score
1,325
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
2,604
Reaction score
1,956
First Language
English
Primarily Uses
RMMV
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,933
Reaction score
1,325
First Language
English
Primarily Uses
RMMV
@Trihan Random works too if that helps.
 

KotCR

Villager
Member
Joined
Oct 25, 2014
Messages
9
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,939
Reaction score
2,064
First Language
Thai
Primarily Uses
RMMV
I am ok thank you.
 
Last edited:

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,956
First Language
English
Primarily Uses
RMMV
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
111
Reaction score
74
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.
 

Users Who Are Viewing This Thread (Users: 2, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

Just finished composing a boss battle theme!
Scripted a multi-variable weather system that randomizes wind speed, cloudiness, rain, fogginess, etc, while attempting to realistically account for interactions between them (e.g. wind speed affects fogginess, cloudiness affects rain, etc), the current weather pattern, and the player's biome e.g. swamp, beach, etc. Now I "just" have to tie visuals and sounds to the variables so stuff actually happens...
I'm having a headache balancing the combat using flat defense so I'm gonna use percentual armor, in this pic, Simon has 16 on Defense which means all the incoming damage will be reduced by 16% this will ease my burden a bit.
!Have a nice day everybody¡
SO glad they patched outer worlds for switch! I can finally play it! Weird that other peeps are still having issues. I know it was really chugging on my lite when it first came out.

Forum statistics

Threads
105,554
Messages
1,014,605
Members
137,229
Latest member
Lagune
Top