Custom Mission Crashing Game

Discussion for how to mod the game, and posts of work-in-progress and completed mods
EvolGrinZ
Supreme Robot
Supreme Robot
Posts: 128
Joined: Mon Feb 13, 2017 11:58 am

Custom Mission Crashing Game

Postby EvolGrinZ » Sat Feb 18, 2017 1:12 pm

I spent quite some time creating this custom mission, but for some reason it seems to just crash whenever I try to start a game using it and I can't seem to figure out why.
Does anyone of you know an idea of why?

Code: Select all

[config]
name = mission_mega
guiname = SuperMega Factory
gui_id = 5
worldx = 102
worldy = 102
starting_cash = 2000000
icon = mission5.jpg

[zone0]
left = 2
top = 2
right = 38
bottom = 98
GUIName = Main Hall 1
rent = 5.0000
wallid = 3
type = UNLOCKED
floortextures = floor_glossy_02.dds

[zone1]
left = 39
top = 2
right = 61
bottom = 50
GUIName = Main Hall 3
rent = 5.0000
wallid = 3
type = UNLOCKED
floortextures = floor_glossy_02.dds

[zone2]
left = 62
top = 2
right = 98
bottom = 98
GUIName = Main Hall 2
rent = 5.0000
wallid = 3
type = UNLOCKED
floortextures = floor_glossy_02.dds

[zone3]
left = 41
top = 53
right = 59
bottom = 98
GUIName = Hall 4
rent = 5.0000
wallid = 3
type = UNLOCKED
floortextures = floor_glossy_02.dds

[zone4]
left = 48
top = 51
right = 52
bottom = 52
GUIName = Corridor
rent = 1.0000
wallid = 2
type = UNLOCKED
floortextures = floor_glossy_02.dds

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

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

MaN1aC
Supreme Robot
Supreme Robot
Posts: 300
Joined: Thu Feb 09, 2017 11:45 am
Location: DE

Re: Custom Mission Crashing Game

Postby MaN1aC » Sat Feb 18, 2017 1:33 pm

Hi EvolGrinZ,

have the same problem with one of mine. My first idea was the number importers. But never reduced and tested it.

Kind regards
User avatar
MeduSalem
Supreme Robot
Supreme Robot
Posts: 199
Joined: Sat Aug 22, 2015 10:17 am
Location: Vienna, Austria

Re: Custom Mission Crashing Game

Postby MeduSalem » Sat Feb 18, 2017 5:38 pm

Did you check if the zones don't overlap or mess with one another in a weird way?

Because I found that when they overlap in a specific way the game crashes. From looking at your config I can't tell right away.
EvolGrinZ
Supreme Robot
Supreme Robot
Posts: 128
Joined: Mon Feb 13, 2017 11:58 am

Re: Custom Mission Crashing Game

Postby EvolGrinZ » Sat Feb 18, 2017 6:12 pm

Doesn't look like it has any weird overlaps.
One thing that I can think of might be the little corridor I made. As when I want to select the mission it says the area is 5x2, which is the size of the corridor.

*EDIT* It's not the corridor, I removed it and the game still crashes.

Image
EvolGrinZ
Supreme Robot
Supreme Robot
Posts: 128
Joined: Mon Feb 13, 2017 11:58 am

Re: Custom Mission Crashing Game

Postby EvolGrinZ » Sat Feb 18, 2017 7:26 pm

I feel kinda stupid now, lol.
There are 2 import slots and 1 export slot on the edge of the little corridor. I removed those and now the mission is working. :)

Return to “Modding!”

Who is online

Users browsing this forum: No registered users and 1 guest