Journal Entries
Open up Unded1. (to my knowlege, you have to use unded1 instead of 2)
On the right of the screen select Actor / Invisible - Info - JournalEntry.
Click on JournalEntry itself. (at the bottom it will say Aeons.JournalEntry
(scripted) )
Click on 'New..' at the bottom of the screen. You will now get a 'create new
actor class' box appear.
Parent class should be journalentry, package name will be the name of the
.u file that you will be creating, and 'new actor class name' is the name of
the "journal entry" so to speak. select a name for the package (eg,
osirispack),. and select a name for your first journal entry (eg, osirisstory01).
When you press enter, the package will be created. What you then have to do
is save the package.
Right click on what you just created (eg. osirisstory01) - and click on 'save
classes'.You will then get the following window up where you can select which
package to save ,. in this case its 'osirispack'.
You have now created the .u file in your undying/system folder. Go have a
look.
You now need to create the .int file that contains the actual 'messages' etc.
(check below - these couple of lines are from the original Aeons.int file,.
in your system folder, which is how the originals were done, but oviously dont
overwrite or do anything to this file). Now you save the .int file out. (make
sure its .int and not .txt or .doc , and make sure you put this file in your
undying/system folder) The name of this file should be the same name as the
.u file we just created. (in this case osirispack.int).
Now before anything else ,. you need to compile the script you just created.
Easiest way of doing this is to goto 'load' at the bottom right of your screen,
and select the package you just created, in this case, osirispack. that will
automatically compile it. Now go save it once more as above.
Now inside the editor ,. in your 'map' , just for example,. in your classes
on the right of the screen,. select Actor / Visible - Inventory - Pickup - Journalpickup
- Scrollpickup. Now place it in your map somewhere.
Now go find the 'osirisstory01' entry again (inside journalentry). click on
it. Bring up the properties of the scroll we just placed in our map and click
on Journalpickup, then JournalClass. Now click 'use' and it will fill in with
'osirisstory01'.
Save the map. You should now be able to run the map,. pick up the scroll ,
and hit F3 and see your entry. You obviously arent limited to using the scroll
, you could use the book, or trigger a journal entry (example : in original
game, when you picked a new spell up it triggered the necessary journal entry
info for that spell,.) Creating more entries should be straight forward., as
all you are doing is creating more 'osirisstory01/02/03 etc' inside your 'osirispack'
.u file.
Extra :
&n forces a new line , &i imagepath &i , will insert a texture
so you can have pictures in your journal entries. bShowImmediate will force
the book to be opened when a journal is picked up