Author Topic: [XP] Journal  (Read 24720 times)

Offline TJ01

  • Trained Member
  • *
  • Posts: 14
  • LV: 0
    • View Profile
Re: [XP] Journal
« Reply #40 on: April 12, 2011, 04:54:51 PM »
Now the game crashes, when I call "$scene = Scene_Journal.new"

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Journal
« Reply #41 on: April 12, 2011, 11:50:55 PM »
That probably means something is not being configured correctly, but I will look into it. The lines I removed captured an exception if there was an error referencing the configuration. They would prevent a crash and print the ID that was passed.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline elmangakac

  • Transcended Spirit
  • ***
  • Posts: 171
  • LV: -3
    • View Profile
    • Cesar&Friends (My Manga in Spanish)
Re: [XP] Journal
« Reply #42 on: April 13, 2011, 03:30:22 AM »
i have the same mistake.... and the only thing that i change was the info of the items.....maybe its the script.... O_o

Heart of Onyx

  • Guest
Re: [XP] Journal
« Reply #43 on: July 07, 2011, 06:27:02 PM »
Having a problem.

My game has quite a few actors in it. (12 to be exact.) And, I keep getting syntax error when I playtest the game. The problem is with the following line:

Code: [Select]
   when 9 then ['Name', 'Race', 'Age', 'Height', 'Weight']  
It's bizarre. If I delete this line, it works. I can't wrap my head around what the problem is.

EDIT: Turns out It was caused by another script. No worries, I fixed it.
« Last Edit: July 07, 2011, 06:36:11 PM by Heart of Onyx »

Offline Cates

  • Trained Member
  • *
  • Posts: 13
  • LV: 1
    • View Profile
Re: [XP] Journal
« Reply #44 on: July 26, 2011, 05:15:46 AM »
I have a suggestion for an addition: have the journal recognize an actor's name after it has been changed by the player.

For instance, let's say actor 1 is named Serge, and I set up a journal entry for Serge when the game begins. Now, however, if I give the player the option to change Serge's name, and they rename him Bubba, the journal (of course) still says "Serge."

Don't know how possible it is, but It would be really cool if there was a way within the journal to recognize a name input change and change the journal entry.

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Journal
« Reply #45 on: July 26, 2011, 05:49:21 AM »
In the config, set the value for the actor's name to:

Code: [Select]
$game_actors[DATABASE_ID].name
This will display the name dynamically in the scene to what it is currently.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Offline Cates

  • Trained Member
  • *
  • Posts: 13
  • LV: 1
    • View Profile
Re: [XP] Journal
« Reply #46 on: July 26, 2011, 06:48:44 AM »
Great! Thanks.

geebrit

  • Guest
Re: [XP] Journal
« Reply #47 on: August 10, 2011, 04:31:06 AM »
Thank you so much for the wonderful script! It's just what I needed.

I have some questions, if it's alright?

1) How can I delete entries in the journal?
2) How can I replace the default main menu with this journal?

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Journal
« Reply #48 on: August 10, 2011, 04:57:38 AM »
* Updates script to 2.4 *

I added script calls for deleting entries.
Basically just added the little scriptlet from this post to the main script.

@geebrit:
I hope the update answers your first question.
As for the second question...

(click to show/hide)

Just paste that below the default scripts.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

geebrit

  • Guest
Re: [XP] Journal
« Reply #49 on: August 10, 2011, 06:42:27 AM »
* Updates script to 2.4 *

I added script calls for deleting entries.
Basically just added the little scriptlet from this post to the main script.

@geebrit:
I hope the update answers your first question.
As for the second question...

(click to show/hide)

Just paste that below the default scripts.

Works like a charm!

At first the menu replacement didn't work, but I realized you probably meant "Scene_Map" and not "Scene_Menu." It's looking great now. Thanks for all of the help!  :haha:

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Journal
« Reply #50 on: August 10, 2011, 02:00:48 PM »
Ooops, yeah, that should be Scene_Map. :P
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

A Better Bard

  • Guest
Re: [XP] Journal
« Reply #51 on: September 05, 2011, 08:33:15 PM »
I fiddled with this a bit, but the extent of my scripting knowledge wasn't enough to accomplish my goal.

How would I embed new categories in each section?

So lets say I select 'People', it would give me another list categories like 'Heroes', 'Villains', 'Gods', and each one of those would have the usual selections with info... For example.

 :)

Offline ForeverZer0

  • CP's Pedophile
  • Global Moderator
  • Guardian of Chaos
  • ****
  • Posts: 3255
  • LV: 298
  • Gender: Male
  • Remember you are unique, just like everyone else.
    • View Profile
Re: [XP] Journal
« Reply #52 on: September 05, 2011, 08:54:58 PM »
This script is rather simple and is not really set up for that.  There is no simple and quick explanation on how to do it, you kinda just need to know scripting well enough.  Basically, create a sub-window with configurable commands, and update methods for each that will take you to the appropriate entry when selected.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

A Better Bard

  • Guest
Re: [XP] Journal
« Reply #53 on: September 05, 2011, 09:16:10 PM »
Thaat's what I figured. I guess i'll just mess around with it some more until something works. Hah, thanks.

Love the script by the way!

Offline hyakkivn

  • Trained Member
  • *
  • Posts: 14
  • LV: -1
    • View Profile
Re: [XP] Journal
« Reply #54 on: September 06, 2011, 02:49:54 PM »
How can I call this script from menu bar.
Quote
$scene = Scene_Journal.new
One more question: How can I add the point adding system after level up in the menu bar as well.
Actually, I'm a :n00b: and don't know about scripting, for the Point adding system that I found in this forum, I have to create an event and call the script from that event. It is unconfortable. 

Solusandra

  • Guest
Re: [XP] Journal
« Reply #55 on: October 05, 2011, 09:19:31 PM »
Hey, sorry for bumping up an old topic. I'm loving this script, I was just wondering how you could make an item show up in blue or something when it's a new addition.

I fiddled around a bit, I figure you want a true / false trigger so when you do the "add" entry it flags as new, then when you read it, the read sets the trigger to false / read. Might help if a script trigger can flag it as new as well, in case the entry gets updated (which I figured out pretty readily, but that unfortunately is the limit of my own script customising abilities)