|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
In this thread I will be asking questions relating to modding, and hopefully I will be able to get some answers
So on to the first question:
1. How do I create a new human NPC for use in all campaigns?, I have created the NPC itself, but dont know how to edit his equipment or spells and stats
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
Right, I have created some new npcs, added them, into a custom faction, right now i want to make sure he shows up in specific gear.
How do I do that
|
|
|
|
old hand
|
old hand
Joined: Jun 2013
|
On the side bar you'll find a listing called "equipment". Pick something from the list and the NPC will get the gear after you reload the level/stats.
You can make custom equipment entries as well but that's a tad more complicated. Make sure to mind the racial component of the equipment entries as well. If you pick something for a dwarf on a lizard the lizard might have missing bodyparts due to wearing the wrong armor.
|
|
|
|
old hand
|
old hand
Joined: Jun 2013
|
The equipment.txt file goes in: \Divinity Original Sin 2\Data\Public\YOUR MOD HERE\Stats\Generated
Once in there you should be able to select on the side bar the entries you created.
Last edited by SniperHF; 16/09/17 08:09 PM.
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
Last edited by GeneralKong; 16/09/17 08:26 PM.
|
|
|
|
old hand
|
old hand
Joined: Jun 2013
|
Have you checked to see if the items are on the characters regardless of the visual?
To do that on the side bar just make one of them as "IsPlayer" and then press the game mode button on the top left. Then check the inventory.
|
|
|
|
old hand
|
old hand
Joined: Jun 2013
|
Can you post the syntax of your equipment.txt file entries in a code block like this [code][/code] Only the ones you made.
Last edited by SniperHF; 16/09/17 09:03 PM.
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
new equipment "BrethrenZealot"
add equipmentgroup
new equipment entry "ARM_Light_Helmet"
add equipmentgroup
new equipment entry "ARM_Light_UpperBody"
add equipmentgroup
new equipment entry "ARM_Light_LowerBody"
add equipmentgroup
new equipment entry "ARM_Light_Gloves"
add equipmentgroup
new equipment entry "ARM_Light_Boots"
add equipmentgroup
new equipment entry "WPN_Sword_1H"
new equipment "BrethrenSentry"
add equipmentgroup
new equipment entry "ARM_Light_Helmet"
add equipmentgroup
new equipment entry "ARM_Light_UpperBody"
add equipmentgroup
new equipment entry "ARM_Light_LowerBody"
add equipmentgroup
new equipment entry "ARM_Light_Gloves"
add equipmentgroup
new equipment entry "ARM_Light_Boots"
add equipmentgroup
new equipment entry "WPN_Bow"
new equipment "BrethrenScout"
add equipmentgroup
new equipment entry "ARM_Light_Helmet"
add equipmentgroup
new equipment entry "ARM_Light_UpperBody"
add equipmentgroup
new equipment entry "ARM_Light_LowerBody"
add equipmentgroup
new equipment entry "ARM_Light_Gloves"
add equipmentgroup
new equipment entry "ARM_Light_Boots"
add equipmentgroup
new equipment entry "WPN_Dagger"
new equipment "BrethrenAcolyte"
add equipmentgroup
new equipment entry "ARM_Light_Helmet"
add equipmentgroup
new equipment entry "ARM_Mage_UpperBody"
add equipmentgroup
new equipment entry "ARM_Mage_LowerBody"
add equipmentgroup
new equipment entry "ARM_Mage_Gloves"
add equipmentgroup
new equipment entry "ARM_Mage_Boots"
add equipmentgroup
new equipment entry "WPN_Staff_Poison"
|
|
|
|
old hand
|
old hand
Joined: Jun 2013
|
Back in the early access version of the editor you couldn't edit equipment entries in the stats editor.
But it appears you can now.
So try doing it that way. Move the .txt file out of the folder.
Open up the stats editor and try it in there. Stats editor is on the top bar toward the right.
Click the + sign next to equipment and try adding it.
Last edited by SniperHF; 16/09/17 11:39 PM.
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
I was actually originally using the Stats Editor for it, not creating a text file and then putting it in
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
I have it all sorted out now :), thanks for the help SniperHF In case anyone else is wondering how I fixed my issue, Caiden's Twitch stream video was what showed me the way, So thank you to Caiden as well
Last edited by GeneralKong; 17/09/17 10:27 PM.
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
Oh yay, a new problem has decided to rear its ugly head, in this case, my stuff wont save in the editor, everytime I click on 'Save All' the message box either only says 'saving palette' or nothing at all
I have tried running it both as Admin and not, neither works
Last edited by GeneralKong; 18/09/17 02:00 AM.
|
|
|
|
addict
|
addict
Joined: Sep 2017
|
Hey GeneralKong,
glad the first issue got resolved! Could you explain what exactly was going wrong? The stats editor is rather new and we'd love to improve the workflow as much as possible!
We'll take a look at the saving issue, what exactly are you trying to save?
CTRL+K the elf
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
On the First Issue: I was trying to insure that the armor that my custom NPC's were wearing would show up in game in a certain way, I was under the mistaken impression that this was governed by the 'Equipment' slot in the Sidebar under the Character Tab, but in fact it was set by the 'Visual Set Indices'.
Once I realized that thanks to the video I mentioned, my problem was sorted.
On the Saving Issue: I am trying to save said custom NPCs, and deleting some previous ones that were no longer needed, however, whenever I save, it only saves palette, and once I load it again, it does not show any of my changes
Last edited by GeneralKong; 18/09/17 11:49 AM.
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
I can make additional Custom NPC's, and they save, but then after wards they dont save then, and cant be deleted
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
I think its possible that I found the culprit, I created a new project, after uninstalling and reinstalling The toolkit, once created, I made some changes, saved, and then it showed that it saved my characters.
Then I clicked on 'render character portraits' and it is no longer saving, so I think I have just been impatient, can anyone confirm how long it would take for the rendering to be done?
EDIT: It seems that (for me at least) render character portraits makes it where I cannot save at all, so I guess either it is broken or something
Last edited by GeneralKong; 18/09/17 05:17 PM.
|
|
|
|
apprentice
|
OP
apprentice
Joined: Sep 2016
|
This is the Message I get when using render character portraits
Code: No photobooth level for this mod? Timestamp: 18-09-2017 18:09:27:597 Function: EoCPlugin::MPortraitManager::RenderPortraits Location: ..\MPortraitManager.cpp (147)
|
|
|
|
apprentice
|
apprentice
Joined: Sep 2016
|
Have you been editing in the sandbox? When I try to edit characters in the sandbox their look doesn't save, even though my newly created entries are saved. I was also having a problem deleting old characters in the sandbox. I just created a new editable level to work with.
I too have been having problems with the portrait manager. You can assign a photobooth level in the Project Settings menu and avoid the problem you mentioned, but that's not a final solution. My newly created characters' portraits are always still linked to whichever root template I copied initially to create my new character. I'm not sure how to change the "Icon" line in the properties window (or what to change it to) or if the portraits are maybe somehow linked to the "Portrait Generation Trigger" line.
When I generate the portraits, have I created a new file, form or template somewhere that I can use when assigning portraits? Or should it just work like magic or something? I might create a separate thread about this issue, as well.
Last edited by Melgrimm; 18/09/17 09:15 PM.
|
|
|
|
|
|