Help - Search - Members - Calendar
Full Version: Book system
RPG RPG Revolution Forums > Scripting > Event Emporium
atlus
Okay now that I have a new computer I am ready to start a project again. Problem is I want to make a book system like so:
Move Event...: Hero ,FaceRigh
Fork optn:Book of Knights Item Got
Memorize BGM
Play BGM: Tavern
Messg: You read an interesting book about the knights of
old.........
Play SE: increase
Variable Ch:xxxDefense up Set,Samson Defense
Variable Ch:xxxDefense up +10
Messg:Your defense increased

Else Case

End Case
Play Memorized BGM

So I made an event somewhere else in the room that will give me the book,sat on the couch the message came up so so far so good but then after that I checked my defense and no change in it. So can someone check and see what is wrong. I am sure it is in the varible change part but I dont know what I did wrong. Also I am planning on expanding on this too like say fpr example when You read this book not only will it increase defense but also courage and depending on your courage certain jobs and extra events will become available. Kinda like persona 4 golden.
Nub Cake
Hi

I got this easy sulotion for you, and it's very simple. It's a tool that creates pictures with text on them, and the pictures are eventually books and letters. The thing is, if you want them to be usable from inventory, you have to link it up with common events, kinda like this:

On item, set Common Event to BOOK 1 (example)

and in the Common Menu tab, you would first add a choice and some text, saying something like this:

"Would you like to read BOOK 1?"

Now, you can hit YES/NO, and if you hit yes, then show picture, center of screen.

Then again, if it's more pages, you can add another choice to go NEXT PAGE or CLOSE, and if you select NEXT, remove the old picture, and add the new picture to display, but if one is to hit NO, you would have to make it remove the picture, and this has to be done for every page, untill the book is read, and then remove the last picture.


I can't quite remember if it followed anything that made you able to just use mouse tabs to switch, but thats a sulotion if it isn't included.

Note that i did not create this tool, and i can sadly not remember who created it, but might be written in this winrar, i do not take credit, i just uploaded it for you, so that you could take the use of this smile.gif

The tool is named LINK REMOVED, and can be taken from this link smile.gif
atlus
thanks and all but isnt there a limit on the number of pics on rpgmaker 2000. like 20 or so? This sounds interesting and all but I am gonna have a LOT of books in this game to go help increase my chars levels,attack,ect along with this upgrade system I am using. This wouldt be a problem with rpgmaker 2003 which I have used in the past but I cant stand its horrible battle system. PS could you or do you know how to make a "continue from last save point event?" I saw one somewhere and wanted to knnow how they do it. I was thinkin you use the memorize place event but i cant be sure.
atlus
dude WTF I am gonna assume that you didnt know but this piece of crap had a dogone virus and my dogone computer nearly got infected by three viruses at the same time. Lucky I am fast and shutdown my computer just in time before they intsalled on my computer but you owe me a damn apology.
kayden997
Removed link.

Just a question, what system is this for so I and other get a better understanding.
atlus
@Kayden997 Oh sorry I never wrotewhat system this is for. RPGMAKER 2000. Right now though I workin on the first level the (lol at this) the maca forest(may change to woods). I am also going to toy around and try to make it where if you die you return to last save point but that aint all. well time to for me to go on neoseeker now...
Nub Cake
I am sorry for the contain of virus, and i had no idea, as i use Avira Premium, which didn't really accuse this file. It works and runs on my pc, and i downloaded it from a tool site for RMXP. Seeing as you got infected, i would like to say that i apolegize, and that i'll scan files next time before i upload them.

As another suggestion then, if you can get a hold of a scripter, or ask in the script request, where there can appear a window with text in, they will figure out a smart sulotion so you don't have to make one script for each book. What i first had in mind was a box that was displayed across the screen containing text, just throwing it out there as a suggestion as well.

And again, i'm really sorry about the virus infection :c

