The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: axoh17 on August 01, 2011, 04:04:02 AM

Title: [Request] Collection Book Script
Post by: axoh17 on August 01, 2011, 04:04:02 AM
Hi everybody, this is my first post to the site, and I plan on making many many more. Just got hooked on how amazing this rpg maker vx thing is and so I decided to get to work on a game that I've wanted to do since about 5 years ago. It's been brewing ever since. I've drawn maps and wrote countless pages of storyline, but never have I been able to really see some progress.

Until now.

But I've hit a roadblock and I was hoping one of you very talented scripters would come to my aid here. I plan on learning scripting sometime soon, but I seriously dont have the time. This game is going to be huge, and will probably take me at least a year to finish as it's an open world classic rpg. So I want it to be perfect in every way I can make it.

What i need is a collection book script. meaning I need a script to add in a menu option that brings you to a page with a customizable amount of slots that are filled each time a certain item comes in to your possession. And when you go over each item it gives you a little description of the item and whatnot. I don't want you to make the items, just the menu so I can figure it all out.

Thanx so much for your help if you can. I hope it's not asking too much, and I really hope I'm asking in the right place. Oh and i have looked around. And not just a little, a lot. Like for hours.
Title: Re: [Request] Collection Book Script
Post by: modern algebra on August 02, 2011, 12:48:13 PM
Not sure if it's exactly what you want, but you could try my Items & Skills Catalogue (http://rmrk.net/index.php/topic,34377.0.html)
Title: Re: [Request] Collection Book Script
Post by: axoh17 on August 02, 2011, 02:57:09 PM
That actually looks pretty good. I'm gonna test it out and see what i can do with it, but can I make it so only the items I designate to go in to there, will go in?

EDIT: Ok so I got it and its in, but I am getting a headache trying to figure out why i get a syntax error every time I want to open the catalog in the game. Do you mind posting just the most generic form of code I have to put in to a call script to make the catalog come up? Just replace the things I have to change with a simple word or two. No symbols that i may or may not have to keep. Thats where I've been getting confused with a lot of peoples scripts lately. They try to hard at explaining thing, and then they fall flat because of it. But that doesnt usually happen to yours. I actually love your scripts. Especially the massive quest book. Took me forever to find a good one.
Title: Re: [Request] Collection Book Script
Post by: modern algebra on August 02, 2011, 03:31:49 PM
Yes. Also, remember to read through the topic to collect any bug fixes like this one (http://rmrk.net/index.php/topic,34377.msg492950.html#msg492950)


EDIT::
The generic code to call it would be:

Code: [Select]
$scene = Scene_Catalogue.new (1)

That would call the "All Weapons" Catalogue. Since you are going to be making new catalogues, you would replace the 1 in that call with whatever ID you give the new catalogues.
Title: Re: [Request] Collection Book Script
Post by: axoh17 on August 02, 2011, 06:24:31 PM
Ah i see. So is there no way to put this in to your inventory? cause it looks like it's only a map/event script. I wouldn't mind it either way, but in the menu would be a nice addition.

And thanx for that other code, as I was actually hitting that error. All fixed, awesome.

EDIT: Alright man, cool. It works. Nice, thanx. It seems I'll have to set up like little bases where the player can access certain information like this. No menu.
Title: Re: [Request] Collection Book Script
Post by: CodeMaster on August 02, 2011, 06:52:36 PM
Use YEM custom menu script it allows you to make new menu commands using the same kind of code that Modern Algerbra gave you it is in the VX scripts section in the pocket house script topic.
Title: Re: [Request] Collection Book Script
Post by: modern algebra on August 02, 2011, 06:57:40 PM
Yeah, most CMSes include a feature like that: KGC CustomCommand, YERD/YEZ/YEM (http://rmrk.net/index.php/topic,42396.0.html), PAC Main Menu (http://rmrk.net/index.php/topic,43352.0.html), Phantasia-esque CMS (http://rmrk.net/index.php/topic,35085.0.html), Full Status CMS (http://rmrk.net/index.php/topic,34500.0.html), etc...

Some of those also alter the design of the menu, while some are exclusively limited to adding new commands. There are also tutorials out there which could tell you what lines to alter in the Menu script to add new commands. There are plenty of options.
Title: Re: [Request] Collection Book Script
Post by: axoh17 on August 02, 2011, 08:48:50 PM
I'll have to look in to that when I get back from vacation. It sure would be nice to havwe everything at the esc button.