nowus777 Posted September 7, 2018 Share Posted September 7, 2018 Hi, Ive got problem with notes in journal in my mod for BGEE. Notes are written in "journal part", not in "quest part". How can I change it? Where am i wrong? In setup.tp2: ADD_JOURNAL TITLE (@0) @1 @2 @3 USING ~mode\tra\%LANGUAGE%\NPCJ.tra~ In NPCJ.tra: @0 = ~title~@1 = ~bla bla1~@2 = ~bla bla2~@3 = ~bla bla3~ In NPCJ.d, for example: IF~~THEN BEGIN SIMPLE1SAY~qwertyyuui~IF~~THEN DO~SetGlobal("nevermind","GLOBAL",2)~UNSOLVED_JOURNAL @1 EXITEND or IF~~THEN BEGIN SIMPLE2SAY~qwertyyufdgfghghgghhfui~IF~~THEN DO~SetGlobal("neverminddfsdfgfg","GLOBAL",4) EraseJournalEntry(@1)~SOLVED_JOURNAL @3 EXITEND I will be very grateful for help Quote Link to comment
Avenger Posted September 8, 2018 Share Posted September 8, 2018 Look for function buildQuestsTable() in bgee.lua. In order to have a quest you need to call: createQuest ( 74295 ) to create a group, and createEntry ( 74295, -1, 96383, {}, nil ) to create an entry. Quote Link to comment
nowus777 Posted September 8, 2018 Author Share Posted September 8, 2018 (edited) Can you give me more details? Im still learning Edited September 8, 2018 by nowus777 Quote Link to comment
Avenger Posted September 11, 2018 Share Posted September 11, 2018 (edited) Sadly, I can't tell you the magic weidu command of the day that would add a quest to bgee.lua. Because i've never gone too deep into weidu. ADD_JOURNAL TITLE sounds like what you need. From its doc: If the game is of an EE-type, this action patches BGEE.SQL or BGEE.LUA (depending on game version) with the provided quests and journal entries, so they will work with the EE-type journal system. You probably need to check your weidu version (240 should be ok). Then look at the changes it does to bgee.lua (it should go into the override). If it changed bgee.sql then you definitely have to upgrade (bgee.sql is an outdated file). Edited September 11, 2018 by Avenger Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.