Install Steam						
					
				
				
									login
											 | 
						language
						
																																					简体中文 (Simplified Chinese)
																													繁體中文 (Traditional Chinese)
																													日本語 (Japanese)
																													한국어 (Korean)
																													ไทย (Thai)
																													Български (Bulgarian)
																													Čeština (Czech)
																													Dansk (Danish)
																													Deutsch (German)
																																							Español - España (Spanish - Spain)
																													Español - Latinoamérica (Spanish - Latin America)
																													Ελληνικά (Greek)
																													Français (French)
																													Italiano (Italian)
																													Bahasa Indonesia (Indonesian)
																													Magyar (Hungarian)
																													Nederlands (Dutch)
																													Norsk (Norwegian)
																													Polski (Polish)
																													Português (Portuguese - Portugal)
																													Português - Brasil (Portuguese - Brazil)
																													Română (Romanian)
																													Русский (Russian)
																													Suomi (Finnish)
																													Svenska (Swedish)
																													Türkçe (Turkish)
																													Tiếng Việt (Vietnamese)
																													Українська (Ukrainian)
																									Report a translation problem
							
						
											




I don't know why, but it goes from 29 to 31 degrees. So it's impossible to choose a 30 degree rotation.
It's incredible how much time I'm going to save thanks to you. I had it in my head to make a symmetrical constructions on my map and I was wondering if there was a way to copy-paste constructions. And then I came across your mod. Thank you very much!
What I do is make a train station, cargo hub, etc. to my liking with all rails connected on a separate part of the map, and every time I need it, I simply copy and paste it where I need it.
Many thanks sharing it!
updateFn = function(params)
local scale = {.5,.6,.7,.8,.9,1,1.1,1.2,1.3,1.4,1.5}
local result = { }
local thisModel = modelData[params.mdhtr_asset+1]
local w = scale[params.mdhtr_width+1]
local h = scale[params.mdhtr_height+1]
result.models = { {
id = thisModel,
transf = { w, 0, 0, 0, 0, 1, 0, 0, 0, 0, h, 0, 0, 0, 0, 1 },
} }
result.personCapacity = { type = "INDUSTRIAL", capacity = 1 }
result.terrainAlignmentLists = { {
type = "EQUAL",
faces = { }
} }
return result
Thanks