The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: shintashi on April 03, 2010, 05:51:22 PM

Title: Passive Skills?
Post by: shintashi on April 03, 2010, 05:51:22 PM
I'm trying to make passive/persistent skill effects that if your class gains, are always active, rather than activated. Examples would be skills applied to some groups but not to others, like Weapon Specialist, Fitness, Sprinting, and so on.

I noticed the skills have to be turned on at some point, even if they never turn off. Is there a way around this, perhaps through script or something? Or is there a way to expand my menu options of

Occasion:
to read:

Occasion:
And what does "Never" do anyway? And if it does nothing, is there a way to address the "never" so it becomes my new "Persistent" option?
Title: Re: Passive Skills?
Post by: IAMFORTE on April 03, 2010, 06:35:29 PM
well as a passive skill, you could inflict the character with a status, and set the statuses priority to 0 so it wont be shown :D

The status could beused to modify hp, def, mp, etc
Title: Re: Passive Skills?
Post by: shintashi on April 03, 2010, 11:42:31 PM
right!

that's what i did with a "Fitness" skill for my "Grappler" Class. I created a "Fit" status effect, and then a skill that bestows the Fit status, but while it appears in the skill list, I have to manually turn it on. I'm trying to set it up so I don't have to manually turn it on in play, rather, by virtue of having the skill, the effect works.

I didn't know about the priority 0 thing though, how do I access the priority of a state or skill?
Title: Re: Passive Skills?
Post by: IAMFORTE on April 04, 2010, 03:17:14 AM
umm i dont remember atm, look around near the
Nvm, to change priority, modify the rating location and change it to 0, for more infor rightclcik and ask for help XD
Title: Re: Passive Skills?
Post by: shintashi on April 09, 2010, 05:01:36 AM
priority zero definitely removes it from the status list without removing the effects, but it doesn't "auto set" the effect in place. Is there a script for force activating a specific skill?
Title: Re: Passive Skills?
Post by: IAMFORTE on April 09, 2010, 03:37:59 PM
Yes i think there is in the script database, just set the skill to be activated at lvl 1
Title: Re: Passive Skills?
Post by: firerain on April 14, 2010, 04:20:23 AM
Quote from: shintashi on April 09, 2010, 05:01:36 AM
priority zero definitely removes it from the status list without removing the effects, but it doesn't "auto set" the effect in place. Is there a script for force activating a specific skill?
There's an easier way to achieve this.
Firstly, make your status effect with priority zero and then your skill with a 'scope of 'none' and an 'occasion' of 'never'.

Secondly, go to your Database and insert a new 'Common Event'. After that, add a new conditional branch.

The settings for it should be as follows:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi41.tinypic.com%2F5uk6tf.png&hash=4da3e8f9699a0a7e3e604ebd218d92d224efc6ac)
Obviously replacing the actor with yours and the skill you want.


Now, we need to set a switch for when the player acquires the skill. For mine, I used an NPC event who gives the player the passive skill, thus activating his switch and then in turn activating the common event.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2Fwiviag.png&hash=acad8f44b4797eb6431142fe623f38bde1f34bdb)


Now return to your common event and set the 'Trigger' to Parallel and set the 'Condition' switch to the one you just made on the NPC event. And for an event action under your conditional branch make it as shown below.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi43.tinypic.com%2Fhv5v78.png&hash=01d1d5ba242e0a7e0492f4b65a639bab5fb92632)

Assuming you've made your status effect change the stats (I made mine boost his P.Def up 100%) you should be able to go and talk to the NPC event and acquire the passive skill and see the changes.

I've included a demo at the bottom of this post for reference.
Title: Re: Passive Skills?
Post by: shintashi on April 15, 2010, 04:41:11 PM
works great! Much thanks.