Is there code that can be put into the campaign heroes .xdb files that can have them start with an artifact or does this have to be done by script?
I noticed in the actual scenerio map .xdb for the start characters have this single entry "<artifactIDs/>".
Will this add artifacts to the start hero? If so what is the correct syntax?
You can find the internal artifact names in artifacts.xdb in RefTables folder in Data. Or the Editor Documentation folder in the game's directory I would imagine.
Take that with a grain of salt as I cannot check if this works atm.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb
Jaylo said:Is there code that can be put into the campaign heroes .xdb files that can have them start with an artifact or does this have to be done by script?
I noticed in the actual scenerio map .xdb for the start characters have this single entry "<artifactIDs/>".
Will this add artifacts to the start hero? If so what is the correct syntax?
Granted, it's hard to figure out what the code is.
This is a little unrelated but I kinda wish I had edited my campaign heroes like you plan to. I hate when you get wm and a mission has no town or wm factory nor do your warmachines carry over between missions.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb
I then tried replacing the code line <artifactIDs/> found in Isabell's section in C1M1.xdb with the same code above and that didn't work either.
As a test i changed her starting squires to ten which did change so i have the right map file.