Forums
Members
Registered members
Current visitors
New profile posts
Search profile posts
Latest activity
New posts
Fan Games
All Game Jams
Completed Releases
Playable Demos
All Releases
Other Releases
Development
Resources
Search resources
Feedback
Pokémon Essentials Wiki
Team Recruitment
Streams
Multi-Viewer
Log in
Register
What's new
Search
Search
Search titles only
By:
Members
Registered members
Current visitors
New profile posts
Search profile posts
Latest activity
New posts
Menu
Log in
Register
Install the app
Install
Forums
Game Development
Tutorials and Resources Discussion
Improved Field Skills [v20.1]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lucidious89" data-source="post: 50791" data-attributes="member: 7705"><p>I'm assuming you're asking because you want to use the [ICODE]HM_SKILLS_REQUIRE_BADGE[/ICODE] setting in the plugin, so that HM Skills only appear in the menu if the appropriate badges (or in your case, switches) are enabled for that particular skill, correct? Because if you just want all HM Skills to show up in the menu from the start (regardless if they can be used yet or not), then simply setting this setting to "false" is all you gotta do.</p><p></p><p>Otherwise, if you want these skills to be hidden until the appropriate switch has been turned on, you kinda have to customize your own set up for this. How I set up the plugin was that I created a new method called [ICODE]pbBadgeFromSkill[/ICODE], which simply returns the number of badges required for each HM Skill (which is set up in the default Essentials settings). Then, the [ICODE]pbCheckHiddenMoveBadge[/ICODE] script is called to check if the player has the appropriate badges for that move.</p><p></p><p>So really, there's not much to really change in the plugin itself. What you'd most likely have to do instead is change all of the "badge" settings in Essentials (BADGE_FOR_CUT, BADGE_FOR_SURF, etc, etc..) to return a switch number instead of a badge number. Then, edit the [ICODE]pbCheckHiddenMoveBadge[/ICODE] method in Essentials so that it returns whether the appropriate switch has been enabled, instead of returning whether or not the player has the appropriate badges.</p></blockquote><p></p>
[QUOTE="Lucidious89, post: 50791, member: 7705"] I'm assuming you're asking because you want to use the [ICODE]HM_SKILLS_REQUIRE_BADGE[/ICODE] setting in the plugin, so that HM Skills only appear in the menu if the appropriate badges (or in your case, switches) are enabled for that particular skill, correct? Because if you just want all HM Skills to show up in the menu from the start (regardless if they can be used yet or not), then simply setting this setting to "false" is all you gotta do. Otherwise, if you want these skills to be hidden until the appropriate switch has been turned on, you kinda have to customize your own set up for this. How I set up the plugin was that I created a new method called [ICODE]pbBadgeFromSkill[/ICODE], which simply returns the number of badges required for each HM Skill (which is set up in the default Essentials settings). Then, the [ICODE]pbCheckHiddenMoveBadge[/ICODE] script is called to check if the player has the appropriate badges for that move. So really, there's not much to really change in the plugin itself. What you'd most likely have to do instead is change all of the "badge" settings in Essentials (BADGE_FOR_CUT, BADGE_FOR_SURF, etc, etc..) to return a switch number instead of a badge number. Then, edit the [ICODE]pbCheckHiddenMoveBadge[/ICODE] method in Essentials so that it returns whether the appropriate switch has been enabled, instead of returning whether or not the player has the appropriate badges. [/QUOTE]
Insert quotes…
Verification
What's the name of the yellow mouse that is the most popular Pokémon?
Post reply
Forums
Game Development
Tutorials and Resources Discussion
Improved Field Skills [v20.1]
This section is for the discussion of the tutorials and resources on Relic Castle. To find tutorials and resources,
check out the Tutorial and Resource Manager
for optimal navigation.
Top