Jump to content
Ainz Ooal Gown

[AOG] Journal/Tradeskill Book + Alignment System

Recommended Posts


Player journal / trade-skill book that a player can click to open and display stats about character, but also showing in inventory book opening and closing. With in the trade-skill book on player information page the player can check character alignment which has been integrated with the journal system. It works by showing a page in the journal depending on what the players alignment points are at, this way the page can show the name of of the players current alignment such as: Divine, Good, Neutral, Evil, Demonic.


You can rip out the alignment system and just have the 3 pages to go to with no conditions on alignment needed. I just didn't want to rip it out to do a tutorial so left it in as a joint system.






  1. Click on trade-skill book item in inventory.
  2. Book opens in inventory.
  3. Opens a a show options command in events showing 3 pages and a close option
  4. Each page can be customized the way you want, I did Journal Information, Weapon Skills, Trade Skills.
  5. Close trade skill book closes book in inventory.





Addon: (Needed to add/remove alignment points)

[AOG] Alignment System Add On - Gaining/Losing Alignment Points



If you want to keep the alignment system with the journal, then we need to create the variable to hold the players alignment points:




NOTE: Switch is optional. I use it as at some point in my game the player will lose all ability to see stats and such. So the switch is optional to if you want to do that at some point in your game. If not then do not add the switch and later on when we come to making the common event just skip out the condition at the very beginning.


We also want a "Player Switch" for the Journal:




Next we need a book with a closed and open state.


Then we need to create 2 items, first for the book closed and second for the book opened. Name the books the same, but just remember which order you created them in:


NOTE: We have not created the "Event" yet so don't worry about the item type. We will come back to that.


Book Closed:



Book Open:



Now we have the items and variables created we can make the "Common Event".


Here is the Event Flow::

  1. Check is Player Switch "Journal" = False (Optional Condition)
  2. Take Item "Book Of Trade" (Closed Book Item)
  3. Give Item "Book Of Trade" (Open Book Item)
    1. This will make the book look open in the players inventory.
  4. Check player "Alignment Points"(AP) as a condition then goto that value based on (This is long due to the alignment system. I have it so depending on what alignment points the player is at, it shows a "Option Set" so I can display wording for the variable value  (because you cant do that at the moment)):
    1. AP <= 100 = Divine

    2. AP <= 2999 = Good

    3. AP <= 10000 = Neutral

    4. AP <= 14999 = Evil

    5. AP > 15000 = Demonic

  5. Based on alignment point value display an Option Set.

  6. Default page for opening a Journal is the "Journal Information" page.

  7. Button clicks on each page take you to a different page with in the journal: Journal Information, Weapon Skills, Trade Skills and Close Book.

  8. Close Book will close down the event and do a reverse on the take/give item from start of event:

    1. Take Item "Book Of Trade" (Open Book Item)
    2. Give Item "Book Of Trade" (Close Book Item)
      1. This will make the book look closed in the players inventory.


Here is the "Journal Information" page (so you have an idea on how I did mine, not going to show every page):


Journal Information

Name: \pn

Alignment: Divine
Alignment Points: \pv{alignmentpoints}
Criminal: \pv{criminal}

Quest Points: \pv{qp}
Adventuring: \pv{adventuring}

Skill Points: \pv{sp}
Trade Points: \pv{tp}

Heroic Kills:
Monters Slain: \pv{monsterslain}
Creatures Slain: \pv{creatureslain}
Demonics Slain: \pv{demonicslain}
Justified: \pv{justified}

Evil Kills:
Animals Slain: \pv{animalslain}
NPCs Slain: \pv{npcslain}
Heroes Slain: \pv{heroeslain}
Murders: \pv{murders}

Time: \24hour : \minute : \second
Guardians Online: \onlinecount


Here is the alignment point conditions for each "Jounral Information" page:


AP <= 100 = Divine



AP <= 2999 = Good



AP <= 10000 = Neutral



AP <= 14999 = Evil



AP > 15000 = Demonic



Now for the beefy bit, building the "Common Event". If you don't want the alignment system, then this bit will be short and only need to do the top bit up to the close book and swapping the player items and also remove the "Alignment Condition". If you do want the alignment system then copy the below in full.






Now we need to go back and set the Item Types to the "Common Event - Journal" we just created:


NOTE:  We only set the "Common Event" to the "Book Closed" so that only runs the event. We do set the "Book Open" to a type "Event" so it is displayed as a "Special Item", but we do not apply an event to it.


Book Closed:



Book Open:





Now just give you players that "Closed Book" Item and they will have a wokring Journal to show additional player/game stats.


You could also bound the "Items" and set the "Closed Book" as a "Spawn Items" with in "Classes" so the player will have Journal from start of game, and will always have it.


Hope you Enjoy :)


Dont forget the Addon: (Needed to add/remove alignment points)

[AOG] Alignment System Add On - Gaining/Losing Alignment Points


Share this post

Link to post
Share on other sites
8 hours ago, davidsaid06 said:

Actually this helps a lot, im looking forward to your tutorials!


Glad is helps, I hoping from my tutorials people cant learn more about the event system in Intersect.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now