-Nub Cake
atlus
@nub cake@ well actually I nearly got infected. I managed to shut my computer off before it infected me. Heh. Anyway this isnt XP or VX this is 2000 I am usin though I wish I had XP or VX. Except I am so broke That I cant afford it With XP or VX with them scripts I can hmmm make ANYTHING. abs,cms,custom message boxes,tales of symphony battle system. Oh wait my B-day is next month. Mabye then I could get the momey...okay enough ramblin for me. I need to change this post as there is somthing better I want.
userjosh704
I think I could do the event, but I need to better understand what you're talking about. Try to explain this idea in real world terms. Is it a magic book or do normal books make me BETTER at something after I learn from them? Are they items you collect and can put in your inventory or interactive objects/events on a field map?
Renkai141
Book on shelf.
Add choice :
MSG : Pickup book? YES/NO

Msg : You have picked up the book.(sat down or read while standing, move your character to the place where you desired him/her to go)
Move event, Character-(desired destination).

Page 1(show picture, center of screen)
Page Next
Page Back
Close
^normal msg's

To fix yer code :
Dat Code
Hero Variable : Variable 001(Which means, the first character set up in the main database)

Move Event...: Hero ,FaceRight
Fork optn: Book of Knights Item Got
Memorize BGM
Play BGM: Tavern
Messg: You read an interesting book about the knights of
old...

Play SE: increase
Variable Ch:Vr:001 Defense up Set,Samson Defense
Variable Ch:Vr:001, Defense up +10
Messg:Your defense increased by 10!(or gradually)

Else Case

End Case
Play Memorized BGM


If you want to use another character or to make someone other than your main character read it.
You would simply assign every character to their defining code upon in the database(which is done automatically- since you can show any of your character's name, without having to type it, if you use the help file)

msg : "Who would read this book"
Condition if : Party size 3
Assign, 001(spot) = Hero(001)
Assign, 002(spot) = whoever is on (002)
Assign, 003(spot) - whoever is on (003) -variables(character) = equals a number.
(THEN, that number will be shown upon who is in which place)
Show choices :
\\ Shows "\".
\c[n] Changes the text color to the color that matches n, n being a number from 0 to 19.
\s[n] Changes the text speed to n, where n is a number from 1 to 20, 1 being the fastest.
\n[n] Displays the name of the hero in the database with ID n, n being any numerical value. (\n[0] will show the name of the first member in the current party)
Commands
\v[n] Displays the value held in variable n, n being any numerical value.
\$ Shows the amount of money held.

\! The remainder of the message after this code is only shown when the player presses a key.
\. Adds a 1/4 second delay to the part of the message which follows this code.
\| Adds a 1 second delay to the part of the message which follows this code.
\> / \< Displays the part of the message between \> and \< instantly.
\^ Closes the message window without key input.
\_ Shows half a space.

Choice 1 : \v[001]
Choice 2 : \v[002]
Choice 3 : \v[003]

And whoever reads it.
Dat Code
Hero Variable : Variable 001(Which means, the first character set up in the main database)

Move Event...: Hero ,FaceRight
Fork optn: Book of Knights Item Got
Memorize BGM
Play BGM: Tavern
Messg: You read an interesting book about the knights of
old...

Play SE: increase
Variable Ch:Vr:001 Defense up Set,Samson Defense
Variable Ch:Vr:001, Defense up +10
Messg:Your defense increased by 10!(or gradually)

Else Case

End Case
Play Memorized BGM


I am not 100 percent sure i did this 100% right or not, but I hope it sorta gives you the blueprint.
I also recommend you downloading Rpg maker 2009- helping the earlier engines work better/faster with MUCH cleaner spaces and given much more opportunities to keep up. It should be on the rpg discussion forums or google.
atlus
oh you mean rpgmaker ultimate. Yes I agree it is much better. I have been using it for a while now. and this looks awsome. Itl make thi ngs real interesting. I am also thinking about make a SMT:Soul hacker levelup system too.anyway back to this. How does this sound. After you gain say 50 defense your defense level will increase and who knows what will happen. Mabye you gain a new skill? Hmmmmm.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.