Announcement
Announcement
| 2nd Quarter Contest Announcement posted! See the Community Announcements section. |
![]() ![]() |
Apr 3 2012, 05:37 PM
Post
#1
|
|
![]() Type: Undisclosed |
Hi. I'm sorry if a this has been done already but I haven't been able to find the exact effect I'm looking for via searching. I'm looking for a script or a modification to an existing one that would have the effect of teaching skills depending on if a player has used an item or equip for a certain duration or number of times.
I've looked at scripts that do similar things like Wortana's Skill from Equipment ( http://www.rpgmakervx.net/index.php?showtopic=779 ) Reedo's Skill on Equip ( http://www.rpgmakervx.net/index.php?showtopic=23348 ) Modern Algebra's Learn Skill by Use ( http://rmrk.net/index.php/topic,34581.0.html ) and Skill Teaching Equipment & Items ( http://rmrk.net/index.php/topic,24407.0.html ) Most equip to skill based scripts have the effect of being dependent on the actor always having that item equipped to use the skill, and that's counter to what I'm looking for. Similarly items that teach skills are a single use affair. Obviously there are many scripts with elements of what I'm looking for. I'm trying to figure out a way to combine and enhance them. If you're familiar at all with Final Fantasy IX and/or Lost Odyssey then it may be a bit more familiar. Basically, depending on a defined number of using the item or a class of items, a skill would be unlocked. So for example, Use Potion 100 times (in or out of combat) -> Unlock "First Aid" skill for all characters. Use Potion 50 times and High Potion 50 times (in or out of combat) -> Unlock "First Aid" skill for all characters. Use Fire Sword (via the basic attack) in 100 battles -> Unlock "Fire Slash" skill for character that used the sword. I hope to use this in tandem with KGC's Skill CP System and SBS Tankentai, but I don't think any conflicts should result from using them both. Thanks for your time! |
|
|
|
Apr 15 2012, 09:12 PM
Post
#2
|
|
![]() Type: Undisclosed |
Bumping.
|
|
|
|
Apr 16 2012, 05:04 PM
Post
#3
|
|
![]() ![]() Type: Coder Alignment: Neutral Good |
Hi when you use 50 potions it "Unlock" the skill or the players learn it automatically ?, i can do it i think
if you can answer this it gonna be more easy -------------------- |
|
|
|
Apr 17 2012, 02:29 AM
Post
#4
|
|
![]() Type: Undisclosed |
Hi when you use 50 potions it "Unlock" the skill or the players learn it automatically ?, i can do it i think if you can answer this it gonna be more easy Thanks for responding. I think it would be the latter, with the entire party learning the skill automatically. Since I plan on using this in tandem with the Skill CP system, you'd then get to choose which characters had the skill equipped. |
|
|
|
Apr 26 2012, 07:43 AM
Post
#5
|
|
![]() Type: Undisclosed |
Bumping.
|
|
|
|
May 5 2012, 04:19 PM
Post
#6
|
|
![]() Type: Undisclosed |
Bumping.
|
|
|
|
May 11 2012, 01:06 PM
Post
#7
|
|
![]() Type: Undisclosed |
Bumping.
|
|
|
|
May 20 2012, 02:07 AM
Post
#8
|
|
![]() Type: Undisclosed |
Bumping.
|
|
|
|
May 20 2012, 03:23 AM
Post
#9
|
|
![]() Master Eventer, Novice scripter, pathetic spriter ![]() Type: Designer Alignment: Chaotic Good |
have the item call a common event that will increase a variable by 1 each time the item is used then have the same common event check with a conditional branch for the amount the variable is and when it is large enough have it teach the skill to your whole party.
-------------------- Master eventer
Need an unusual event call me and i might be able to make it ex vehicle, pet search number I do take event requests search number 10519195120 Please don't put this number on any of your own posts or topics note: the search number will be on any post I make to aid in searching by author. If I forget to put it on a topic please notify me. I will try to check any posts/PMs around 7:30 AM, 3:00 PM, and after 6 PM most days (time in Pacific Time) The ultimate video game Spoiler: If you are a believer of Jesus Christ, believe he is the only way to heaven, and are 100% proud of it, put this in your sig. |
|
|
|
May 22 2012, 04:49 PM
Post
#10
|
|
![]() Type: Undisclosed |
have the item call a common event that will increase a variable by 1 each time the item is used then have the same common event check with a conditional branch for the amount the variable is and when it is large enough have it teach the skill to your whole party. Thanks for the advice. I've tried it as you said, and it seems to work okay but for some reason now when I use potions it automatically closes the item menu after using them. Is there some way to set the common event to fix that? For the record I'm using KGC Custom Menu and KGC Categorize Items as well. |
|
|
|
May 22 2012, 11:16 PM
Post
#11
|
|
![]() Master Eventer, Novice scripter, pathetic spriter ![]() Type: Designer Alignment: Chaotic Good |
to solve this put this at the end of the item common event
CODE @>Conditional Branch: [1. ] is Appeared
@> :Else @> Script: $scene = Scene_Item.new @> :Branch End @> -------------------- Master eventer
Need an unusual event call me and i might be able to make it ex vehicle, pet search number I do take event requests search number 10519195120 Please don't put this number on any of your own posts or topics note: the search number will be on any post I make to aid in searching by author. If I forget to put it on a topic please notify me. I will try to check any posts/PMs around 7:30 AM, 3:00 PM, and after 6 PM most days (time in Pacific Time) The ultimate video game Spoiler: If you are a believer of Jesus Christ, believe he is the only way to heaven, and are 100% proud of it, put this in your sig. |
|
|
|
May 25 2012, 03:32 AM
Post
#12
|
|
![]() Type: Undisclosed |
It works for the mostpart but I'm curious. Is there a way to set this so that it doesn't flash to the map and then restore the menu, but instead never leave the menu? Or is that something that only a script would be capable of?
Ultimately I'd like a method that offers consistency so the player isn't automatically clued in on what items are being counted. |
|
|
|
May 26 2012, 09:31 PM
Post
#13
|
|
![]() Master Eventer, Novice scripter, pathetic spriter ![]() Type: Designer Alignment: Chaotic Good |
I am not sure how to remove that but you can have all items call a common event with the in it so all items have that momentary window close. You could even put a gulping sound there for potions and such
CODE @>Conditional Branch: [1. ] is Appeared
@> :Else @> Script: $scene = Scene_Item.new @> :Branch End @> -------------------- Master eventer
Need an unusual event call me and i might be able to make it ex vehicle, pet search number I do take event requests search number 10519195120 Please don't put this number on any of your own posts or topics note: the search number will be on any post I make to aid in searching by author. If I forget to put it on a topic please notify me. I will try to check any posts/PMs around 7:30 AM, 3:00 PM, and after 6 PM most days (time in Pacific Time) The ultimate video game Spoiler: If you are a believer of Jesus Christ, believe he is the only way to heaven, and are 100% proud of it, put this in your sig. |
|
|
|
Jun 11 2012, 06:30 AM
Post
#14
|
|
![]() Type: Undisclosed |
I appreciate the help you've given me thusfar, and I think that I'll probably go with your method as a fall back option because it does work so well, but stylistically it's not what I'm looking for because of how it causes the menu to close in that manner. Had I been aware that common events will close the item menu regardless of what they do, I would have specified earlier that I had hoped to avoid that issue. But again, thank you.
|
|
|
|
Jun 11 2012, 05:14 PM
Post
#15
|
|
![]() Master Eventer, Novice scripter, pathetic spriter ![]() Type: Designer Alignment: Chaotic Good |
just remember that if you have all the items close and open the window it will look normal.
-------------------- Master eventer
Need an unusual event call me and i might be able to make it ex vehicle, pet search number I do take event requests search number 10519195120 Please don't put this number on any of your own posts or topics note: the search number will be on any post I make to aid in searching by author. If I forget to put it on a topic please notify me. I will try to check any posts/PMs around 7:30 AM, 3:00 PM, and after 6 PM most days (time in Pacific Time) The ultimate video game Spoiler: If you are a believer of Jesus Christ, believe he is the only way to heaven, and are 100% proud of it, put this in your sig. |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 26th May 2013 - 08:09 AM |
|
|