Ainz Ooal Gown Posted April 9, 2019 Share Posted April 9, 2019 Description: 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.  Video: https://www.ascensiongamedev.com/resources/filehost/bcc670d0de58b5817632b7e0333eca66.mp4  Process: Click on trade-skill book item in inventory. Book opens in inventory. Opens a a show options command in events showing 3 pages and a close option Each page can be customized the way you want, I did Journal Information, Weapon Skills, Trade Skills. Close trade skill book closes book in inventory.  Issue: None  Addon: (Needed to add/remove alignment points) [AOG] Alignment System Add On - Gaining/Losing Alignment Points  Aisen's Guild System:  Build:  If you want to keep the alignment system with the journal, then we need to create the variable to hold the players alignment points: Spoiler  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: Spoiler  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: Spoiler 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". Spoiler Here is the Event Flow:: Check is Player Switch "Journal" = False (Optional Condition) Take Item "Book Of Trade" (Closed Book Item) Give Item "Book Of Trade" (Open Book Item) This will make the book look open in the players inventory. 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)): AP <= 100 = Divine AP <= 2999 = Good AP <= 10000 = Neutral AP <= 14999 = Evil AP > 15000 = Demonic Based on alignment point value display an Option Set. Default page for opening a Journal is the "Journal Information" page. Button clicks on each page take you to a different page with in the journal: Journal Information, Weapon Skills, Trade Skills and Close Book. Close Book will close down the event and do a reverse on the take/give item from start of event: Take Item "Book Of Trade" (Open Book Item) Give Item "Book Of Trade" (Close Book Item) 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): Spoiler 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: Spoiler 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: Spoiler 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:  Complete!  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  Beefy Kasplant, Jjvm_, Vio and 5 others 6 2 Link to comment Share on other sites More sharing options...
Beefy Kasplant Posted April 9, 2019 Share Posted April 9, 2019 Cool way of doing this.  Enjoying your tutorials! Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted April 9, 2019 Author Share Posted April 9, 2019 14 minutes ago, Dashplant said: Cool way of doing this.  Enjoying your tutorials!  Thanks buddy  I will be adding my "Hunger / Thirst / Stamina" system next Link to comment Share on other sites More sharing options...
davidsaid06 Posted April 11, 2019 Share Posted April 11, 2019 Actually this helps a lot, im looking forward to your tutorials! Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted April 11, 2019 Author Share Posted April 11, 2019 On 4/11/2019 at 4:55 AM, davidsaid06 said: Actually this helps a lot, im looking forward to your tutorials!  Glad is helps, I’m hoping from my tutorials people can learn more about the event system in Intersect. Link to comment Share on other sites More sharing options...
Slayer Posted August 12, 2019 Share Posted August 12, 2019 Awesome tutorial bro! It really introduced the change item,tags,and text event commands to me. One thing I struggled with going through was I naturally wanted to change the event structure. For whatever reason(probably OCD), I wanted to put the commands for each tag on its each individual page. Maybe you could share an example or direct me towards one so I can better understand how pages work. Back on topic, thanks for a educating tutorial. It has really helped me progress in understanding events better! Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted August 13, 2019 Author Share Posted August 13, 2019 2 hours ago, Slayer said:  Awesome tutorial bro! It really introduced the change item,tags,and text event commands to me. One thing I struggled with going through was I naturally wanted to change the event structure. For whatever reason(probably OCD), I wanted to put the commands for each tag on its each individual page. Maybe you could share an example or direct me towards one so I can better understand how pages work. Back on topic, thanks for a educating tutorial. It has really helped me progress in understanding events better!  Thanks mate, glad you found it helpful  Pages are good for doing separating/different actions when a condition is met. The event system is like code as it reads from top to bottom of a page. So with this you can make is so the event runs through different conditions until one is met then move to a different page and run through that.  I use labels as a go to when something happens on a page. So you can put commands on different pages and have a go to command when a condition or something occurs on a page to then move the event process to that page. You can use self switches but are limited to ABCD, so labels are good as you can have as many as you need, just don’t have too many as I believe the event starts to lag.  So I think of labels as the function name, so you can call/goto a function to start that section of the event.  Trial and error is key to the event system as you always build upon what you have until you make it the exact way you want it. Built it, run it, fix it, change it  The event system is powerful, and the new functions that have been added to B6 only makes is better.  I hope this explains a bit more for you. Link to comment Share on other sites More sharing options...
Minamoto Yoshitsune Posted December 19, 2019 Share Posted December 19, 2019 How do I open the field where the message will appear, not be reduced, look something very similar to the video.  Spoiler Spoiler  Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted December 19, 2019 Author Share Posted December 19, 2019 2 hours ago, SkyZero said: How do I open the field where the message will appear, not be reduced, look something very similar to the video.   Hide contents  Hide contents  you will have to make the dialog images in the GUI bigger then edit the .json file to match the new size. Link to comment Share on other sites More sharing options...
Minamoto Yoshitsune Posted December 20, 2019 Share Posted December 20, 2019 you can show me how edit .json file? have 4 files referent dialogwindows. Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted February 28, 2020 Author Share Posted February 28, 2020 On 12/20/2019 at 6:39 AM, Minamoto Yoshitsune said: you can show me how edit .json file? have 4 files referent dialogwindows. Â This question was answered in a different post. Â Â Link to comment Share on other sites More sharing options...
Beast Boyz Posted August 27, 2020 Share Posted August 27, 2020 Nice tutorial, it helped a lot ! Â But, I used a spell instead of an item, like that, no chance of losing it ^^ Link to comment Share on other sites More sharing options...
Ainz Ooal Gown Posted August 28, 2020 Author Share Posted August 28, 2020 12 hours ago, Beast Realm said: Nice tutorial, it helped a lot ! Â But, I used a spell instead of an item, like that, no chance of losing it ^^ Â Glad it helped you out Link to comment Share on other sites More sharing options...
demsoul Posted July 13, 2022 Share Posted July 13, 2022 Im slow or I dont see switches editor anywhere in my intersect... Link to comment Share on other sites More sharing options...
Gibier Posted July 13, 2022 Share Posted July 13, 2022 1 hour ago, demsoul said: Im slow or I dont see switches editor anywhere in my intersect...  It's in the variable editor  Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now