Skip to content

Commit ce8dccd

Browse files
authored
Split dam tower & brick base block objects
The dam tower had supports added to it, however this broke some parks that deliberately used it without supports. This fixes that by turning the original object into a compat object with support rendering disabled and a new object with support rendering enabled.
1 parent d3445d0 commit ce8dccd

File tree

9 files changed

+132
-9
lines changed

9 files changed

+132
-9
lines changed
Binary file not shown.
Binary file not shown.

objects/official/scenery_small/toontowner.scenery_small.xxbbbr01/object.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
"version": "1.0",
88
"originalId": "09F55901|XXBBBR01|952CA772",
99
"sourceGame": "official",
10+
"isCompatibilityObject": true,
1011
"objectType": "scenery_small",
1112
"properties": {
1213
"price": 20,
1314
"removalPrice": 0,
1415
"cursor": "CURSOR_HOUSE_DOWN",
1516
"height": 8,
17+
"sceneryGroup": "rct2.scenery_group.scgwalls",
1618
"shape": "4/4",
1719
"SMALL_SCENERY_FLAG_VOFFSET_CENTRE": true,
1820
"requiresFlatSurface": true,
@@ -23,9 +25,9 @@
2325
},
2426
"images": [
2527
{ "path": "images/0.png", "x": -32, "y": -9 },
26-
{ "path": "images/1.png", "x": -32, "y": -9 },
27-
{ "path": "images/2.png", "x": -32, "y": -9 },
28-
{ "path": "images/3.png", "x": -32, "y": -9 }
28+
{ "path": "images/0.png", "x": -32, "y": -9 },
29+
{ "path": "images/0.png", "x": -32, "y": -9 },
30+
{ "path": "images/0.png", "x": -32, "y": -9 }
2931
],
3032
"strings": {
3133
"name": {

objects/official/scenery_small/toontowner.scenery_small.xxbbbr01/images/1.png renamed to objects/official/scenery_small/toontowner.scenery_small.xxbbbr01_fix/images/0.png

File renamed without changes.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"id": "toontowner.scenery_small.xxbbbr01_fix",
3+
"authors": [
4+
"Simon Foster",
5+
"ToonTowner"
6+
],
7+
"version": "1.0",
8+
"sourceGame": "official",
9+
"objectType": "scenery_small",
10+
"properties": {
11+
"price": 20,
12+
"removalPrice": 0,
13+
"cursor": "CURSOR_HOUSE_DOWN",
14+
"height": 8,
15+
"shape": "4/4",
16+
"SMALL_SCENERY_FLAG_VOFFSET_CENTRE": true,
17+
"requiresFlatSurface": true,
18+
"isRotatable": true,
19+
"isStackable": true,
20+
"prohibitWalls": true,
21+
"hasNoSupports": true,
22+
"allowSupportsAbove": true
23+
},
24+
"images": [
25+
{ "path": "images/0.png", "x": -32, "y": -9 },
26+
{ "path": "images/0.png", "x": -32, "y": -9 },
27+
{ "path": "images/0.png", "x": -32, "y": -9 },
28+
{ "path": "images/0.png", "x": -32, "y": -9 }
29+
],
30+
"strings": {
31+
"name": {
32+
"en-GB": "Base Block",
33+
"fr-FR": "Bloc de base",
34+
"de-DE": "Basisblock",
35+
"es-ES": "Bloque de base",
36+
"it-IT": "Base",
37+
"nl-NL": "Basisblok",
38+
"sv-SE": "Grundblock",
39+
"ko-KR": "기본 블록",
40+
"zh-CN": "垒包",
41+
"zh-TW": "壘包",
42+
"pt-BR": "Bloco de Base",
43+
"cs-CZ": "Základní blok",
44+
"ja-JP": "ベースブロック",
45+
"pl-PL": "Blok podstawy",
46+
"ru-RU": "База",
47+
"hu-HU": "Alap blokk",
48+
"tr-TR": "Ana blok",
49+
"eo-ZZ": "Bazobloko",
50+
"ca-ES": "Bloc base",
51+
"fi-FI": "Perustuslohko",
52+
"ar-EG": "الكتلة الأساسية"
53+
}
54+
}
55+
}

objects/rct2/scenery_group/rct2.scenery_group.scgwalls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"rct2.scenery_wall.wallbb16",
2020
"rct2.scenery_wall.wallbb8",
2121
"rct2.scenery_wall.wallbb33",
22-
"toontowner.scenery_small.xxbbbr01",
22+
"toontowner.scenery_small.xxbbbr01_fix",
2323
"rct2.scenery_small.roof5",
2424
"rct2.scenery_small.roof7",
2525
"rct2.scenery_wall.wallrs32",

objects/rct2ww/scenery_group/rct2ww.scenery_group.scgafric.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"rct2ww.scenery_small.trckprt7",
104104
"rct2ww.scenery_small.trckprt8",
105105
"rct2ww.scenery_small.trckprt9",
106-
"rct2ww.scenery_large.damtower",
106+
"rct2ww.scenery_large.damtower_fix",
107107
"rct2ww.scenery_small.flamngo1",
108108
"rct2ww.scenery_small.flamngo2",
109109
"rct2ww.scenery_small.flamngo3",

objects/rct2ww/scenery_large/rct2ww.scenery_large.damtower.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,36 @@
66
"version": "1.0",
77
"originalId": "0CBD0512|DAMTOWER|096245A1",
88
"sourceGame": "rct2ww",
9+
"isCompatibilityObject": true,
910
"objectType": "scenery_large",
1011
"properties": {
1112
"price": 124,
1213
"removalPrice": -102,
14+
"sceneryGroup": "rct2ww.scenery_group.scgafric",
1315
"cursor": "CURSOR_HOUSE_DOWN",
1416
"tiles": [
1517
{
1618
"x": 0,
1719
"y": 0,
1820
"clearance": 96,
19-
"hasSupports": true,
2021
"walls": 9
2122
},
2223
{
2324
"x": 0,
2425
"y": 32,
2526
"clearance": 96,
26-
"hasSupports": true,
2727
"walls": 3
2828
},
2929
{
3030
"x": 32,
3131
"y": 0,
3232
"clearance": 96,
33-
"hasSupports": true,
3433
"walls": 12
3534
},
3635
{
3736
"x": 32,
3837
"y": 32,
3938
"clearance": 96,
40-
"hasSupports": true,
4139
"walls": 6
4240
}
4341
]
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"id": "rct2ww.scenery_large.damtower_fix",
3+
"authors": [
4+
"Frontier Studios"
5+
],
6+
"version": "1.0",
7+
"sourceGame": "rct2ww",
8+
"objectType": "scenery_large",
9+
"properties": {
10+
"price": 124,
11+
"removalPrice": -102,
12+
"cursor": "CURSOR_HOUSE_DOWN",
13+
"tiles": [
14+
{
15+
"x": 0,
16+
"y": 0,
17+
"clearance": 96,
18+
"hasSupports": true,
19+
"walls": 9
20+
},
21+
{
22+
"x": 0,
23+
"y": 32,
24+
"clearance": 96,
25+
"hasSupports": true,
26+
"walls": 3
27+
},
28+
{
29+
"x": 32,
30+
"y": 0,
31+
"clearance": 96,
32+
"hasSupports": true,
33+
"walls": 12
34+
},
35+
{
36+
"x": 32,
37+
"y": 32,
38+
"clearance": 96,
39+
"hasSupports": true,
40+
"walls": 6
41+
}
42+
]
43+
},
44+
"images": [
45+
"$RCT2:OBJDATA/DAMTOWER.DAT[0..19]"
46+
],
47+
"strings": {
48+
"name": {
49+
"en-GB": "Dam Tower",
50+
"fr-FR": "Tour de barrage",
51+
"de-DE": "Dammturm",
52+
"es-ES": "Torre de la presa",
53+
"it-IT": "Torre della diga",
54+
"nl-NL": "Toren op Dam",
55+
"sv-SE": "Dammtorn",
56+
"zh-CN": "水塔",
57+
"cs-CZ": "Přehradní věž",
58+
"ko-KR": "댐 타워",
59+
"pl-PL": "Dam Tower",
60+
"ru-RU": "Плотина",
61+
"pt-BR": "Torre da Represa",
62+
"ja-JP": "ダムタワー",
63+
"eo-ZZ": "Turo de Baraĵo",
64+
"ca-ES": "Torre de la presa",
65+
"fi-FI": "Padon torni"
66+
}
67+
}
68+
}

0 commit comments

Comments
 (0)