Logo Platform
logo amplifiers simplified

Need help to add a new Broken Lord hero

Reply
Copied to clipboard!
9 years ago
Oct 21, 2015, 10:07:06 PM
With the great example of the Kaldyr's mod (which works perfectly), I wanted to create a Broken Lord cavalry hero, with the model of the standard BL cavalry.



I have done pretty much the same as Kaldyr to add this hero but after having bought more than 80 heroes on the market (with cheats ^^), no way to find him.



So Pikou could you help me to spot what Ive done wrong ?



Here is the file I use :



Even More Heroes.rar



EDIT : I spotted an error, I updated my build, I need to test it if that was the main issue (forgot the "hero specific rank" in BodyDefinition and a few other things) and if it displays correctly. But It would kind from you to check the files too smiley: stickouttongue
0Send private message
0Send private message
9 years ago
Oct 23, 2015, 8:36:11 AM
First errors spotted:



It seems you use the same profile name as an existing one, UnitProfileBrokenLordsHero7.

It will overwrite the existing one thus you cannot do such a thing.

I suggest you use the name = UnitProfileBrokenLordsHero9 to add your new hero.

Be careful too, in UnitProfileNames[Hero].xml you forgot the "s" to BrokenLord"s"



For the unit body it is a bit trickier.

It seems you copy/paste the elements of a unit. Thus, the body is not Hidden as it should and you also have a custom cost and a technology requirement for Unit2 which are totally useless for a hero.

In order to carry a shield you will have to add a unitbodystance too.

Just take a closer look at the BrokenLordsHero example placed some lines before your own addition. It should help you a lot.



Last but not least, you have changed the unitbodydefinition. It means the 3D model cannot be called properly according to our system based on unitbody names.

You will have to use a custom system to call the model you want. I recommand you to have a look at the tutorial on this point and if it appears to complicated I will help you again.



I hope it will clear things up.

Wish you the best.

Pikou
0Send private message
9 years ago
Oct 23, 2015, 9:03:02 AM
Thx alot Pikou, I've done some stupid misstakes indeed smiley: stickouttongue



They are all easy to fix but I dont really get what you meant in your last point (about unitbodydefinition). What do you mean by custom system ? And what tutorial are you talking about ?
0Send private message
9 years ago
Oct 23, 2015, 9:14:08 AM
My pleasure to help smiley: smile



Sorry for the cryptic end of message. I was talking about this thread: /#/endless-legend/forum/15-modding/thread/5777-tutorials-for-modding-endless-legend

The tutorial is also here > [ATTACH]17027[/ATTACH] (currently version 4)



I've tried to explain in it most of the modding possibilities of the game.

For the swap of model and the custom system I was talking about just go page 12.



I hope it will help you!
0Send private message
9 years ago
Oct 23, 2015, 9:30:08 AM
Ok Im working on it. Nearly finished.

EDIT : Weird, it crashes on start now.

Must have done something wrong. Re-reading your tutorial...

Even More Heroes.rar



One last thing !

You mention creating a faction with several custom units with swapped models. I always wanted to create a faction based on Minor Factions.



Im not sure you can add another faction to the game but if im wrong well... I would be pleased to look at the tutorial smiley: stickouttongue
0Send private message
0Send private message
9 years ago
Oct 23, 2015, 2:07:12 PM
Pikou wrote:
It was crashing because of a wrong closing of a line



I made some tiny adjustements (main reference file was missing) and "voilà":





Enjoy > Even More Heroes.rar




Oh damn... I should have used a validator... Merci Pikou smiley: stickouttongue



Hmm doesnt work sadly. Cant spot the issue, see what's happening :



I think it is linked to the unit profile (because its a custom mapping so it might cause the issue) but I dont know how to fix it.



And, about the adding a faction ? Is there a tutorial I missed or ?
0Send private message
9 years ago
Oct 23, 2015, 3:17:33 PM
Dual Wield ability is not listed which seems strange to me.

I will have a look at it as soon as possible.

I'm not sure adding a faction is possible because aside from units there are a certain amount of other things which are automatically generated on the base of the faction name/affinity :/

You can only replace an existing faction with yours.

Tutorial is a compilation of what you can do (changing 2D arts, units, adding technology, skill, improvements, etc.)
0Send private message
9 years ago
Oct 23, 2015, 3:33:29 PM
Pikou wrote:
Dual Wield ability is not listed which seems strange to me.

I will have a look at it as soon as possible.

I'm not sure adding a faction is possible because aside from units there are a certain amount of other things which are automatically generated on the base of the faction name/affinity :/

You can only replace an existing faction with yours.

Tutorial is a compilation of what you can do (changing 2D arts, units, adding technology, skill, improvements, etc.)




Oh I see... Pretty sad.



What u told me to do for Dual-wield is not working :/



And about Sir Barristan, what's happening to him ?
0Send private message
9 years ago
Oct 27, 2015, 10:03:31 AM
Hello again,

Here is your mod updated with the dual wield capacity for all the 1-hand weapons.

Unfortunately the model was really not made to wear 2 weapons.

But at least the bonuses will apply.

Enjoy > Even More Heroes.rar
0Send private message
?

Click here to login

Reply
Comment