New Maps

Hey fellow Liners,

I experimented a litte with the “map editor” and finally decided to do a map with a text file on my own. The editor is hard to use and also it writes over the mission you are editing.

Just create a new text file in Production Line > data > missions and copy the code below into it. I also created a .jpg file to match the mission (see attachement). This mission creates a 100x100 factory with loooots of Import spots all around the square as well as Export spots, but only on one side of the square, as a I always design my lines linear and parallel. Starting Cash is set to 90.000.000$ and the rent is only 1$ because I used this mission to experiment and didnt want to wait for all the research. I set up 100 research labs and when everything was researched, I created a savegame as my basis.

Have fun with this :wink:

[code][config]
name = mission_giga
guiname = GIGA Factory
gui_id = 6
worldx = 102
worldy = 102
starting_cash = 90000000
icon = gigafactory.jpg

[zone0]
left = 1
top = 1
right = 100
bottom = 100
GUIName
rent = 1.0000
wallid = 1
type = UNLOCKED
floortextures = floor_metal_08.dds

[imports]
0 = 5,100
1 = 10,100
2 = 15,100
3 = 20,100
4 = 25,100
5 = 30,100
6 = 35,100
7 = 40,100
8 = 45,100
9 = 50,100
10 = 55,100
11 = 60,100
12 = 65,100
13 = 70,100
14 = 75,100
15 = 80,100
16 = 85,100
17 = 90,100
18 = 100,100
19 = 1,5
20 = 1,10
21 = 1,15
22 = 1,20
23 = 1,25
24 = 1,30
25 = 1,35
26 = 1,40
27 = 1,45
28 = 1,50
29 = 1,55
30 = 1,60
31 = 1,65
32 = 1,70
33 = 1,75
34 = 1,80
35 = 1,85
36 = 1,90
37 = 1,95
38 = 100,1
39 = 100,5,
40 = 100,10
41 = 100,15
42 = 100,20
43 = 100,25
44 = 100,30
45 = 100,35
46 = 100,40
47 = 100,45
48 = 100,50
49 = 100,55
50 = 100,60
51 = 100,65
52 = 100,70
53 = 100,75
54 = 100,80
55 = 100,85
56 = 100,90
57 = 5,1
58 = 10,1
59 = 15,1
60 = 20,1
61 = 25,1
62 = 30,1
63 = 35,1
64 = 40,1
65 = 45,1
66 = 50,1
67 = 55,1
68 = 60,1
69 = 65,1
70 = 70,1
71 = 75,1
72 = 80,1
73 = 85,1
74 = 90,1
75 = 95,1
76 = 100,1

[exports]
0 = 1,93
1 = 8,100
2 = 13,100
3 = 23,100
4 = 28,100
5 = 38,100
6 = 43,100
7 = 53,100
8 = 58,100
9 = 68,100
10 = 73,100
11 = 83,100
12 = 88,100
13 = 93,100

[/code]
image

Nice work, Ive been trying to figure out the mission editor, I wanted a 500x500 but you can’t see the imports/export slots lol zoom feature would be nice now.

500x500 crashes if i try manually.

I tried a new layout with a new 100x300 main assembly line and nine 50x10 lines for part making. I hope the next patch fixes the problem with the 40+ import slots otherwise this layout is needless.

[code][config]
name = mission_greenland
guiname = optimized shopfloor
gui_id = 7
worldx = 102
worldy = 102
starting_cash = 2000000000
icon = shopfloor.jpg

[zone0]
left = 1
top = 1
right = 100
bottom = 31
GUIName
rent = 1.0000
wallid = 1
type = UNLOCKED
floortextures = floor_metal_10.dds

[zone1]
left = 91
top = 32
right = 100
bottom = 82
GUIName
rent = 1.0000
wallid = 2
type = UNLOCKED
floortextures = floor_metal_01.dds

[zone2]
left = 80
top = 32
right = 89
bottom = 82
GUIName
rent = 1.0000
wallid = 3
type = UNLOCKED
floortextures = floor_metal_02.dds

[zone3]
left = 69
top = 32
right = 78
bottom = 82
GUIName
rent = 1.0000
wallid = 1
type = UNLOCKED
floortextures = floor_metal_03.dds

[zone4]
left = 58
top = 32
right = 67
bottom = 82
GUIName
rent = 1.0000
wallid = 2
type = UNLOCKED
floortextures = floor_metal_04.dds

[zone5]
left = 47
top = 32
right = 56
bottom = 82
GUIName
rent = 1.0000
wallid = 3
type = UNLOCKED
floortextures = floor_metal_05.dds

[zone6]
left = 36
top = 32
right = 45
bottom = 82
GUIName
rent = 1.0000
wallid = 3
type = UNLOCKED
floortextures = floor_metal_06.dds

