Chaos Project

RPG Maker => Tutorials => Tutorial Requests => Topic started by: Hixomdido on January 07, 2011, 02:34:58 pm

Title: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 02:34:58 pm
     OK, so in my game (I'm a very beginner) I want to be able to equip animals instead of Accessories. (I think it's pretty unique) Ex: Horse boosts Speed and whatnot.
    I was trying to make an animal 'Venomous Snake' that allows a skill 'Snake Bite' to the actor that equips it.
Ive got a pretty good idea how the Conditional Branches work but no matter how I set it up, I can't get Snake bite to appear in the Skills Menu during a Test Battle.
Any help?

Also, I want to have a skill 'Shuriken Throw' that is only available to a certain type of Class 'Ninja' and subtracts 1 item 'Shuriken' from the inventory.
Any help is greatly appreciated.   :)
Title: Re: How to get a new skill when accessory is equipped.
Post by: WhiteRose on January 07, 2011, 02:38:26 pm
Both of those are features of Tons of Add-Ons, which you can find here:
http://forum.chaos-project.com/index.php/topic,105.0.html

In particular, the Add-Ons you'll want to enable are Actor Specific Item Usability and EQUAP Skills.
Good luck!
Title: Re: How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 03:08:39 pm
Thank you for your help and very quick reply.   :D
Title: Re: How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 03:18:39 pm
Ok, I've copy/pasted these into the scripts. I don't see any changes in the program..... So what do I need to use these add-ons?  :huh:
Sorry for my total cluelessness btw.  :^_^':
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Wizered67 on January 07, 2011, 03:19:42 pm
Turn them on and configure them.....
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Starrodkirby86 on January 07, 2011, 03:24:01 pm
Each Part has a Configuration section that allows you to turn on or off certain things.

Turn on Actor Specific Item Usability and EQUAP by setting them to "true". ( If you're in a rush to find them, just Ctrl+F a bit :V: )
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 03:26:37 pm
Oh, I see now. Thanks!  :haha:
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 04:50:40 pm
I've run into another problem,  :<_<:
On line 1847 of the second add-ons script (EQUAP stuff), the instructions say to 'edit this method for custom equipment support'.
What exactly do I need to edit it to?
This scripting language is pretty much Greek to me.  :P
Thanks.
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: WhiteRose on January 07, 2011, 08:12:10 pm
Quote from: Hixomdido on January 07, 2011, 04:50:40 pm
I've run into another problem,  :<_<:
On line 1847 of the second add-ons script (EQUAP stuff), the instructions say to 'edit this method for custom equipment support'.
What exactly do I need to edit it to?
This scripting language is pretty much Greek to me.  :P
Thanks.


Don't worry about that; that's in case you're using a script that changes what types of items are equipped (it could add slots for boots, gloves, extra accessories, etc.) If you don't have a script like that, you can just leave it as it is.
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 10:04:38 pm
So then everything should be working properly, but the skill still won't show up in the Test Battle.  :(
I don't see any reason why not unless there's supposed to be a Common Event linked with the skill.
I don't have one. Should I? And if so, What might it look like?
Sorry again for my intensifying lack of knowhow.
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Starrodkirby86 on January 07, 2011, 10:10:40 pm
First, check again if you have the correct weapon/armor set to EQUAP.

If the ID of my Venomous Snake weapon is 24, and Snake Bite's skill ID is 13, then I need to have the script code like this in the EQ Database:

 if weapon
     case id
     when 24 # weapon ID
       skill_ids.push(13) # EQUAP skill ID


Make sure the game is saved too. There's times I just click OK on the script editor, go into Test Battle, and confuse myself seeing that there's no effect there.

Also, try testing in game too. Just make a dummy event that gives you the Venomous Snake, get the player to equip it, then make another dummy event that launches a battle encounter.

I guess what I'm saying is, just double check your work and try other methods of testing. xD
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 10:21:43 pm
Thank you! I just needed to save the project.  :^_^':
This community is amazing! Truly one of a kind.
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Starrodkirby86 on January 07, 2011, 10:29:11 pm
It's what we do. <3

I guess it's truly Resolved now. xD

Best of luck on your project. You're free to also post your project if you think you've made enough progress and such. o: Don't hesitate to ask any further questions. :)
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 07, 2011, 10:37:46 pm
I'm sure I will have more questions. :^_^':

As for my game, Ive made no progress pertaining to the actual game-play. I'm trying to get all these skills and the battle system sorted out first.
But when I've got a bit of the story thought up and all the events written, I'll definitely upload it.
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Blizzard on January 08, 2011, 05:17:03 am
Oh, and please use the "Modify" option instead of double posting. When the last post in a topic is edited, the topic is marked as unread.
Title: Re: [RESOLVED] How to get a new skill when accessory is equipped.
Post by: Hixomdido on January 08, 2011, 04:45:02 pm
Oh, sure thing. Thanks