• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
DiegoWT's Starter Selection

Resource DiegoWT's Starter Selection 1.5.0

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
With "syncToRefreshrate": false in mkxp.json everything seems normal, but performance is much lower...

How do you get the animation to be at the right frame rate with
"syncToRefreshrate": true?
Honestly, I never messed up with that part of Essentials, and I don't think I know enough about how the framerate works in v21.1, so I can't really help you, man.
You could change the Wait values in the Script though. Since you want it to be slower, just decrease them all proportionally until you feel like it's good.
 

MakerBlack

Trainer
Member
Joined
Nov 23, 2020
Posts
85
Honestly, I never messed up with that part of Essentials, and I don't think I know enough about how the framerate works in v21.1, so I can't really help you, man.
You could change the Wait values in the Script though. Since you want it to be slower, just decrease them all proportionally until you feel like it's good.
All good! But to help with future projects, I noticed that the new interfaces use this method:

Ruby:
#===============================================================================
# Linear interpolation between two values, given the duration of the change and
# either:
#   - the time passed since the start of the change (delta), or
#   - the start time of the change (delta) and the current time (now)
#===============================================================================
def lerp(start_val, end_val, duration, delta, now = nil)
  return end_val if duration <= 0
  delta = now - delta if now
  return start_val if delta <= 0
  return end_val if delta >= duration
  return start_val + ((end_val - start_val) * delta / duration.to_f)
end
 

Doombones67

Novice
Member
Joined
Feb 5, 2023
Posts
29
Hey whenever I interact with the event I get his meassage any idea what it means?
 

Attachments

  • 1707099756489200628511171778039.jpg
    1707099756489200628511171778039.jpg
    3.5 MB · Views: 26

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
614
I think that it means that you are using the v21 version of the plugin on v20.1 of Essentials, which will come with problems like the one you are having.
You should look at the updates when the plugin was updated to v21 and try downloading in history the version before that, that should be for v20.1.
 

Doombones67

Novice
Member
Joined
Feb 5, 2023
Posts
29
I think that it means that you are using the v21 version of the plugin on v20.1 of Essentials, which will come with problems like the one you are having.
You should look at the updates when the plugin was updated to v21 and try downloading in history the version before that, that should be for v20.1.
Oh okay thank you!
 

Doombones67

Novice
Member
Joined
Feb 5, 2023
Posts
29
Hey whenever I choose the 3rd starter it makes all the other pokeballs disappear too any idea how I fix it?
 

DiegoWT

Discord: diegowt
Member
Joined
Nov 1, 2017
Posts
75
Hey whenever I choose the 3rd starter it makes all the other pokeballs disappear too any idea how I fix it?
With "disappear" you mean to have their opacities decreased? Because that was how I did the animation for the older versions.
Otherwise you may not have installed my plugin properly.

Old animation below:
gif3.gif
 

Doombones67

Novice
Member
Joined
Feb 5, 2023
Posts
29
With "disappear" you mean to have their opacities decreased? Because that was how I did the animation for the older versions.
Otherwise you may not have installed my plugin properly.

Old animation below:
View attachment 25823
I meant like the pokeballs on the table in the overworld I fixed it thank anyways!
 

Grou408

Rookie
Member
Joined
Feb 28, 2024
Posts
2
Hi there, I keep having this problem here:

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]

Script error in event 8 (coords 11,6), map 22 (Habitación Unnamed)
Exception: SyntaxError
Message: (eval):2: syntax error, unexpected ',', expecting ')'
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
^

***Line '(:BULBASAUR,:CHARMANDER,:SQUIRTLE)' shouldn't begin with '('. Try putting the '('
at the end of the previous line instead, or using 'extendtext.exe'.

***Full script:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)

Did I copy something wrong?
 

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
614
***Line '(:BULBASAUR,:CHARMANDER,:SQUIRTLE)' shouldn't begin with '('. Try putting the '('
at the end of the previous line instead, or using 'extendtext.exe'.


***Full script:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)

Did I copy something wrong?
I mean, the error is telling you what to do.
 

Platypus Gamer

Game Designer
Member
Joined
Sep 24, 2023
Posts
31
For some reason the game crashes with an error message when it gets to the part with the script
2024-03-11 (10).png

Am i doing something wrong?
 

Trainrider_06

Rookie
Member
Joined
Jun 1, 2024
Posts
2
What Am I Doing Wrong?

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.7]

Script error in event 3 (coords 13,7), map 77 (Midore Town)
Exception: SyntaxError
Message: (eval):2: syntax error, unexpected ',', expecting ')'
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
^

***Line '(:BULBASAUR,:CHARMANDER,:SQUIRTLE)' shouldn't begin with '('. Try putting the '('
at the end of the previous line instead, or using 'extendtext.exe'.

***Full script:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
 

LinKazamine

Champion
Member
Joined
May 24, 2023
Posts
614
The error message is telling you what is wrong and how to fix it:
***Line '(:BULBASAUR,:CHARMANDER,:SQUIRTLE)' shouldn't begin with '('. Try putting the '('
at the end of the previous line instead, or using 'extendtext.exe'.

***Full script:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
So, instead of
Ruby:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
You should write
Ruby:
DiegoWTsStarterSelection.new(
:BULBASAUR,:CHARMANDER,:SQUIRTLE)
You could also use the extendtext.exe that is in the root folder (where are the Audio, Data, Graphics, etc. folders) to have the script window bigger and fit the above code in a single line.
 

Trainrider_06

Rookie
Member
Joined
Jun 1, 2024
Posts
2
The error message is telling you what is wrong and how to fix it:

So, instead of
Ruby:
DiegoWTsStarterSelection.new
(:BULBASAUR,:CHARMANDER,:SQUIRTLE)
You should write
Ruby:
DiegoWTsStarterSelection.new(
:BULBASAUR,:CHARMANDER,:SQUIRTLE)
You could also use the extendtext.exe that is in the root folder (where are the Audio, Data, Graphics, etc. folders) to have the script window bigger and fit the above code in a single line.
Thank You
 
Back
Top