[RESOLVED] Journals

Started by Lost_Hope, January 22, 2008, 12:24:37 pm

Previous topic - Next topic

Calintz

I noticed, Lol...and I downloaded it  :P

Credits to you Nortos?? I think I'm gonna use this...

Nortos

no Blizz I just accidently cut off his name at the top of the script lol

Calintz

Lol...
*accidently*

All right, I'll credit him. Do you get any credit at all??

Nortos

nah all I did was make a demo

Calintz

All right...thnx for being honest ;D

Sally

January 22, 2008, 10:28:58 pm #25 Last Edit: January 22, 2008, 10:29:58 pm by Susys
this seams cool. i think imma use it! :)

credit to:

blizard for script

seaniorsr  for idea

Calintz

If you put too much text in this window, what happens??
I really think that the script that Fantasist made for my Artwok Viewer would be perfect for this script!! The screen panning one.

Nortos

Well it would just go off the viewpoint probably but I don't think you would need to much text also want me to see about getting the paning? though I don't know why would want it in a journal

Calintz

January 22, 2008, 10:40:10 pm #28 Last Edit: January 22, 2008, 10:40:50 pm by Calintz16438
Well, can this script handle pages??

Like:                                                               
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~And by pressing left and right, you scroll through pages...

<<                         Page 1                         >>

Nortos

yeah but the pans not avaliable as he;s using text and in a window class I hadn't looked at his code

Calintz

I'm sure it could be modified in some manner, but don't worry about it. If I can use pages, I'm not concerned with the pan feature. Ok, so how do I use pages with this script??

Nortos

I'll do it it'll be pretty easy and than I'll put up a demo for you

Calintz

All right, and another Q...

#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
# START Text Database
#
#   This is your Text Database. Add any of the texts with a corresponding key.
#   Configure it like this template:
#
#   when KEY then return "TEXT"
#   
#   KEY  - a number
#   TEXT - the corresponding text
#   
#   The text will automatically be formatted.
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    when 0 then return "You haven't written anything in your journal yet!!"
    when 1 then return "The variable was changed to 1."
    when 2 then return "This text repeats itself. This text repeats itself!!"

So the # is actually the value of the variable that handles this script??

Nortos

yeah the default variable for that script is 10 and than you can either set it to whichever one you want for script or easiest way might just be make a common event that adds 1 to that variable and everytime you want a new entry you call that common event

Dark Dragon

Yep and just in case you don't know :
you edit this global variable to change the text :
$game_variables[JOURNAL_VARIABLE_ID]
For example
Day1
$game_variables[JOURNAL_VARIABLE_ID] = 1
text = "I just killed my dog today"
Day2
$game_variables[JOURNAL_VARIABLE_ID] +=1
text = "I killed myself today"

Calintz

I think I understand...That kinda makes it a condition, right??

Nortos

I may as well just use Blizz's bestiary and edit that that would be a lot easier

Blizzard

January 23, 2008, 06:31:43 am #37 Last Edit: January 23, 2008, 06:35:20 am by Blizzard
My bad, it should be:

#   Call the scene with following syntax:
#   
#     $scene = Scene_Journal.new
#     
#   If you want to change the display, simply change the assigned variable's
#   value to the key corresponding to the given text.
#   

*edits post above*

@Calintz: Sure, you can use it. If you really have that much text so you need more pages, I can add that feature.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Nortos

Calintz :( sorry I can't get it to work with event switches and text I'm a nub :P if you don't mind I'll post a copy and you just have the entry as an image or someone else can do it

Lost_Hope

nvm...I kinda wanted it like KH but I still don't understand this shit...