ENDLESS™ Legend is a turn-based 4X fantasy-strategy game, where you control every aspect of your civilization as you struggle to save your homeworld Auriga. Create your own Legend!
I recently decided to start moddin EL and for my first mod i belived that a new unit for the Broken Lords, a ranged archer-type unit, would be simple enough. Now after 3 days of working on the new unit model and their pdf tutorials i belived i had all working. The sad part is that nothing works. I cant see my mod on the mod list in client, neither any of the chances i made seems to work. Any help? Thanks in advance.
The first piece of advice I can offer is that there is a diagnostic file in Documents\Endless Legend\Temporary Files that you can check when you're having trouble seeing or loading mods.
When I loaded up my mods, I got these errors:
04:02:57:329 STACK Loading runtime module definition from file 'NewBLUnit.xml'...
04:02:57:329 STACK Data type 'QuestBehaviourTreeNode_Action_Tutorial_FocusCamera, Assembly-CSharp' could not be resolved.
[Warning] 04:02:57:330 STACK Invalid runtime module name 'New_Unit_BL_Ranged_Infantry', discarding the module.
I think you have an error between the title tags in GuiElements[UnitDesigns].xml; also the names might be case-sensitive
[CODE]
%UnitBrokenLordsInfantryTitle
%UnitBrokenLordsArcherDescription
[/CODE]
What did you change in Mapping.xml in the Mapping folder?
GuiElements[FactionTraits].xml seems odd; it only has your new unit info. Are you missing all the data from whatever original game file you used.
I don't know anything about adding custom models to the game. Is that what you were doing in SimulationDescriptors[UnitType].xml with this code?
[CODE]
[/CODE]
Could you try getting your unit up and running and then fixing it to a custom model (again, I don't know anything about this) after everything else is working?
Hope something in there helped. I'm not really an expert, but I took a look at your files to help me learn a bit more. Good luck!
I think you have an error between the title tags in GuiElements[UnitDesigns].xml; also the names might be case-sensitive
In my file apparently they are fine, what would be exactly the error?
What did you change in Mapping.xml in the Mapping folder?
This part, there is one or two new lines there.
[CODE]
[/CODE]
I don't know anything about adding custom models to the game. Is that what you were doing in SimulationDescriptors[UnitType].xml with this code?
I belive that that part is where you define the unit itself, after all, that was the only place a saw any attributes. I could be wrong to.
Could you try getting your unit up and running and then fixing it to a custom model (again, I don't know anything about this) after everything else is working?
Inst that what i was doing in all that? No sarcasm intended, im sincerely a noob when comes down to this. I though that you had to do both things at once.
And for the
04:02:57:329 STACK Data type 'QuestBehaviourTreeNode_Action_Tutorial_FocusCamer a, Assembly-CSharp' could not be resolved.
I have absolutly no idea whats wrong there! I dint even changed that line.
I'll highlight (and color, to make it easier to see) the exact places where I see what might be code problems (and again, this is only to try and be helpful; I'm newish to modding)
I think you have an error between the title tags in GuiElements[UnitDesigns].xml; also the names might be case-sensitive
Could you try getting your unit up and running and then fixing it to a custom model (again, I don't know anything about this) after everything else is working?
Corrected the first part on the UnitDesigns.xml (and the GuiElements[FactionTraits].xml also, forgot to mention in the last replay ).
For the custom mapping, i used the tutorial to assign an existing model to a custom unit,i could have jumbled the tutorials together at some point maybe.
I tried replacing the original xmls on the game's files and did manage to get the units in game, but with no model, no combat hit box, no icons
Changed a bit around some names and things and got some progress!
The mod still dont appears in the mod list , but when you change the game files you can enter an game and see the units in game. The problem is: the model dont appears to be linked to the unit. This is what is happening, the white hex is where the unit is, the pink things is (or where it should be?) the model.
FINALLY! After much messing around with the code and with the help of Lilyophelia and looking at Xeal534's Horizon mod, i finally managed to get the unit to work! Its model are working as it should. The only problem is that there is no bow animation for the broken lords so they do a melee attack instead, but its a nice start for a new mod.
EDIT:
Here is the mod if someone wants to take a look at. I pretend to add more units before uploading to the steam.
DaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelDaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelDaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancelDaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancelDaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelDaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancelDaemomHal
Newcomer
DaemomHal
Newcomer
100g2g ptsReport comment
Why do you report DaemomHal?
Are you sure you want to block DaemomHal ?
BlockCancelAre you sure you want to unblock DaemomHal ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancel