meta data for this page

Recoloring carriers in the savegame

Since Patch 4, it is possible to recolor carriers 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!

Choose a new color

It is important to choose a new color first (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

To apply the color, 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.

			{
				name = "Dorfbahn",
				station1 = {
					x = 221.680465698242,
					y = 463.296295166016,
					z = 1061.46362304688,
				},
				station2 = {
					x = 1464.75927734375,
					y = 768.562438964844,
					z = 796.607543945313,
				},
				rwType = "default.dline_10mgd-dorfbahn",
				supports = {
					-- ...
					-- skip this part
					-- ...
				},
				carriers = {
					{
						templateName = "default.dline_cwa_omega-v",
						splineId = 1,
						position = 26.1211585998535,
						speed = 0.284999966621399,
						ap_grip = 1,
						ap_door = 1,
						seats = {
						},
					},
					{
						templateName = "default.dline_cwa_omega-v",
						splineId = 1,
						position = 22.8729591369629,
						speed = 0.284999966621399,
						ap_grip = 1,
						ap_door = 1,
						seats = {
						},
					},
-- ... more lines to follow

The interesting lines for us are the ones below carriers = {. 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.

The exact color configuration can 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:

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

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). After having replaced the colors, we can simply add it to the carrier's table in the savegame:

					{
						templateName = "default.dline_cwa_omega-v",
						splineId = 1,
						position = 22.8729591369629,
						speed = 0.284999966621399,
						ap_grip = 1,
						ap_door = 1,
						seats = {
						},
						colors					= {
							carrier				= {
								_RColor = { 0, 148, 255, 255 },
							},
							lod1				= {
								_Color = { 0, 148, 255, 255 },
							},
							lod2				= {
								_Color = { 0, 148, 255, 255 },
							},
						},
					},
-- for comparison: once again the same, but without the additional code
					{
						templateName = "default.dline_cwa_omega-v",
						splineId = 1,
						position = 22.8729591369629,
						speed = 0.284999966621399,
						ap_grip = 1,
						ap_door = 1,
						seats = {
						},
						-- insert the block colors = { ... } here
					},

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.

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