Group: Member
Posts: 2
Type: None
RM Skill: Beginner
QUOTE (Mufalmar @ Jul 18 2008, 01:52 AM)
These instructions confuse me.. -.-
What i want to know (In an easier to understand way if possible...) is -
1. How do I make an NPC open up a skill shop? 2. How do I add skills to that skill shop?
3. How do I change the prices for those skills? 4. How do I add level requirements to the skills in the shop?
To me, the instructions on the first post were really hard to understand, as I am not an extremely advanced scripter.
I would really appreciate some help.
In your NPC event, call a script (page 3, under Advanced, "script..."), and in it put:
$skill_shop = [1,2,4,6,7] #The numbers there are the skills you want to sell (don't need to put this info part in ) $scene = Scene_Skill_Shop.new
That will call up the store for you. Now, if you want to change level requirements, you're going to have to go into the script itself. If you scroll down a little below the instructions, you're going to see something like this:
1 => [ #Id of Actor
[1,4],[2,3],[3,1],
],
The first line's number is, as it says (though it might have confused you, and I know it did me for a second) the ID for the Actor that you want to specify skills for. So lets say you want to decide skills and levels for character 002:Bob (as you would see it when editing characters), then put a 2 instead of a 1 there.
The second line is the skills and their respective levels. He can learn skill 1 at level 4, he can learn skill 2 at level 3, etc. Add, remove or change whatever you want there. Just make sure you keep commas between all of them, and have one at the end.
Now, the more confusing part (it took me forever to figure this out) is setting the price for the skill. It turns out to be incredibly easy, but the instructions might as well have been in Japanese, at least for me Go into the actual skill, and in the notes put [p#] where # is the price you want for that skill. So, if you wanted the skill to cost 500, then just put [p500] in there. That's it.
Hope this helps you, and anyone else who may be confused by the instructions.
Group: Member
Posts: 2
Type: None
RM Skill: Beginner
From what I've noticed:
This script is incompatible with her other script for upgrading skills, unfortunately, so if you're getting that error when you level, that's probably why. At least it was for me.
Please combine the two or make them compatible. Also, I've noticed that the page doesn't scroll for selling skills. So if you put in more than a page, you get an error. Having to have 6 separate vendors for my Elementalist class is a pain.
Group: Member
Posts: 53
Type: Event Designer
RM Skill: Beginner
Wondering if you could modify this such that in the skills note page you can instead of selecting which actor can learn the skills and at what level, change that to class and level.
So say you can do this: [c1l5] meaning class 1 can learn at level 5.
Group: Member
Posts: 5
Type: None
RM Skill: Undisclosed
HI I'm having trouble with this script. I've entered all the spells in and stuff. Then when I go to the skill shop person I buy the spell but then it comes up with an arror message
Script 'Skill Shop' Line 154 : NoMethodError Occured, Undefined Method 'Push' for Nil:Nil Class
That message appeared. Does anyone know how to fix it? THANKS SO MUCH IF YOU FIX THIS PROBLEM
+ I've tried erasing this from script but when I do that it wont let me even learn the spell...
This post has been edited by muffin1232: Oct 18 2008, 05:21 AM
Group: Member
Posts: 60
Type: Mapper
RM Skill: Intermediate
Hey can u make a script of how to go over the limit with Stats, like
Health= 1.5mil
Attack=500k
Spirit= 25k
if u could that'd be great ^^
__________________________
If you can read this, you passed kindergarten.
The following sentence is true. The previous sentance is false. This sentance is a lie Parllexes rule!
Personality: Others see you as fresh, lively, charming, amusing, practical, and always interesting; someone who's constantly in the center of attention, but sufficiently well-balanced not to let it go to their head. They also see you as kind, considerate, and understanding; someone who'll always cheer them up and help them out.
Last words: GET THIS THING OFF ME!!
Gangster name: Scrappy
AND LASTLY... I AM A DARK ANGEL!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! **Updated stuff**
@ThaSlein That's not a problem with the script, that's a problem with the background image in your project. You are missing an image you have set an event to.
Group: Member
Posts: 14
Type: None
RM Skill: Beginner
Nee how about instead of using money to buy skills, you have to collect "Skill Points" instead?
Anyone know how to make this? Cool, isn't it?
__________________________
Current Project:
Working Title: "Game" Started: 14/3/2009 Release: *fingers crossed* lets hope i actually finish this one!
Kinan: this is my real name. In japanese, it's funny that it also means: Peril, Distress O.O wooow! at least my name is in the japanese language, ne? ^.^
Group: Member
Posts: 2
Type: None
RM Skill: Beginner
QUOTE (mudducky @ Jul 28 2009, 11:15 AM)
@ThaSlein That's not a problem with the script, that's a problem with the background image in your project. You are missing an image you have set an event to.
weird, cus I've got this script in my script to..
module Cache def self.menu(filename) load_bitmap("Graphics/Menus/", filename) end end
Or is that not related with my problem?
EDIT: Oh, sorry, I've fixed the problem.. Thx
This post has been edited by ThaSlein: Jul 29 2009, 01:15 AM
Group: Member
Posts: 14
Type: None
RM Skill: Beginner
QUOTE (Shanghai @ Jul 29 2009, 03:09 PM)
Necchi's been inactive for a long time. You're probably not going to get anything out of that request...
Oooww.. sux
Well, if there is anyone out there who can do that please post a reply here!
__________________________
Current Project:
Working Title: "Game" Started: 14/3/2009 Release: *fingers crossed* lets hope i actually finish this one!
Kinan: this is my real name. In japanese, it's funny that it also means: Peril, Distress O.O wooow! at least my name is in the japanese language, ne? ^.^
#============================================================================== # Skill Shop for RMVX Ver 3.1 #============================================================================== MediaFire Hosting# By Nechigawara Sanzenin # WARNING!! : This script can use on RPG Maker VX Only!! (XP Not Support) #==============================================================================
I doubt it's supposed to be there ^^ (The mediafire hosting part)
And thanks for a really nice script
This post has been edited by st3rnb0rn: Jul 30 2009, 04:37 AM
When I talked to him, the screen went black, and an error message popped up, informing me that: "SyntaxError occurred while running script."
I understand it's a syntax error, but I don't see where it is. Note, that I am totally and utterly clueless about scripts (pretty much).
Also, does anyone have the original Japanese script so I can more clearly get an understanding of what it's saying? Knowledge of Japanese>Deciphering of Engrish.
EDIT: Ah. I fixed it. Apparently, there were too many skills in the shop menu.
This post has been edited by Krosbryd: Sep 22 2010, 06:49 PM
Group: Member
Posts: 29
Type: Event Designer
RM Skill: Beginner
If the skill shop script doesn't work there is another alternative. Make the skills a scroll item and make a skill shop and add the skill scrolls in the shop menue in the shop. In the common event for all skills if you want to learn or forget them. You have to put this:
Skill item
Common event Name skill:??????????? @>Text:What do you want to do? @>Show choices:Learn skill,Forget skill @>When [learn skill] @>Play SE:Absorb @>change skill increase to player @>When [forget skill] @>Play SE: @>change skill decrease from player
Just remember in the item tabs where that skill scroll is. Remember to set Consume [yes] so when you use the skill once it disappears. Also set the price of the scroll too in the item data base on the skill as well. Price of skill can be any price you want. If it is 0 its free.
Magic/skill shop
@>Text:What do you want to do? @>Show choices: Shop,Cancel @>When [Shop] @>Shop process: @>When [Cancel] @>Exit event processing
Thats about it.
This post has been edited by martyjr2008: Oct 2 2010, 10:23 AM
__________________________
"you can dream it, you can make it" "Think of the possibilities." "Don't judge a book by its cover. look inside that counts." "True friends are good to have" "Treat people with respect" No matter who you are!!!!! "copyrighting of any sort is illegal"
strength: What I am good at? weakness:What I am not good at? 1.story:not good at 2.Spriter:good at useing the sprite maker studio V2. 3.Events: easy once you know how things are setup.
List: 1.PINEDAVX: been rude to me sense day one. Sense I joined the RPG community. 2.RIXIS: been rude to me and doesn't understand me at all. 3.Kread-EX: 4. 5. 6. 7. 8. 9.
I will have my new desktop computer in a week. Its a 1g Avertec Desktop. I got it from bestbuy.com So I will hopefully have a better computer to do projects and stuff. Got to love computers now day have the ability to copy stuff right to CD-r's and DVD format. Backing up your projects is easy as 1,2,3.
Group: Member
Posts: 16
Type: None
RM Skill: Undisclosed
I really needed something like this in my game! This script is lovely! I will credit you in my games credits and also have an NPC in the skill shop credit you also