Chaos Project

RPG Maker => RPG Maker Scripts => Script Requests => Topic started by: TrueCynder on January 23, 2014, 11:40:41 am

Title: [SOLVED] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on January 23, 2014, 11:40:41 am
Hey everyone

is it somehow possible to edit the Passive Augments script
http://forum.chaos-project.com/index.php/topic,5125.0.html

so the passive skills act like they would do if you use the Skill equip system ?
http://forum.chaos-project.com/index.php/topic,4629.0.html

In other words once learned they first need to be equiped in order to work ?
that would be the best thing ever :D

EDIT
Okay ii guess i should explain this a bit more ...
So basicly they allready work together but the actor just has to learn it and it will straight up work
if you now equip it it will still work but it will show up in the battle system :/
so there a two things to tackle here

1) Make it work ONLY if equiped
2) somehow filter it out so it won´t show up in the battle system
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on January 27, 2014, 06:04:53 pm
*bump* please you guys this is important ....
is there realy no way ?
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: KK20 on January 29, 2014, 11:17:34 am
I'll quickly take a look at it soon.
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: G_G on January 30, 2014, 11:12:40 am
Tons of add-ons.
http://forum.chaos-project.com/index.php/topic,105.0.html

It has a Passive Skills add-on that only gives you attributes when you know the skill. This add-on should work in conjunction with my script.
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: KK20 on January 30, 2014, 02:57:13 pm
EDIT: Nevermind. Got two variables confused.

Anyways, in regards to the first post, you will need to add this method

class Game_Actor < Game_Battler
 def skill_equipped?(skill_id)
   return @skills.include?(skill_id)
 end
end

and replace (CTRL + H) skill_learn? with skill_equipped? in the Passive Skills script. Looking through it quickly, I think it's safe to use 'Replace All'.
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on January 31, 2014, 07:28:41 am
all that did was filtering the passive skills in the Battle system
but here is a thing - they don´t work anymore
as an example i tried the MP Shield the actor has it equiped and the skill wont activate
the same goes if they only learned it - nothing the skill wont activate at all :(
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: KK20 on January 31, 2014, 01:06:07 pm
*shrug* Works for me.
-Asan'tear Battle System
-Skill Equipment
-Passive Skills

You must have edited the battle system to become incompatible with the scripts.
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on January 31, 2014, 01:14:01 pm
well yeah i did edited the BS
you helped me with it ._."

but nothing like on the system itself
just simple things like the postion of the comanndo windwo and such

Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: KK20 on January 31, 2014, 01:18:09 pm
I thought you did other things too, like "changing the Skill Window to use ____'s Skill Window" or something.
Send me your Scripts.rxdata
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on January 31, 2014, 02:57:21 pm
Well ... i did change the window for skills
but yet again only its colum size and such

but sure here ya go
https://www.dropbox.com/s/x6ozoarp6nti96y/Scripts.rxdata
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: KK20 on January 31, 2014, 03:30:26 pm
Why the hell was my code snippet of skill_equipped? pasted, like, in four or five times in various places? You only need to put it once, preferably at the bottom of the Skill Equipment script. Also, doing this:

class Game_Battler
  #==== Start of culprit ====
  class Game_Actor < Game_Battler
  def skill_equipped?(skill_id)
    return @skills.include?(skill_id)
  end
end
  #==== End of culprit ====
def states_plus(plus_state_set)
. . .

is a big no-no. That would explain why your skills weren't doing anything.
With that said, everything was working on my end.
Title: Re: [unsolved] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on January 31, 2014, 04:38:19 pm
ZOMG thanks XD

You realy have a god like patience
thank you so much
Title: Re: [re-opend] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on February 01, 2014, 04:05:38 pm
[re-opened]
... Any idea how to make Passive arguments usebale with
Ryex's Weapons Unleash Skills script ?

The actors don´t attack when they have an unleash weapon equiped

- also i tried changing it so instead of the weapon
the script will use the shiled id and instead of attack you´ll trigger it by defending
but both changes cast the script to crash ....
Title: Re: [re-opend] Making Passive Augments useable with skill equip ?
Post by: KK20 on February 01, 2014, 04:16:13 pm
Is Unleashed script pasted below Passive?
Title: Re: [re-opend] Making Passive Augments useable with skill equip ?
Post by: TrueCynder on February 01, 2014, 06:48:47 pm
... not anymore ...
thanks that fixed it

any ideas because of the other problems tho ?
Title: Re: [re-opend] Making Passive Augments useable with skill equip ?
Post by: KK20 on February 01, 2014, 07:00:29 pm
What other problems? Passive skills didn't show up in battle for me. I'm still using your Scripts file. Only removed 'Transitions Module' and 'Kill Effects'. Didn't move anything else.