Page 1 of 1

Problem with City.sii

Posted: 07 Sep 2017 15:42
by lolek9427
Hi Promods team, I'm hoping you could help me.

After the release of the map of Ireland, I decided to jump into the editor and try to add my town on the N16 road between Sligo and Enniskillen.
Yet I am having severe problems with defining the city. I used Dublin as a template and edited it to suit my needs but the city doesn't load and produces this error in the log:

Code: Select all

00:00:07.297 : <ERROR> [unit] File '/def/city/manorhamilton.sii', line 3:
00:00:07.297 : <ERROR> Included at '/def/city.irelandremake.sii', line 10:
00:00:07.297 : <ERROR> [unit] The unit name 'city.manorhamilton' is in wrong format.
00:00:07.297 : <ERROR> load_filtered_unit_array() - Failed to load units from file (/def/city.irelandremake.sii)
I attatch the definition files and hope that you are able to help me out!
def.zip
(3.28 KiB) Downloaded 64 times

Re: Problem with City.sii

Posted: 07 Sep 2017 16:05
by Davyddin
I think unit names can only be 12 characters.

Re: Problem with City.sii

Posted: 07 Sep 2017 16:24
by lolek9427
Thanks I'll try that out!

EDIT 1: Finally got it to work! Thanks for the help!

Re: Problem with City.sii

Posted: 07 Sep 2017 16:33
by Davyddin
Nice to hear that was actually it!