Skill Points Spending System
Version: 2.0
Author: albertfish
Date: December 3, 2009
Version History
- Version 2.0: December 3, 2009
- Added a stat maximum
- Added ability to set, add or subtract stats from a skill at any point
- Added ability to set, add or subtract a skills max stat at any point
- Added ability to add or remove new skill to a single character
- Fixed a bug that prevented you from receiving points upon leveling up - Version 1.0: September 13, 2009
- Initial release
Planned Future Versions
- No planned future versions at this point. However, if you have a suggestion on what to add it could be added to a future version.
Description
This is a point spending system that allows you to add points to skill areas. For example cooking, or stealth.
Features- Customizable skill types
- Add as many skills as you want
- Customizable number of points per level
- Customizable number of initial points
Screenshots(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg38.imageshack.us%2Fimg38%2F9056%2Fafspssss1.png&hash=84515301b5e3770a36b188183b1a39afc6e79a70)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg38.imageshack.us%2Fimg38%2F9928%2Fafspssss2.png&hash=6b4c1e70913ccb3168afb6c82e28c0a6b9618463)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg12.imageshack.us%2Fimg12%2F5232%2Fafspssss3.png&hash=8e8a40e361fbd1d3988ff883b201a508fe317436)
InstructionsUsage Instructions:[/list]
To get the number of skill points for any given skill, use this command:
$game_party.skills("Actors name", "Skill name")
The actors name and the skill name must be contained inside the quotation marks. Also this command is case sensitive.
To use this command via an event script call you will need to storethis data in a game variable. To do this use this code in the script box.
a = "Actor Name"
s = "Skill Name"
num = $game_party.skills(a, s)
$game_variables[#] = num
Where # is the number of the variable you want to store it in.
To call the menu script type: $scene = Scene_SkillPoint.new
Install Instructions: Place this script above the main script and below the default scripts.
Script
Please see the attached script or the demo!
Credit
Thanks
- phillip1756 for requesting the script
- Mr_Wiggles for requesting additional features and informing be of a bug
Support
If you need to contact me you can send me a pm.
Known Compatibility IssuesNo compatibility issues found yet.
Demo
There is a demo available! The demo is attached to this post.
Author's Notes
If you discover any bugs, please pm me or post the bug here! Thanks.
Enjoy :).
RestrictionsYou may use this in your game commercial or non-commercial as long as proper credit is given.[/list]
This looks like another nice script. Great work albertfish!
OMG blud u is a legend,wot do i owe you 4 making this?
i ka knot reed stoopid
Quote from: phillip1756 on September 15, 2009, 05:25:33 PM
OMG blud u is a legend,wot do i owe you 4 making this?
Glad you like it :).
I just had to post 'lol' at the skill 'Sexiness'
Quote from: phillip1756 on September 17, 2009, 07:56:38 PM
do you wanna help with my game?
I can help if you have questions, however I just started back at school so I am extremely busy and am at school most of the day (about 15-16 hours a day :|) so I don't have a lot of extra time. But I'll be on the forum if you have and questions, and I am sure others can help too!
i need a few more instructions on how to use it
Quote from: phillip1756 on September 19, 2009, 08:42:11 AM
i need a few more instructions on how to use it
Did you read my comments? At this point:
SKILL_DATA.push("Fire", 0) # This is the first skill displayed
SKILL_DATA.push("Sexiness", 100) # This is the second skill displayed
SKILL_DATA.push("Stealth", 5) # etc. Keep following the pattern
SKILL_DATA.push("Cooking", 10) # to add more skills.You add all the skills you want and set the default starting value.
SKILL_DATA.push("Skill 1", 0)
SKILL_DATA.push("Skill 2", 0)
SKILL_DATA.push("Skill 3", 0)
SKILL_DATA.push("Skill 4", 0)
SKILL_DATA.push("Skill 5", 0)
SKILL_DATA.push("Skill 6", 0)
SKILL_DATA.push("Skill 7", 0)
SKILL_DATA.push("Skill 8", 0) It's pretty straight forward :P.
Question? would it be possible to adjust the skill amounts through and event?
reason? because I'm making a game that use only one character but you Can choose from three and i wanted to edit this for each like character 1 has 50 sexiness and character 2 has only 25, and so on would this be possible?
Orr....
by actor id
to give individual actors unique skills
Quote from: Mr_Wiggles on November 22, 2009, 03:45:49 AM
Question? would it be possible to adjust the skill amounts through and event?
reason? because I'm making a game that use only one character but you Can choose from three and i wanted to edit this for each like character 1 has 50 sexiness and character 2 has only 25, and so on would this be possible?
Orr....
by actor id
to give individual actors unique skills
Hey, that's a good idea. I'll work on something so that you can edit the skills for each character separately. It may take a bit of time since my exams are right around the corner.
thanx man.. lol i just got done pm you about puting limits on how high the skills can go too
New version of the script available, version 2.0!
- Version 2.0: December 3, 2009
- Added a stat maximum
- Added ability to set, add or subtract stats from a skill at any point
- Added ability to set, add or subtract a skills max stat at any point
- Added ability to add or remove new skill to a single character
- Fixed a bug that prevented you from receiving points upon leveling up
Also, there is a PDF Manual will instructions on how to use every function. This manual is included with the new demo.[/list]
NICE work, just pluged it in over the old and works like a charm, there was a slight lag when i leveled up but that could be because of the virus scan im doing since i found out that my glary's utilities was infected... ahh well
GREAT work this script is practicly my game you'll be sure to get FULL credit for your hard work...
[edit] - The lag was because of when the player leved up ABS would play a ME to notify the player, i turned that off and now NO lag....
[edit 2] - If youd like perhaps you can make a way to show a discription of the skill you select so the player knows what its used for "not particularly needed" but if youd like to make further improvements perhaps this could be an idea...
Hae albertfish, im using your script and it great but I had one problem... for some reason when i called the window there would be no writing present, like the skills would not be listed, I fixed it (surprisingly) but to do that i had to go passed the point where i shudn't change anything unless i knew what I was doing and i had no idea lol and very time i came across this message: self.contents = Bitmap.new (width - 32, @item_max * 32) (for example) I would have to add: self.contents.font.name = $defaultfonttype and self.contents.font.size = $defaultfontsize, um i do not think that i did anything wrong when downloading i so could you plez tell me why I needed to do this?
Quote from: dewm3734 on December 14, 2009, 11:36:13 PM
Hae albertfish, im using your script and it great but I had one problem... for some reason when i called the window there would be no writing present, like the skills would not be listed, I fixed it (surprisingly) but to do that i had to go passed the point where i shudn't change anything unless i knew what I was doing and i had no idea lol and very time i came across this message: self.contents = Bitmap.new (width - 32, @item_max * 32) (for example) I would have to add: self.contents.font.name = $defaultfonttype and self.contents.font.size = $defaultfontsize, um i do not think that i did anything wrong when downloading i so could you plez tell me why I needed to do this?
Well, this script works perfectly fine for me which means that the script it self is working. Are you using other scripts? If so, there may be a conflict that could be causing the problem.
The only things that really come to mind is maybe you are using a script that edits the Window_Base or Window_Selectable classes, which could effect how the window is drawn.
Would you be able to tell me if you are running other scripts, and if so which ones?
Yep i've got a hp, mp and exp bar script and double weapon script... The hp, mp and exp bar script edits the window so that is probably my problem.