ive just finished making some new units for mtw vi
"Unknown unit type incountered" when i run the game.
can anyone tell me what this is likley to be ?
im pretty sure all the correct files are there..
Printable View
ive just finished making some new units for mtw vi
"Unknown unit type incountered" when i run the game.
can anyone tell me what this is likley to be ?
im pretty sure all the correct files are there..
Have you gone through all these steps?Quote:
Originally Posted by [b
If yes, then try and go through it again and see if there's anything missing like a specific file or a codeline.
It should work if you follow this guide.
By the way, open up Gnome Editor and go all the way to the last column (71 - Mercenary Unit - Period association - Faction association). Make sure all unnecessary spaces have been taken out. It should read something like this:
'YES ALL_PERIODS "FN_ENGLISH,FN_FRENCH"' (taken from HighlandClansman)
And not like this:
'YES ALL_PERIODS "FN_ENGLISH,FN_FRENCH" '
Without the ' ofcourse.
This has caused problems for me in the beginning.
IIRC you get that error message if a cavalry unit is set to be able to dismount into a unit not defined. This is set in the 4th last entry on a unit line.Quote:
Originally Posted by [b
In other words, you may have miss-spelled the name of the foot unit your new cavalry unit can dismount into.
Example: You want Feudal Knights to dismount into FeudalMAA. If you write FedalMAA, missing a "u", in the 4th last entry of the Feudal Knights the game won't recognize that entry as a unit.
OR
You have a problem with the tabs in the file, so that you get a unexpected label in the 4th last entry. So instead of reading "FeudalMAA" the game reads "SWORD" or something, which of course isn't recognized as a unit.
As posted from the TW.com forums:
"the problem stems from the very last column, the one about needing to know if it's a mercenary units (and who/when can use it in custom battles) (column 71). The problem is that it most likely is reading the tabs wrong. To fix this, highlight everything in column 71 from a similar unit, hit Ctrl-C (for copy, highlight everything in the column 71 of the new unit and hit Ctrl-V (for paste), and edit it however you wish. It should be fixed."
http://pub222.ezboard.com/fshogun....5.topic
Aha so that is the problem?Quote:
Originally Posted by [b
Mentioned it aswell, but wasn't quite sure if it was the problem seeing as it was a long time ago since I had this problem to.
It is, it's just that the tabs for that column in the Viking Invasion unit_prod file are a bit different from the tabs in the same column in the MTW file. A little copy-and-pasting keeps it all together