[zone7]
left = 25
top = 32
right = 34
bottom = 82
GUIName
rent = 1.0000
wallid = 1
type = UNLOCKED
floortextures = floor_metal_07.dds

[zone8]
left = 14
top = 32
right = 23
bottom = 82
GUIName
rent = 1.0000
wallid = 2
type = UNLOCKED
floortextures = floor_metal_08.dds

[zone9]
left = 3
top = 32
right = 12
bottom = 82
GUIName
rent = 1.0000
wallid = 3
type = UNLOCKED
floortextures = floor_metal_09.dds

[imports]
1 = 1,1
2 = 1,2
3 = 1,3
4 = 1,4
5 = 1,5
6 = 1,10
7 = 1,11
8 = 1,13
9 = 1,14
10 = 1,16
11 = 1,17
12 = 1,19
13 = 1,20
14 = 1,26
15 = 1,27
16 = 1,28
17 = 1,29
18 = 1,30
19 = 100,1
20 = 100,2
21 = 100,3
22 = 100,4
23 = 100,5
24 = 100,10
25 = 100,14
26 = 100,17
27 = 100,21
28 = 100,26
29 = 100,27
30 = 100,28
31 = 100,29
32 = 100,30
33 = 100,35
34 = 100,40
35 = 100,45
36 = 100,50
37 = 100,55
38 = 100,60
39 = 100,65
40 = 100,70
41 = 100,75
42 = 89,35
43 = 89,40
44 = 89,45
45 = 89,50
46 = 89,55
47 = 89,60
48 = 89,65
49 = 89,70
50 = 89,75
51 = 78,35
52 = 78,40
53 = 78,45
54 = 78,50
55 = 78,55
56 = 78,60
57 = 78,65
58 = 78,70
59 = 78,75
60 = 67,35
61 = 67,40
62 = 67,45
63 = 67,50
64 = 67,55
65 = 67,60
66 = 67,65
67 = 67,70
68 = 67,75
69 = 56,35
70 = 56,40
71 = 56,45
72 = 56,50
73 = 56,55
74 = 56,60
75 = 56,65
76 = 56,70
77 = 56,75
78 = 45,35
79 = 45,40
80 = 45,45
81 = 45,50
82 = 45,55
83 = 45,60
84 = 45,65
85 = 45,70
86 = 45,75
87 = 34,35
88 = 34,40
89 = 34,45
90 = 34,50
91 = 34,55
92 = 34,60
93 = 34,65
94 = 34,70
95 = 34,75
96 = 23,35
97 = 23,40
98 = 23,45
99 = 23,50
100 = 23,55
101 = 23,60
102 = 23,65
103 = 23,70
104 = 23,75
105 = 12,35
106 = 12,40
107 = 12,45
108 = 12,50
109 = 12,55
110 = 12,60
111 = 12,65
112 = 12,70
113 = 12,75
114 = 5,1
115 = 10,1
116 = 15,1
117 = 20,1
118 = 25,1
119 = 30,1
120 = 35,1
121 = 40,1
122 = 45,1
123 = 50,1
124 = 55,1
125 = 60,1
126 = 65,1
127 = 70,1
128 = 75,1
129 = 80,1
130 = 85,1
131 = 90,1
132 = 95,1

[exports]
1 = 1,12
2 = 1,15
3 = 1,18
[/code]


image

Hey @ all

Thanks for the examples. I tried one myself using the notepad. Hardest thing to fight was starting to count with 0 e.g. to become a 33 x 40 are starting with 0,0 and ending at 32,39 …

Here my first try on map creation ready to unrar to the game folder:
mission_u-shaped-factory.rar (7.49 KB)

All necessary subfolders are included so both files will be at the right spot.

Kind regards & hf

a rar-archive…
Why didn’t I come up with that idea. Great work!

yeah, makes it easy to install because of using the folder structure :smiley:

Hey @ all,

I tried to create a larger map but it crashes when loading.
So either there are some limitations regarding the overall size (150 x 270), the numbers of importers (94) or just the shape (8).
Other maps that are part of the installer have equal or more zones (8) and equal or more exports (16).

Any idea?

Please find attached the .xml and the log files.
The game crashes with the error messages

  • Assertion failure:filename:…\src\GUI_TextureCache.cpp,linenum:25
  • Assertion failure:filename:…\src\GUI_TileWall.cpp,linenum:29

But because it’s not a supported feature I don’t want to claim this a bug …

So long

[Edit]
I found the limitation (max 250 x 250 total size) and two mistakes (double numbered zone & mistype at zone dimension) so will wait for 1.11 …
[/Edit]
mission_giga8_a110.txt (2.7 KB)
debug.txt (345 Bytes)
drawdebug.txt (849 Bytes)
errors.txt (172 Bytes)