hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
34
Reaction score
4
Primarily Uses
Code:
<Counter Name: text>
  This changes the displayed name of the skill when used as a counter skill
  to 'text'.

I'm trying to make it so when a unit counters the skill has the prefix counter + skill name. Or anything along those lines. I've been reading the documentation and can't get the counter skill to have the skill change it's text. Below is my counter criteria along with my plugin order.
Thanks,
hobo

Code:
<Counter Name: text>

 <Counter Condition>

Magical Hit

  </Counter Condition>
1634429621366.png
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
44,102
Reaction score
15,524
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Thank you.

 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,746
Reaction score
1,611
First Language
English
Primarily Uses
RMMV
I'm trying to make it so when a unit counters the skill has the prefix counter + skill name. Or anything along those lines. I've been reading the documentation and can't get the counter skill to have the skill change it's text.
(I took the liberty of un-bolding you for readability :wink: )
So, you can't do this. The Counter Name tag changes the skill name to whatever you type in as the "text" portion. That can't evaluate JavaScript commands, which means you have no way to make the text be different things at different times.

The only way I can think of to do this would be to actually make a counter skill for every attacking skill with the appropriate name, and use a huge Custom Counter Skills list on the actor/state/whatever to call the appropriate counter skill depending on the incoming attack.

Or, of course, write/commission someone to write a plugin extension that adds a Custom Counter Name tag that can evaluate JS and dynamically change the name.
 

hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
34
Reaction score
4
Primarily Uses
Thanks for the reply.
To clarify I just want the player to know that the enemy is countering there attack.
To do this I want to manually change the skill name to have prefix 'counter' on it.
Is that not possible?

Code:
<Counter Name: text>
Does this not change the name of the skill when it's triggered by a counter?
Because in my case, this command doesn't work or change the text at all.
If I have a move called 'water'
I want to do
Code:
<Counter Name: 'Water: Counter'>
when triggered by a counter, the skill name doesn't change.

Sorry about the confusion.
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,746
Reaction score
1,611
First Language
English
Primarily Uses
RMMV
To do this I want to manually change the skill name to have prefix 'counter' on it.
Is that not possible?
That's not the same thing you said in your first post. Yes, you can change the name of the skill to an other thing. No, you can't change it dynamically to be "(name of the attack that triggered it) counter".
Code:
<Counter Name: text>
Does this not change the name of the skill when it's triggered by a counter?
Yes, it should.
I want to do
Code:
<Counter Name: 'Water: Counter'>
when triggered by a counter, the skill name doesn't change.
It's possible you putting single quotes in there is breaking it. The instructions don't say Counter Name: 'text' - try taking those out and see if it works. If it still displays the original name of the skill, you'll need to post screenshots of your skill with its notetags and ask for help with all of that.
 

hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
34
Reaction score
4
Primarily Uses
This is in the skill text box.
I've tried it without the whole action battle script and still can't change the text.


Code:
<Counter Name: text>
 <Counter Condition>
Magical Hit
  </Counter Condition>




    <setup action>
      clear battle log
      display action
      immortal: targets, true
      perform start
      wait for movement
      cast animation
      wait for animation
    </setup action>
 
    <whole action>
      wait: 6
      motion attack: user
      wait: 6
      action animation: target
      animation wait: 6
      shake screen: 7, 6, 35
      wait for animation
      action effect
    </whole action>
 
    <target action>
ADD ELEMENT: 7
change variable 3 = Math.trunc((((user.mat * user.mat) /16 ) -((target.mdf * target.mdf /32))) / 10)-2 + Math.randomInt(3)
mp -variable 3: target,show


    </target action>
 
    <follow action>
    </follow action>
 
    <finish action>
      wait: 18
      immortal: targets, false
      wait for new line
      clear battle log
      perform finish
      wait for movement
      wait for effect
    </finish action>
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,746
Reaction score
1,611
First Language
English
Primarily Uses
RMMV
What are you asking that's different from the last time? You were told that the specific thing you're trying to do is not supported by the plugin.

You then said the Counter Name: text notetag wasn't working for you - is that still what you're saying? That the name of the skill doesn't show up as "text"?
 

hoboayoyo

Veteran
Veteran
Joined
Oct 29, 2016
Messages
34
Reaction score
4
Primarily Uses
Right, the <Counter Name: text> note tag isn't working.
I'll just create a new project and see if the issue still persist.
 

Latest Threads

Latest Profile Posts


Finally was able to record the rest of the game demo! I added some edits here and there, this is why it takes me so long to do stuff cuz I find a problem and have to fix it asap. x.x
Game: https://dj990j.itch.io/region-of-mythos
Databasing. Just with what I consider "bare minimum", I have listed over 200 skills. That's not all of it, and isn't even considering skills that only 1 class would realistically have. lol

It's a Spanish devlog don't get scared!.
Just read the forum rules just for kicks and rule 14 reminds me of this:
150.jpg
I'm in the process of converting all locks and intimidate/persuade dialogue options into D20 DC based success/fail (modified by player skill). Before, it required a certain flat amount you had to meet, but with rolls, it offers more freedom. For instance, you can repeatedly try to unlock a door instead of just not meeting the requirement to unlock it.

Forum statistics

Threads
117,057
Messages
1,104,181
Members
153,024
Latest member
yanis773
Top