-
August 3rd, 2021, 21:04 #91
- Join Date
- Jun 2010
- Location
- Vancouver, BC
- Posts
- 382
I described it in the private message I sent you.
Using the latest MoreCore, add the OSE extension (first message from this thread), and add the .mod file I sent you. Within FG, inside the library, you can "activate" the mod and be able to add NPCs.Last edited by Stitched; August 3rd, 2021 at 23:33.
-
August 3rd, 2021, 21:04 #92
- Join Date
- Jun 2010
- Location
- Vancouver, BC
- Posts
- 382
-
August 4th, 2021, 08:00 #93
Is there a way to create effects with Morecore and OSE like a +1 or -1 effect?
-
August 4th, 2021, 17:24 #94
- Join Date
- Jun 2010
- Location
- Vancouver, BC
- Posts
- 382
Upper Right Panel, under "Mod".
Capture.PNG
Box to the right of the text entry is your +/- modifier to rolls. If you want to apply an effect to a roll, select the +- button on the left of the text and roll as you would normally (attacks, saving throws, ability checks, etc.)
For Status Effects, look under the Upper Right Panel "FX" (or something similar): It'll allow you to name/define the Effect and the Duration. This will be draggable onto the Effect subtab of the Combat Tracker character/NPC sheets.Last edited by Stitched; August 4th, 2021 at 18:38.
-
August 5th, 2021, 02:05 #95
-
August 13th, 2021, 19:24 #96
- Join Date
- Jun 2010
- Location
- Vancouver, BC
- Posts
- 382
Further digging into the Encounter/NPC code break
So, further digging into the Encounter/NPC code break, I unzipped the CoreRPG ruleset and found the file/reference the error produces - "campaign/scripts/encounter_npclist.lua" which looks like this:
Code:if draginfo.isType("shortcut") then local sClass,sRecord = draginfo.getShortcutData(); NPCManager.addLinkToBattle(window.getDatabaseNode(), sClass, sRecord); return true; end end
Code:function addLinkToBattle(nodeBattle, sLinkClass, sLinkRecord, nCount) local sTargetNPCList = LibraryData.getCustomData("battle", "npclist") or "npclist"; if sLinkClass == "battle" then local nodeTargetNPCList = DB.createChild(nodeBattle, sTargetNPCList); for _,nodeSrcNPC in pairs(DB.getChildren(DB.getPath(sLinkRecord, sTargetNPCList))) do local nodeTargetNPC = DB.createChild(nodeTargetNPCList); DB.copyNode(nodeSrcNPC, nodeTargetNPC); if nCount then DB.setValue(nodeTargetNPC, "count", "number", DB.getValue(nodeTargetNPC, "count", 1) * nCount); end end else local bHandle = false; local sLinkSourceType = NPCManager.getNPCSourceType(sLinkRecord); if sLinkSourceType == "npc" then bHandle = true; else local aCombatClasses = LibraryData.getCustomData("battle", "acceptdrop") or { "npc" }; if StringManager.contains(aCombatClasses, sLinkSourceType) then bHandle = true; elseif StringManager.contains(aCombatClasses, sLinkClass) then ChatManager.SystemMessage(Interface.getString("battle_message_wrong_source")); return false; end end if bHandle then local sName = DB.getValue(DB.getPath(sLinkRecord, "name"), ""); local nodeTargetNPCList = DB.createChild(nodeBattle, sTargetNPCList); local nodeTargetNPC = DB.createChild(nodeTargetNPCList); DB.setValue(nodeTargetNPC, "count", "number", nCount or 1); DB.setValue(nodeTargetNPC, "name", "string", sName); DB.setValue(nodeTargetNPC, "link", "windowreference", sLinkClass, sLinkRecord); local nodeID = DB.getChild(sLinkRecord, "isidentified"); if nodeID then DB.setValue(nodeTargetNPC, "isidentified", "number", nodeID.getValue()); end local sToken = DB.getValue(DB.getPath(sLinkRecord, "token"), ""); if sToken == "" or not Interface.isToken(sToken) then local sLetter = StringManager.trim(sName):match("^([a-zA-Z])"); if sLetter then sToken = "tokens/Medium/" .. sLetter:lower() .. ".png@Letter Tokens"; else sToken = "tokens/Medium/z.png@Letter Tokens"; end end DB.setValue(nodeTargetNPC, "token", "token", sToken); else return false; end end return true; end
How MoreCore displays NPCs in Encounters.
NPC_Class_Data.PNG
I think OSE has some kind of missing/broken link to any of the elements shown in the MoreCore Encouter/NPCs : The token, the # of NPCs, the name string, the ID, the Faction, the Skull shortcut (to the individual NPC stats)
Where these are stored/defined in the OSE rules, I do not know. Some kind of definition file for NPC data OR the way the NPC data is handled (like the above manager_npc.lua file). From what I can see inside the OSE ruleset, there doesn't seem to be any custom handler so it relies on the CoreRPG/MoreCore functionality and breaks due to a disconnect of fields/datatypes stored.
Really wish the Extension creator hadn't abandoned their code for a year.
-
August 15th, 2021, 01:00 #97
Ok I have found and fixed the NPC/Encounter issue.
Uploading to the first post now.
-
August 15th, 2021, 01:28 #98
- Join Date
- Jun 2010
- Location
- Vancouver, BC
- Posts
- 382
Fantastic.
Thanks you so much!
-
August 15th, 2021, 02:13 #99
-
August 18th, 2021, 15:01 #100
- Join Date
- Jun 2020
- Posts
- 538
Hi all, I've been following this thread since I am interested in getting into OSE sometime in the future. Just wondering, is it possible to load up the existing classic D&D FG modules in the MoreCore/OSE ruleset? For instance any of the converted B/E adventures, or the AD&D adventures?
From what I understand, AD&D 1e/2e is pretty easy to convert and run those modules in OSE, but not sure if those modules are supported by MoreCore.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks