Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

5 Pages V  « < 3 4 5  
Reply to this topicStart new topic
> Skill Shop for RMVX, Request by sithious-kun ^_^
Khandrak
post Aug 8 2008, 11:33 AM
Post #81



Group Icon

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 thumbsup.gif )
$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 pinch.gif 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.
Go to the top of the page
 
+Quote Post
   
Khandrak
post Aug 8 2008, 06:10 PM
Post #82



Group Icon

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.
Go to the top of the page
 
+Quote Post
   
Selacius
post Sep 10 2008, 08:12 AM
Post #83


Level 4
Group Icon

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.
Go to the top of the page
 
+Quote Post
   
muffin1232
post Oct 18 2008, 05:20 AM
Post #84


Level 1
Group Icon

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
Go to the top of the page
 
+Quote Post
   
Mems
post May 19 2009, 10:10 AM
Post #85



Group Icon

Group: Member
Posts: 1
Type: Musician
RM Skill: Skilled




happy.gif Ah, very nice script.


__________________________

<('.'<) <( '.' )> (>'.')>
Go to the top of the page
 
+Quote Post
   
FireRMVX
post Jun 20 2009, 08:43 PM
Post #86


Level 5
Group Icon

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**

[Show/Hide] Siggy Stuff



[u][img]
http://www.runwithgod.com/romans12/images/...b3eb789e9d2.jpg

[/img]








Most importantly children:

[/u
]
Go to the top of the page
 
+Quote Post
   
ThaSlein
post Jul 28 2009, 09:41 AM
Post #87



Group Icon

Group: Member
Posts: 2
Type: None
RM Skill: Beginner




I've got the script, but I miss some files. pinch.gif
Where can I find them??
(for a picture, check the attachment)

Attached File  error.jpg ( 35.13K ) Number of downloads: 18
Go to the top of the page
 
+Quote Post
   
mudducky
post Jul 28 2009, 10:15 AM
Post #88


Level 19
Group Icon

Group: Revolutionary
Posts: 392
Type: None
RM Skill: Beginner




@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.
Go to the top of the page
 
+Quote Post
   
kinan
post Jul 28 2009, 11:16 PM
Post #89


Level 1
Group Icon

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? laugh.gif

Anyone know how to make this? Cool, isn't it? tongue.gif


__________________________
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? ^.^
Go to the top of the page
 
+Quote Post
   
ThaSlein
post Jul 29 2009, 12:23 AM
Post #90



Group Icon

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
Go to the top of the page
 
+Quote Post
   
Shanghai
post Jul 29 2009, 04:09 AM
Post #91


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




QUOTE (kinan @ Jul 28 2009, 11:16 PM) *
Nee how about instead of using money to buy skills, you have to collect "Skill Points" instead? laugh.gif

Anyone know how to make this? Cool, isn't it? tongue.gif

Necchi's been inactive for a long time. You're probably not going to get anything out of that request...


__________________________
Go to the top of the page
 
+Quote Post
   
kinan
post Jul 29 2009, 05:39 AM
Post #92


Level 1
Group Icon

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 sad.gif

Well, if there is anyone out there who can do that please post a reply here! laugh.gif


__________________________
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? ^.^
Go to the top of the page
 
+Quote Post
   
Stern
post Jul 30 2009, 04:36 AM
Post #93


~Derpy Musician~
Group Icon

Group: Revolutionary
Posts: 278
Type: Musician
RM Skill: Undisclosed
Rev Points: 20




Just a little heads up;

in the 3.1 script it says:

#==============================================================================
# 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) smile.gif

And thanks for a really nice script


This post has been edited by st3rnb0rn: Jul 30 2009, 04:37 AM


__________________________
Go to the top of the page
 
+Quote Post
   
Krosbryd
post Sep 22 2010, 02:20 PM
Post #94



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Beginner




Necrobump, I know, but I have a problem here.

Okay, I've put in the script. After I made my fighter character's skills, and configured the appropriate part of the script like so:
CODE
  1 => [ #Id of Actor
  
  [1,4],[2,6],[3,12],[4,18],[5,23],[6,29],[7,34],[8,41],[9,46],[10,54],[11,60],#Caelus' Artes
  
  ],


... It worked perfectly. No problem or anything. But, when I then made my black mage's like so:
CODE
  2 => [ #Id of Actor
  
  [12,1],[13,2],[14,3],[15,4],[16,5],[17,6],[18,7],[19,8],[20,21],[21,22],[22,23],[23,24],[24,25],[25,26],[26,27],[27,28],#Roguel's Artes
  
  ],


... it looked like it worked, until I testplayed it and spoke to the black magic shop keeper. For reference, this is his script event:
CODE
$skill_shop =
[12,13,14,15,16,17,18,19,20,21,22,23,24,25,2
6,27]
$scene = Scene_Skill_Shop.new


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
Go to the top of the page
 
+Quote Post
   
martyjr2008
post Oct 2 2010, 08:41 AM
Post #95


Level 2
Group Icon

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"
[Show/Hide] Projects

Projects

1.Adventure RPG Online(working on)
0%=not completed
100%=complete

a.Title screen: (0%)
b.Story: (0%)
c.Characters: (100%)
d.World maps: (30%)
e.Towns: (0%)
f.Transportation: (100%)
g.Scripts: (100%)
h.Game over screen: (0%)
i.Credits: (0%)
j.Website: (0%)



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.


[Show/Hide] Rude peoplelist

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.



If you don't like the truth, stay out of the convosation.



Copyrighting is illegal of any sort!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


HTML
<a href="http://us.playstation.com/playstation/psn/visit/profiles/reporthackers"><img src="http://fp.profiles.us.playstation.com/playstation/psn/pid/reporthackers.png" width="230" height="155" border="0" /></a><br/><a href="http://www.us.playstation.com/psn/signup">Get your Portable ID!</a>
Go to the top of the page
 
+Quote Post
   
chaco
post Nov 26 2011, 03:55 AM
Post #96


Level 2
Group Icon

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 happy.gif
Go to the top of the page
 
+Quote Post
   
chaco
post Nov 26 2011, 04:01 AM
Post #97


Level 2
Group Icon

Group: Member
Posts: 16
Type: None
RM Skill: Undisclosed




I had to remove a few random things from the script to make it work, but it works fine for me now cool.gif

And really sorry about the double post!

This post has been edited by chaco: Nov 26 2011, 04:02 AM
Go to the top of the page
 
+Quote Post
   
Pepevago
post Nov 26 2011, 09:44 AM
Post #98



Group Icon

Group: Member
Posts: 1
Type: Scripter
RM Skill: Beginner




Thanks
Go to the top of the page
 
+Quote Post
   

5 Pages V  « < 3 4 5
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 21st May 2013 - 04:57 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker