jgenard
Legionary
posted 10 May 2020 13:12 EDT (US)
Heyheyhey,
I've made a Romano-British longbow-type unit, which works perfectly on the battlefield. I used the hitherto unused Frankish Chosen Archer texture and made a new unit with it, named Saethwyr.
I made it in EDU, added unit cards and unit info pics, and added them at the end of the export_units.txt file.
But I simply CAN'T add them to EDB (export_descr_buildings). If I do that, the game CTDs immediately after starting up. I copied the last line of the recruitable unit, replaced the name with 'Saethwyr' and that edited the factions to just { romano_british,}...
I've tried everything. Am I missing something? I've read SubRosa's Creating A Unit tutorial again and again, but can't seem to find a solution.
Is there another file that I haven't edited?
jgenard
Legionary
posted 13 May 2020 05:26
EDT (US)
2 / 11
The full line is:
" recruit "rb saethwyr" 0 requires factions { romano_british, } "
I've found the EDB to be a most unstable file. It seems to behave pretty randomly. With EDU, I always find the typo, but I get the feeling that EDB makes the game CTD as soon as there's an extra space or shift.
jgenard
Legionary
posted 27 May 2020 03:38
EDT (US)
5 / 11
Hey guys,
I have now made a large amount of new units (I haven't counted yet but it's definitely over 30) from the skeletons & textures in the vanilla game alone.
But I still can't add them into the campaign because of this weird thing with EDB.
Anybody got an idea what I might be doing wrong?
- I'm not making typos, I've added lots of vanilla units to new buildings and changed the file before and they've always worked, so I know how to do it properly. I've also re-tried the whole adding-new-units-thing lots of times.
- it's not because of the enums file, cause that isn't necessary anymore since the patches.
- it's not cause I'm going over a limit of how many units you can base in a building, because I only tried it with lower-level barracks and archery range type buildings, where there's only like 8 recruitable units...
jgenard
Legionary
posted 08 June 2020 04:08
EDT (US)
9 / 11
Hmmmm, but I've edited so many files I think you won't be able to even start the game if I don't include them all.