Using the Map Editor
-
- Posts: 29
- Joined: April 25th, 2020, 1:37 pm
- Location: Shenzhen, China
Re: Using the Map Editor
Hi,im back.I always encounter for this error when developing and then the editor got crashed
00:10:38.022 : <ERROR> d:\buildbot\slaves\win_slave\final_build_ets2_141_windows_bin_steam_x64\build\prism\src\p3core\collections\arrays\arrays_base_impl.h(475): ??A?$array_t@G@prism@@QEBAAEBG_K@Z: Index outside array boundaries.
Anyone can help me fix this issue?
00:10:38.022 : <ERROR> d:\buildbot\slaves\win_slave\final_build_ets2_141_windows_bin_steam_x64\build\prism\src\p3core\collections\arrays\arrays_base_impl.h(475): ??A?$array_t@G@prism@@QEBAAEBG_K@Z: Index outside array boundaries.
Anyone can help me fix this issue?
Re: Using the Map Editor
System: Windows 11 PRO
Processor: Intel i7-12700KF 5GHZ
Motherboard: Gigabyte B760 DS3H AX
Memory: Corsair DDR5-6000 32 GB
Storage: Samsung 990 M2 SSD + 2 Samsung 870 SSD
Graphics: Asus GeForce Dual RTX 3060 V2 12GB GDDR6
Re: Using the Map Editor
@wongchiucheong
And please, post the WHOLE editor.log.txt content! Then we might
have a chance to see what causes it!
And please, post the WHOLE editor.log.txt content! Then we might
have a chance to see what causes it!
-
- Posts: 6
- Joined: June 26th, 2021, 9:55 pm
Re: Using the Map Editor
Fixed my past issue, thanks for the help. I have another one. Been working this map for about 2 weeks and haven't had any issues until today. I updated some custom signs like I have done in the past, but now when I open the editor, all I get is a black screen. I can hit page up and see all my sectors and my background map, but there isn't any of the roads that I built visible at all. I also cannot create new roads, any time I do, they are invisible. By hovering over the background map, I can see the assets that are "there" like road types, buildings, signs, but can't physically see them or edit them anymore. I can even hit play map within the editor and it plays just fine and all the roads are there. What did I mess up??
- ItzHonzula
- VIP
- Posts: 448
- Joined: October 22nd, 2020, 8:46 pm
- Location: Reichenberg, Czech Republic
Re: Using the Map Editor
press A several times.
EuRoadNet and Projekt Česko developer.
silly nonbinary existence :3
silly nonbinary existence :3
-
- Posts: 6
- Joined: June 26th, 2021, 9:55 pm
Re: Using the Map Editor
Hello everyone, I have a question regarding semaphores. How can I use a certain type of semaphore (here, I try to use the spanish models) on a fictionnal country I created ?
I saw that there are files into the def/world folder called semaphore_model.sii and semaphore_profile.sii but I do not understand how it works to make the link.
I saw that there are files into the def/world folder called semaphore_model.sii and semaphore_profile.sii but I do not understand how it works to make the link.
MyGodness
Map Maker - Discover my 1:1 scale map projects on www.grandutopia.fr
| Grand Utopia Map | Mygotopia Addon Map | Patrons Island Addon Map | Akokan Island Addon Map |
Follow me on Facebook, YouTube, Instagram and Patreon !
Map Maker - Discover my 1:1 scale map projects on www.grandutopia.fr
| Grand Utopia Map | Mygotopia Addon Map | Patrons Island Addon Map | Akokan Island Addon Map |
Follow me on Facebook, YouTube, Instagram and Patreon !
- ItzHonzula
- VIP
- Posts: 448
- Joined: October 22nd, 2020, 8:46 pm
- Location: Reichenberg, Czech Republic
Re: Using the Map Editor
I would like to ask the same question also, because i would like to use different country traflights in another country.
EuRoadNet and Projekt Česko developer.
silly nonbinary existence :3
silly nonbinary existence :3
Re: Using the Map Editor
copy both files under a new name (semaphore_profile.myname.sii) and keep just the definitions regarding SPAIN. Just replace SPAIN with the name of your country.
this
became this
this
Code: Select all
tr_semaphore_profile : tr_sem_prof.cr_2x2.spain
{
name: "crossroad 2x2"
Code: Select all
tr_semaphore_profile : tr_sem_prof.cr_2x2.yourcountry
{
name: "crossroad 2x2"
Re: Using the Map Editor
I understand the logic of it but I don't find any line with ".spain" in the file. Only some with ".e" or ".p". I guess the ".p" is for Portugal but is the ".e" for Spain ? (I mean, Shouldn't SCS have written ".s" or ".sp" ? As all the files are in english in the game folders).
I tried to modify the ".e" with ".mycountryname" but it does not work. Any idea ?
Here is the default file in the Iberia DLC.
I also tried to write the country code of my country (.mg) but it doesn't seems to work either.
The editor log shows me a lot of errors like this one : [semaphore_model] Model 'tr_sem_mdl.cr_1x1_v1' for semaphore with id 3 not found! Please use semaphore profile and/or fix the model name (/prefab2/cross_temp/ibe/ibe_r1_x_r1_y_narrow_mirrored_tmpl.pmd)
I tried to modify the ".e" with ".mycountryname" but it does not work. Any idea ?
Here is the default file in the Iberia DLC.
Code: Select all
SiiNunit
{
# For modders: Please do not modify this file if you want to add a new entry. Create in
# this directory a new file "<base_name>.<idofyourmod>.sii" where <base_name> is name of
# base file without the extension (e.g. "city" for "/def/city.sii") and <idofyourmod> is
# some string which is unlikely to conflict with other mod.
tr_semaphore_profile : tr_sem_prof.cr_2x2.e
{
name: "crossroad 2x2"
model[0]: "city"
model[1]: "city"
model[2]: "city"
model[3]: "city"
model[4]: ""
model[5]: "collumn"
model[6]: "collumn"
model[7]: "collumn"
model[8]: "collumn"
model[9]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
type[7]: traffic_light_major
type[8]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_rn_cr
{
name: "crossroad round 2x2"
model[0]: "single"
model[1]: "single"
model[2]: "single"
model[3]: "collumn"
model[4]: "collumn"
model[5]: "collumn"
type[0]: traffic_light
type[1]: traffic_light
type[2]: traffic_light
type[3]: traffic_light
type[4]: traffic_light
type[5]: traffic_light
interval[0]: (20.0, 2.0, 23.0, 0.0)
interval[1]: (19.0, 2.0, 24.0, 0.0)
interval[2]: (17.0, 2.0, 26.0, 0.0)
interval[3]: (20.0, 2.0, 23.0, 0.0)
interval[4]: (19.0, 2.0, 24.0, 0.0)
interval[5]: (17.0, 2.0, 26.0, 0.0)
cycle: 6
cycle[0]: 0.0
cycle[1]: 2.0
cycle[2]: 22.0
cycle[3]: 0.0
cycle[4]: 2.0
cycle[5]: 22.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_rc_v1
{
name: "crossroad round 2x2"
model[0]: "single_v1"
model[1]: "single_v1"
model[2]: "single_v1"
model[3]: "collumn_v1"
model[4]: "collumn_v1"
model[5]: "collumn_v1"
type[0]: traffic_light
type[1]: traffic_light
type[2]: traffic_light
type[3]: traffic_light
type[4]: traffic_light
type[5]: traffic_light
interval[0]: (20.0, 2.0, 23.0, 0.0)
interval[1]: (20.0, 2.0, 23.0, 0.0)
interval[2]: (17.0, 2.0, 26.0, 0.0)
interval[3]: (20.0, 2.0, 23.0, 0.0)
interval[4]: (20.0, 2.0, 23.0, 0.0)
interval[5]: (17.0, 2.0, 26.0, 0.0)
cycle: 6
cycle[0]: 0.0
cycle[1]: 2.0
cycle[2]: 22.0
cycle[3]: 0.0
cycle[4]: 2.0
cycle[5]: 22.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_rc_v2
{
name: "crossroad round 2x2"
model[0]: "single_v2"
model[1]: "single_v2"
model[2]: "single_v2"
model[3]: "collumn_v2"
model[4]: "collumn_v2"
model[5]: "collumn_v2"
type[0]: traffic_light
type[1]: traffic_light
type[2]: traffic_light
type[3]: traffic_light
type[4]: traffic_light
type[5]: traffic_light
interval[0]: (20.0, 2.0, 23.0, 0.0)
interval[1]: (20.0, 2.0, 23.0, 0.0)
interval[2]: (17.0, 2.0, 26.0, 0.0)
interval[3]: (20.0, 2.0, 23.0, 0.0)
interval[4]: (20.0, 2.0, 23.0, 0.0)
interval[5]: (17.0, 2.0, 26.0, 0.0)
cycle: 6
cycle[0]: 0.0
cycle[1]: 2.0
cycle[2]: 22.0
cycle[3]: 0.0
cycle[4]: 2.0
cycle[5]: 22.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_v1.e
{
name: "crossroad 2x2"
model[0]: "city_v1"
model[1]: "city_v1"
model[2]: "city_v1"
model[3]: "city_v1"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: "collumn_v1"
model[8]: "collumn_v1"
model[9]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
type[7]: traffic_light_major
type[8]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_v2.e
{
name: "crossroad 2x2"
model[0]: "city_v2"
model[1]: "city_v2"
model[2]: "city_v2"
model[3]: "city_v2"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: "collumn_v1"
model[8]: "collumn_v1"
model[9]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
type[7]: traffic_light_major
type[8]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2.p
{
name: "crossroad 2x2"
model[0]: "city"
model[1]: "city"
model[2]: "city"
model[3]: "city"
model[4]: ""
model[5]: "collumn"
model[6]: "collumn"
model[7]: "collumn"
model[8]: "collumn"
model[9]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
type[7]: traffic_light_major
type[8]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_v1.p
{
name: "crossroad 2x2"
model[0]: "city_v1"
model[1]: "city_v1"
model[2]: "city_v1"
model[3]: "city_v1"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: "collumn_v1"
model[8]: "collumn_v1"
model[9]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
type[7]: traffic_light_major
type[8]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x2_v2.p
{
name: "crossroad 2x2"
model[0]: "city_v2"
model[1]: "city_v2"
model[2]: "city_v2"
model[3]: "city_v2"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: "collumn_v1"
model[8]: "collumn_v1"
model[9]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
type[7]: traffic_light_major
type[8]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_1x2.e
{
name: "crossroad 1x2"
model[0]: "city"
model[1]: "single"
model[2]: "city"
model[3]: "single"
model[4]: ""
model[5]: "collumn"
model[6]: "collumn"
model[7]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
sleep_time_start: 1410 # 23:30
sleep_time_end: 180 # 03:00
}
tr_semaphore_profile : tr_sem_prof.cr_1x2_v1.e
{
name: "crossroad 1x2"
model[0]: "city_v1"
model[1]: "single_v1"
model[2]: "city_v1"
model[3]: "single_v1"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
sleep_time_start: 1410 # 23:30
sleep_time_end: 180 # 03:00
}
tr_semaphore_profile : tr_sem_prof.cr_1x2_v2.e
{
name: "crossroad 1x2"
model[0]: "city_v2"
model[1]: "single_v2"
model[2]: "city_v2"
model[3]: "single_v2"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
sleep_time_start: 1410 # 23:30
sleep_time_end: 180 # 03:00
}
tr_semaphore_profile : tr_sem_prof.cr_2x1.e
{
name: "crossroad 2x1"
model[0]: "single"
model[1]: "city"
model[2]: "single"
model[3]: "city"
model[4]: ""
model[5]: "collumn"
model[6]: "collumn"
model[7]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x1_v1.e
{
name: "crossroad 2x1"
model[0]: "single_v1"
model[1]: "city_v1"
model[2]: "single_v1"
model[3]: "city_v1"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_2x1_v2.e
{
name: "crossroad 2x1"
model[0]: "single_v2"
model[1]: "city_v2"
model[2]: "single_v2"
model[3]: "city_v2"
model[4]: ""
model[5]: "collumn_v1"
model[6]: "collumn_v1"
model[7]: ""
type[0]: traffic_light_minor
type[1]: traffic_light_major
type[2]: traffic_light_minor
type[3]: traffic_light_major
type[4]: model_only
type[5]: traffic_light_major
type[6]: traffic_light_minor
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_1x1.e
{
name: "crossroad 1x1"
inherited: tr_sem_prof.cr_1x1
model[0]: "single"
model[1]: "single"
model[2]: "single"
model[3]: "single"
model[4]: ""
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_1x1_v1.e
{
name: "crossroad 1x1"
inherited: tr_sem_prof.cr_1x1
model[0]: "single_v1"
model[1]: "single_v1"
model[2]: "single_v1"
model[3]: "single_v1"
model[4]: ""
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_1x1_v2.e
{
name: "crossroad 1x1"
inherited: tr_sem_prof.cr_1x1
model[0]: "single_v2"
model[1]: "single_v2"
model[2]: "single_v2"
model[3]: "single_v2"
model[4]: ""
interval[]: (15.0, 2.0, 23.0, 0.0)
cycle: 8
cycle[0]: 0.0
cycle[1]: 21.0
cycle[2]: 0.0
cycle[3]: 21.0
cycle[4]: 0.0
cycle[5]: 21.0
cycle[6]: 0.0
cycle[7]: 21.0
}
tr_semaphore_profile : tr_sem_prof.cr_1tx1_v1
{
name: "crossroad 1 turn x1 t"
inherited: tr_sem_prof.cr_1tx1
model[]: "city_v1"
model[]: "city_v1"
model[]: "single_v1"
model[]: "single_v1"
model[]: ""
}
tr_semaphore_profile : tr_sem_prof.cr_1tx1_v2
{
name: "crossroad 1 turn x1 t"
inherited: tr_sem_prof.cr_1tx1
model[]: "city_v2"
model[]: "city_v2"
model[]: "single_v2"
model[]: "single_v2"
model[]: ""
}
tr_semaphore_profile : tr_sem_prof.crossing_nb
{
name: "road crossing - no barrier"
interval[]: (100.0, 500.0, 300.0, 50.0)
cycle[]: 3.0
type[0]: barrier_distance
type[1]: model_only
type[2]: model_only
type[3]: model_only
type[4]: model_only
model[0]: ""
model[1]: "cross_np_r"
model[2]: "cross_np_l"
model[3]: "cross_np_r2"
model[4]: "cross_np_l2"
id_map[0]: 0
id_map[1]: 0
id_map[2]: 0
id_map[3]: 0
id_map[4]: 0
}
}
The editor log shows me a lot of errors like this one : [semaphore_model] Model 'tr_sem_mdl.cr_1x1_v1' for semaphore with id 3 not found! Please use semaphore profile and/or fix the model name (/prefab2/cross_temp/ibe/ibe_r1_x_r1_y_narrow_mirrored_tmpl.pmd)
MyGodness
Map Maker - Discover my 1:1 scale map projects on www.grandutopia.fr
| Grand Utopia Map | Mygotopia Addon Map | Patrons Island Addon Map | Akokan Island Addon Map |
Follow me on Facebook, YouTube, Instagram and Patreon !
Map Maker - Discover my 1:1 scale map projects on www.grandutopia.fr
| Grand Utopia Map | Mygotopia Addon Map | Patrons Island Addon Map | Akokan Island Addon Map |
Follow me on Facebook, YouTube, Instagram and Patreon !