Savegame modding for carriers

It is possible to recolor carriers and enable/disable extra parts like ladders in your savegame file. Please note that this feature is not yet available for chair lifts.

This is a tutorial on Savegame modding. All changes mentioned below are done to your savegame.

Always create a backup before you start editing savegames!

Finding the carrier in the savegame

First, you need to open the savegame's .lua file (check out Savegame modding if you are unsure).

You will then have to look for the desired ropeway, e.g. by pressing Ctrl+F and then the name of your ropeway. The interesting lines for us are the ones below carriers = {.

	ropeways = {
		ropeways = {
			{
				carriers = {
					{
						position = 1.4009004831314,
						ap_door = 0,
						speed = 0.48530155420303,
						extraParts = {
							hallsteinLogo = false,
						},
						splineRopeway = "MyRopeway",
						ap_grip = 0,
						seats = {
						},
						carrierType = "default.dline_cwa_omega-v",
						splineId = 22,
					},
					-- can have multiple carriers
				},
				nativeCarrierCount = 14,
				ropewayType = "default.dline_10mgd-dorfbahn",
				mainSection = 231,
				station1 = {
					y = 199.55836486816,
					x = 1152.5532226563,
					z = 1212.9611816406,
				},
				resetSavegame = {
					...
				},
				control = {
					...
				},
				persistentId = 231,
				supports = {
				},
				sectionNumber = 1,
				station2 = {
					y = 199.92440795898,
					x = 1279.2340087891,
					z = 1208.1043701172,
				},
				nativeSpacing = 76.293436293436,
				supportNumberOffset = 0,
				name = "MyRopeway",
				sectionList = {
					231,
				},
			},
			-- can have multiple ropeways
		},
	},

Recoloring carriers

Get the color definition

The exact color configuration needs to be read from the carrier's data table, which is contained in the modding SDK for all default carriers (path is Assets/WinterResortSimulator-SDK/DataTables/carriers/ in the modding SDK zip archive).

We continue using the OmegaV's color definition from the data table to match the carrier type default.dline_cwa_omega-v:

colors					= {
	carrier				= {
		_RColor = { 102, 102, 102, 255 },
	},
	lod1				= {
		_Color = { 62, 69, 81, 255 },
	},
	lod2				= {
		_Color = { 87, 89, 87, 255 },
	},
},

Due to different material settings, it can happen that the color looks brighter once the model is reduced to a LOD using less polygons. This is why you can specify the colors separately for all LODs.

Choose a new color

Now you need to choose a new color (R, G, B values). Check out the Wikipedia page on the RGB model in case this is unknown to you.

Once you have done this, note these values down, e.g. as 0, 148, 255 (for HR-blue).

Apply the color

We can now replace the colors between the { curly brackets }. Please make sure to pass over 4 numbers between 0 and 255. Decimal numbers are not allowed. In our example, we will replace them by 0, 148, 255, 255. Note that we have to specify four parameters! The last one will usually be 255 (except for transparent objects).

Note that the color can be specified for each carrier individually. This means it is possible to have mixed carrier colors, similar to 8-MGD Falschbachbahn.

After having replaced the colors, we can simply add it to the carrier's table in the savegame:

{
	position = 1.4009004831314,
	ap_door = 0,
	speed = 0.48530155420303,
	extraParts = {
		hallsteinLogo = false,
	},
	splineRopeway = "MyRopeway",
	ap_grip = 0,
	seats = {
	},
	carrierType = "default.dline_cwa_omega-v",
	splineId = 22,
	colors					= {
		carrier				= {
			_RColor = { 0, 148, 255, 255 },
		},
		lod1				= {
			_Color = { 0, 148, 255, 255 },
		},
		lod2				= {
			_Color = { 0, 148, 255, 255 },
		},
	},
},

Once you have added the lines to all carriers, save the .lua file and start the game!

Enabling/Disabling carrier extra parts

The availability of extra parts depends on the exact carrier type. Examples for extra parts are ladders, logos or solar panels.

To know which extra parts can be configured, we take a look at the extraParts = { section of the desired carrier in our savegame:

extraParts = {
	hallsteinLogo = false,
},

To enable an extra part, we change false to true.

extraParts = {
	hallsteinLogo = true,
},

If the extra part is already enabled and we want to disable it, we change true to false.

Once you have changed the lines of all carriers, save the .lua file and start the game!