Skip to content

How do I add new artifacts?

User Avatar
#1
Auto-translated
I'm completely stuck. Here's the gist: 1) I duplicated the Sword of Power file and renamed it. 2) I added my own name to RefTables: "Sword of Hellfire" +6 to attack. 3) I duplicated the Shared file for the Sword of Power and edited it, connecting all the links to my data, resulting in my own name, description, and stats (+6 attack). 4) I changed the artifact highlight effect from the original golden color of the Sword of Power to red, like Major artifacts. 5) I also increased the value and price, making it a Major artifact. 6) Only the model, texture, and icon from the original Sword of Power remain (for now, this is sufficient for testing). But nothing works! It doesn't appear on the map (I created a test map with 40 random Major artifacts near the castle and checked with restarts). Also, my artifact's file doesn't have an ObjectRecordID like the artifacts from the very first version of Heroes 5 (let's say Sword of Power = 7). But the artifacts from the Hammers of Fate and Tribes of the East expansions also don't have these RecordIDs (so, in theory, it should work without them, just like with music, where the originals had IDs, but the tracks from the expansions didn't. I copied the links without IDs and edited them for my tracks, and it worked). Here's a comparison: Amazing Bow, Sword of Power, Sword of Hellfire. In addition, the IDs for artifacts in scripts and ObjectRecordID are different. And I couldn't find a list of ObjectRecordIDs for artifacts anywhere. I really want to add artifacts from Heroes 3: Armageddon's Blade, but I can't. If anyone knows anything about this, I'd be happy to see your comments here.
Ссылка на мой мод Heroes 5 Armageddons Blade

Ссылка на мои уроки по модостроению в Героях 5

Ссылка на мой Artstation