Skip to content

Commit

Permalink
Split dam tower & brick base block objects
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ZeeMaji authored Jan 19, 2024
1 parent d3445d0 commit ce8dccd
Show file tree
Hide file tree
Showing 9 changed files with 132 additions and 9 deletions.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
"version": "1.0",
"originalId": "09F55901|XXBBBR01|952CA772",
"sourceGame": "official",
"isCompatibilityObject": true,
"objectType": "scenery_small",
"properties": {
"price": 20,
"removalPrice": 0,
"cursor": "CURSOR_HOUSE_DOWN",
"height": 8,
"sceneryGroup": "rct2.scenery_group.scgwalls",
"shape": "4/4",
"SMALL_SCENERY_FLAG_VOFFSET_CENTRE": true,
"requiresFlatSurface": true,
Expand All @@ -23,9 +25,9 @@
},
"images": [
{ "path": "images/0.png", "x": -32, "y": -9 },
{ "path": "images/1.png", "x": -32, "y": -9 },
{ "path": "images/2.png", "x": -32, "y": -9 },
{ "path": "images/3.png", "x": -32, "y": -9 }
{ "path": "images/0.png", "x": -32, "y": -9 },
{ "path": "images/0.png", "x": -32, "y": -9 },
{ "path": "images/0.png", "x": -32, "y": -9 }
],
"strings": {
"name": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"id": "toontowner.scenery_small.xxbbbr01_fix",
"authors": [
"Simon Foster",
"ToonTowner"
],
"version": "1.0",
"sourceGame": "official",
"objectType": "scenery_small",
"properties": {
"price": 20,
"removalPrice": 0,
"cursor": "CURSOR_HOUSE_DOWN",
"height": 8,
"shape": "4/4",
"SMALL_SCENERY_FLAG_VOFFSET_CENTRE": true,
"requiresFlatSurface": true,
"isRotatable": true,
"isStackable": true,
"prohibitWalls": true,
"hasNoSupports": true,
"allowSupportsAbove": true
},
"images": [
{ "path": "images/0.png", "x": -32, "y": -9 },
{ "path": "images/0.png", "x": -32, "y": -9 },
{ "path": "images/0.png", "x": -32, "y": -9 },
{ "path": "images/0.png", "x": -32, "y": -9 }
],
"strings": {
"name": {
"en-GB": "Base Block",
"fr-FR": "Bloc de base",
"de-DE": "Basisblock",
"es-ES": "Bloque de base",
"it-IT": "Base",
"nl-NL": "Basisblok",
"sv-SE": "Grundblock",
"ko-KR": "기본 블록",
"zh-CN": "垒包",
"zh-TW": "壘包",
"pt-BR": "Bloco de Base",
"cs-CZ": "Základní blok",
"ja-JP": "ベースブロック",
"pl-PL": "Blok podstawy",
"ru-RU": "База",
"hu-HU": "Alap blokk",
"tr-TR": "Ana blok",
"eo-ZZ": "Bazobloko",
"ca-ES": "Bloc base",
"fi-FI": "Perustuslohko",
"ar-EG": "الكتلة الأساسية"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"rct2.scenery_wall.wallbb16",
"rct2.scenery_wall.wallbb8",
"rct2.scenery_wall.wallbb33",
"toontowner.scenery_small.xxbbbr01",
"toontowner.scenery_small.xxbbbr01_fix",
"rct2.scenery_small.roof5",
"rct2.scenery_small.roof7",
"rct2.scenery_wall.wallrs32",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"rct2ww.scenery_small.trckprt7",
"rct2ww.scenery_small.trckprt8",
"rct2ww.scenery_small.trckprt9",
"rct2ww.scenery_large.damtower",
"rct2ww.scenery_large.damtower_fix",
"rct2ww.scenery_small.flamngo1",
"rct2ww.scenery_small.flamngo2",
"rct2ww.scenery_small.flamngo3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,36 @@
"version": "1.0",
"originalId": "0CBD0512|DAMTOWER|096245A1",
"sourceGame": "rct2ww",
"isCompatibilityObject": true,
"objectType": "scenery_large",
"properties": {
"price": 124,
"removalPrice": -102,
"sceneryGroup": "rct2ww.scenery_group.scgafric",
"cursor": "CURSOR_HOUSE_DOWN",
"tiles": [
{
"x": 0,
"y": 0,
"clearance": 96,
"hasSupports": true,
"walls": 9
},
{
"x": 0,
"y": 32,
"clearance": 96,
"hasSupports": true,
"walls": 3
},
{
"x": 32,
"y": 0,
"clearance": 96,
"hasSupports": true,
"walls": 12
},
{
"x": 32,
"y": 32,
"clearance": 96,
"hasSupports": true,
"walls": 6
}
]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"id": "rct2ww.scenery_large.damtower_fix",
"authors": [
"Frontier Studios"
],
"version": "1.0",
"sourceGame": "rct2ww",
"objectType": "scenery_large",
"properties": {
"price": 124,
"removalPrice": -102,
"cursor": "CURSOR_HOUSE_DOWN",
"tiles": [
{
"x": 0,
"y": 0,
"clearance": 96,
"hasSupports": true,
"walls": 9
},
{
"x": 0,
"y": 32,
"clearance": 96,
"hasSupports": true,
"walls": 3
},
{
"x": 32,
"y": 0,
"clearance": 96,
"hasSupports": true,
"walls": 12
},
{
"x": 32,
"y": 32,
"clearance": 96,
"hasSupports": true,
"walls": 6
}
]
},
"images": [
"$RCT2:OBJDATA/DAMTOWER.DAT[0..19]"
],
"strings": {
"name": {
"en-GB": "Dam Tower",
"fr-FR": "Tour de barrage",
"de-DE": "Dammturm",
"es-ES": "Torre de la presa",
"it-IT": "Torre della diga",
"nl-NL": "Toren op Dam",
"sv-SE": "Dammtorn",
"zh-CN": "水塔",
"cs-CZ": "Přehradní věž",
"ko-KR": "댐 타워",
"pl-PL": "Dam Tower",
"ru-RU": "Плотина",
"pt-BR": "Torre da Represa",
"ja-JP": "ダムタワー",
"eo-ZZ": "Turo de Baraĵo",
"ca-ES": "Torre de la presa",
"fi-FI": "Padon torni"
}
}
}

0 comments on commit ce8dccd

Please sign in to comment.