[TUTORIAL] Class 170 Update: Fixing reskins

General discussion about RailWorks, your thoughts, questions, news and views!

Moderator: Moderators

User avatar
jivebunny
Very Active Forum Member
Posts: 2015
Joined: Mon Jun 26, 2006 9:49 pm
Location: Brittany, France

[TUTORIAL] Class 170 Update: Fixing reskins

Post by jivebunny »

Since the Class 170 was updated on March 23rd, reskins of the unit no longer work and result in a glorious display of colours being pasted across your entire screen before you're even in the cab. This tutorial aims to help you (and the reskin authors, hopefully!) fix these problems.

There are a couple of files to copy over, but you first need to be sure you're copying the files from the livery which was used as a base for the reskin. Copying files over from the wrong unit will lead to texture problems (reskinners, I'm sure you're aware of this :P ). I'll try to compile a list here of which reskin uses which livery as a base. If reskinners want to send me a quick PM with the UKTS file ID or their reskin and the 170 livery it was based on then I'll add them to this thread which people can then search, to give you a bit of time to get your reskins updated and uploaded :wink:

As with the Class 47, Class 166 and the HST when they were updated, you'll need to reference the light and water effects in the DMCL and DMSL .bin files. You'll also need to copy the relevant new .GeoPcDx shape files as well as the new script files into the reskin's "Engine" folder. I'll use Richard Mills' (gypbrc) excellent Chiltern 168 reskin as an example, and hopefully I'll write this in a way that's accessible to all.

STEP ONE - Making the vehicles display correctly in the sim:

This bit is relatively easy. The Chiltern 168 reskin is based on the Central Trains version of the 170, so we simply need to copy the .GeoPcDx files for each vehicle from the updated Central Trains 170 into the folder for the Chiltern 168. Whilst we're at it, we'll also copy the script files which the updated 170 now uses.

- In Windows, navigate to your Railworks folder and then to Assets\Thomson\Class170Pack01\RailVehicles\Class170\CT\Engine\

- Select the following six files, and hit Ctrl+C to copy them:

Code: Select all

170_DMCL.GeoPcDx
170_DMSL.GeoPcDx
170_MSL.GeoPcDx
class170_DMCL_script.lua
class170_DMSL_script.lua
class170_MSL_script.lua
Now navigate back up to the main Class170 folder and then open Class170\CH\Engine - paste the six files in here. When prompted, tell Windows to "overwrite" or "copy and replace" the existing files.

If you go into the sim now, the units will display correctly. Now we just need to fix the cab view and add the TS2012 lights.

STEP TWO - Upgrading the vehicles to use the new TS2012 features:

- In RW_Tools, click Files>Open Railworks File, and navigate to Assets\Thomson\Class170Pack01\RailVehicles\Class170\CH\Engine\
- From here, you'll need to open Class170_DMCL.bin. Once you're done you'll also need to make the same changes to Class170_DMSL.bin.
- The MOS vehicle doesn't require any changes since it doesn't have headlights or a windscreen.

Once you've got one of the files open in RW_Tools, make the following two changes:

A - Search (F2) for </ControlValues>, place the cursor at the end of that line, hit enter. Copy the following code and paste in onto the new line:

Code: Select all

<WiperPairs>
						<cControlContainerBlueprint-cWiperPair d:id="52056704">
							<SlaveToAnimationA d:type="cDeltaString">wipers</SlaveToAnimationA>
							<SlaveToAnimationB d:type="cDeltaString">wipers</SlaveToAnimationB>
							<TextureID d:type="cDeltaString">Thomson\Class170Pack01\RailVehicles\Class170\CabView\textures\[00]170cab_wm_nm</TextureID>
							<NormalsTextureID d:type="cDeltaString">Thomson\Class170Pack01\RailVehicles\Class170\CabView\textures\[00]170cab_gn_nm</NormalsTextureID>
						</cControlContainerBlueprint-cWiperPair>
					</WiperPairs>
B - Search now for </cEntityContainerBlueprint-sChild> (there will be multiple search results, it doesn't matter which one you paste the code in after), again place the cursor at the end of that line and hit enter. Copy the following code - there's quite a lot there - and paste in onto the new line:

Code: Select all

<cEntityContainerBlueprint-sChild d:id="52119936">
							<ChildName d:type="cDeltaString">Fwd_Headlight_1</ChildName>
							<BlueprintID>
								<iBlueprintLibrary-cAbsoluteBlueprintID>
									<BlueprintSetID>
										<iBlueprintLibrary-cBlueprintSetID>
											<Provider d:type="cDeltaString">Thomson</Provider>
											<Product d:type="cDeltaString">Class170Pack01</Product>
										</iBlueprintLibrary-cBlueprintSetID>
									</BlueprintSetID>
									<BlueprintID d:type="cDeltaString">RailVehicles\CommonLights\Headlights.xml</BlueprintID>
								</iBlueprintLibrary-cAbsoluteBlueprintID>
							</BlueprintID>
							<Matrix>
								<cHcRMatrix4x4>
									<Element>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000C0A145F03F" d:precision="string">1.017</e>
										<e d:type="sFloat32" d:alt_encoding="00000060643BF93F" d:precision="string">1.577</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000802740" d:precision="string">11.75</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
									</Element>
								</cHcRMatrix4x4>
							</Matrix>
							<ParentNodeName d:type="cDeltaString"></ParentNodeName>
						</cEntityContainerBlueprint-sChild>
						<cEntityContainerBlueprint-sChild d:id="52122880">
							<ChildName d:type="cDeltaString">Bwd_Taillight_1</ChildName>
							<BlueprintID>
								<iBlueprintLibrary-cAbsoluteBlueprintID>
									<BlueprintSetID>
										<iBlueprintLibrary-cBlueprintSetID>
											<Provider d:type="cDeltaString">Thomson</Provider>
											<Product d:type="cDeltaString">Class170Pack01</Product>
										</iBlueprintLibrary-cBlueprintSetID>
									</BlueprintSetID>
									<BlueprintID d:type="cDeltaString">RailVehicles\CommonLights\TailLights.xml</BlueprintID>
								</iBlueprintLibrary-cAbsoluteBlueprintID>
							</BlueprintID>
							<Matrix>
								<cHcRMatrix4x4>
									<Element>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000C0CCCCE83F" d:precision="string">0.775</e>
										<e d:type="sFloat32" d:alt_encoding="000000E07A14F83F" d:precision="string">1.505</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000802740" d:precision="string">11.75</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
									</Element>
								</cHcRMatrix4x4>
							</Matrix>
							<ParentNodeName d:type="cDeltaString"></ParentNodeName>
						</cEntityContainerBlueprint-sChild>
						<cEntityContainerBlueprint-sChild d:id="52127616">
							<ChildName d:type="cDeltaString">Bwd_Taillight_2</ChildName>
							<BlueprintID>
								<iBlueprintLibrary-cAbsoluteBlueprintID>
									<BlueprintSetID>
										<iBlueprintLibrary-cBlueprintSetID>
											<Provider d:type="cDeltaString">Thomson</Provider>
											<Product d:type="cDeltaString">Class170Pack01</Product>
										</iBlueprintLibrary-cBlueprintSetID>
									</BlueprintSetID>
									<BlueprintID d:type="cDeltaString">RailVehicles\CommonLights\TailLights.xml</BlueprintID>
								</iBlueprintLibrary-cAbsoluteBlueprintID>
							</BlueprintID>
							<Matrix>
								<cHcRMatrix4x4>
									<Element>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="00000020FFCCE8BF" d:precision="string">-0.775024</e>
										<e d:type="sFloat32" d:alt_encoding="000000E07A14F83F" d:precision="string">1.505</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000802740" d:precision="string">11.75</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
									</Element>
								</cHcRMatrix4x4>
							</Matrix>
							<ParentNodeName d:type="cDeltaString"></ParentNodeName>
						</cEntityContainerBlueprint-sChild>
Hope this helps, let me know if you have any trouble.
If someone could quickly try to follow this tutorial and confirm all the steps are there it'd be much appreciated.

Cheers,

JB
Last edited by jivebunny on Fri Mar 23, 2012 11:45 pm, edited 4 times in total.
"Moving half of West London would be a ridiculous amount of work."
nobkins
Very Active Forum Member
Posts: 4421
Joined: Fri Jun 12, 2009 11:51 pm
Location: Leeds

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by nobkins »

Haven't tried this myself but a great post. Thanks for taking the time and effort JB
TrainSimDev.com The community dedicated to those who create content for any Train Simulator.
Includes: Free downloads via torrent or browser, forum browsable by all, membership by invitation (any member can invite someone)
User avatar
jivebunny
Very Active Forum Member
Posts: 2015
Joined: Mon Jun 26, 2006 9:49 pm
Location: Brittany, France

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by jivebunny »

The next units I've tackled were the NXEA reskins by David Richardson (Tankski). These also use the Central Trains livery as a base so the above steps can be followed for the Class170\NXEA 2C and Class170\NXEA 3C folders.

 Click to view more informationNXEA Class 170 'One' Blue Fleet Pack [9387269 bytes] - NXEA Class 170s.rar
File ID: 25445 Date: 18 Dec 2010 - 1536 Downloads


Cheers,

JB
"Moving half of West London would be a ridiculous amount of work."
User avatar
FoggyMorning
Very Active Forum Member
Posts: 5382
Joined: Sun Apr 25, 2010 1:16 am
Location: In the not too distant future, next Sunday A.D.

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by FoggyMorning »

nobkins wrote:Haven't tried this myself but a great post. Thanks for taking the time and effort JB
Yes, many thanks for doing this JB
jivebunny wrote: STEP TWO - Upgrading the vehicles to use the new TS2012 features:

- In RW_Tools, click Files>Open Railworks File, and navigate to Assets\Thomson\Class170Pack01\RailVehicles\Class170\CH\Engine\
- From here, you'll need to open Class170_DMCL.bin. Once you're done you'll also need to make the same changes to Class170_DMSL.bin.
- The MOS vehicle doesn't require any changes since it doesn't have headlights or a windscreen.

Once you've got one of the files open in RW_Tools, make the following two changes:

A - Search (F2) for </ControlValues>, place the cursor at the end of that line, hit enter. Copy the following code and paste in onto the new line:

Code: Select all

<WiperPairs>
						<cControlContainerBlueprint-cWiperPair d:id="52056704">
							<SlaveToAnimationA d:type="cDeltaString">wipers</SlaveToAnimationA>
							<SlaveToAnimationB d:type="cDeltaString">wipers</SlaveToAnimationB>
							<TextureID d:type="cDeltaString">Thomson\Class170Pack01\RailVehicles\Class170\CabView\textures\[00]170cab_wm_nm</TextureID>
							<NormalsTextureID d:type="cDeltaString">Thomson\Class170Pack01\RailVehicles\Class170\CabView\textures\[00]170cab_gn_nm</NormalsTextureID>
						</cControlContainerBlueprint-cWiperPair>
					</WiperPairs>
B - Search now for </cEntityContainerBlueprint-sChild> (there will be multiple search results, it doesn't matter which one you paste the code in after), again place the cursor at the end of that line and hit enter. Copy the following code - there's quite a lot there - and paste in onto the new line:

Code: Select all

<cEntityContainerBlueprint-sChild d:id="52119936">
							<ChildName d:type="cDeltaString">Fwd_Headlight_1</ChildName>
							<BlueprintID>
								<iBlueprintLibrary-cAbsoluteBlueprintID>
									<BlueprintSetID>
										<iBlueprintLibrary-cBlueprintSetID>
											<Provider d:type="cDeltaString">Thomson</Provider>
											<Product d:type="cDeltaString">Class170Pack01</Product>
										</iBlueprintLibrary-cBlueprintSetID>
									</BlueprintSetID>
									<BlueprintID d:type="cDeltaString">RailVehicles\CommonLights\Headlights.xml</BlueprintID>
								</iBlueprintLibrary-cAbsoluteBlueprintID>
							</BlueprintID>
							<Matrix>
								<cHcRMatrix4x4>
									<Element>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000C0A145F03F" d:precision="string">1.017</e>
										<e d:type="sFloat32" d:alt_encoding="00000060643BF93F" d:precision="string">1.577</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000802740" d:precision="string">11.75</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
									</Element>
								</cHcRMatrix4x4>
							</Matrix>
							<ParentNodeName d:type="cDeltaString"></ParentNodeName>
						</cEntityContainerBlueprint-sChild>
						<cEntityContainerBlueprint-sChild d:id="52122880">
							<ChildName d:type="cDeltaString">Bwd_Taillight_1</ChildName>
							<BlueprintID>
								<iBlueprintLibrary-cAbsoluteBlueprintID>
									<BlueprintSetID>
										<iBlueprintLibrary-cBlueprintSetID>
											<Provider d:type="cDeltaString">Thomson</Provider>
											<Product d:type="cDeltaString">Class170Pack01</Product>
										</iBlueprintLibrary-cBlueprintSetID>
									</BlueprintSetID>
									<BlueprintID d:type="cDeltaString">RailVehicles\CommonLights\TailLights.xml</BlueprintID>
								</iBlueprintLibrary-cAbsoluteBlueprintID>
							</BlueprintID>
							<Matrix>
								<cHcRMatrix4x4>
									<Element>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000C0CCCCE83F" d:precision="string">0.775</e>
										<e d:type="sFloat32" d:alt_encoding="000000E07A14F83F" d:precision="string">1.505</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000802740" d:precision="string">11.75</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
									</Element>
								</cHcRMatrix4x4>
							</Matrix>
							<ParentNodeName d:type="cDeltaString"></ParentNodeName>
						</cEntityContainerBlueprint-sChild>
						<cEntityContainerBlueprint-sChild d:id="52127616">
							<ChildName d:type="cDeltaString">Bwd_Taillight_2</ChildName>
							<BlueprintID>
								<iBlueprintLibrary-cAbsoluteBlueprintID>
									<BlueprintSetID>
										<iBlueprintLibrary-cBlueprintSetID>
											<Provider d:type="cDeltaString">Thomson</Provider>
											<Product d:type="cDeltaString">Class170Pack01</Product>
										</iBlueprintLibrary-cBlueprintSetID>
									</BlueprintSetID>
									<BlueprintID d:type="cDeltaString">RailVehicles\CommonLights\TailLights.xml</BlueprintID>
								</iBlueprintLibrary-cAbsoluteBlueprintID>
							</BlueprintID>
							<Matrix>
								<cHcRMatrix4x4>
									<Element>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
										<e d:type="sFloat32" d:alt_encoding="00000020FFCCE8BF" d:precision="string">-0.775024</e>
										<e d:type="sFloat32" d:alt_encoding="000000E07A14F83F" d:precision="string">1.505</e>
										<e d:type="sFloat32" d:alt_encoding="0000000000802740" d:precision="string">11.75</e>
										<e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
									</Element>
								</cHcRMatrix4x4>
							</Matrix>
							<ParentNodeName d:type="cDeltaString"></ParentNodeName>
						</cEntityContainerBlueprint-sChild>
Hope this helps, let me know if you have any trouble.
If someone could quickly try to follow this tutorial and confirm all the steps are there it'd be much appreciated.

Cheers,

JB
Can these steps be used on other locos/units that have not been upgraded with TS2012 features? For example, if the relevant texture files were moved and had their paths altered, would it be possible to add the rain effect to the 158?
nobkins
Very Active Forum Member
Posts: 4421
Joined: Fri Jun 12, 2009 11:51 pm
Location: Leeds

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by nobkins »

I use a very similar technique for the 37's 47's and HST's

In fact I have text files with instructions created already (saves time with the Freeware Packs).

If you are interested just shout.
TrainSimDev.com The community dedicated to those who create content for any Train Simulator.
Includes: Free downloads via torrent or browser, forum browsable by all, membership by invitation (any member can invite someone)
User avatar
FoggyMorning
Very Active Forum Member
Posts: 5382
Joined: Sun Apr 25, 2010 1:16 am
Location: In the not too distant future, next Sunday A.D.

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by FoggyMorning »

nobkins wrote:I use a very similar technique for the 37's 47's and HST's

In fact I have text files with instructions created already (saves time with the Freeware Packs).

If you are interested just shout.
Hi Jim, thanks for that, I did read several posts on the subject when it first cropped up. What I am getting at (and it may not even be possible) is would it be possible to use the rain effect from a TS2012 updated model like the 170 on a unit which has not been updated at all, like the 158?

Thanks
User avatar
Merlin75
Very Active Forum Member
Posts: 2205
Joined: Wed Apr 07, 2010 9:13 pm
Location: Cornwall

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by Merlin75 »

Way to go JB I now have the FTPE ones back many thanks.
[album 241806 sig.jpg]
User avatar
jivebunny
Very Active Forum Member
Posts: 2015
Joined: Mon Jun 26, 2006 9:49 pm
Location: Brittany, France

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by jivebunny »

FoggyMorning wrote:Can these steps be used on other locos/units that have not been upgraded with TS2012 features? For example, if the relevant texture files were moved and had their paths altered, would it be possible to add the rain effect to the 158?
Unfortunately the rain effects require changes to the actual model (new glass using new shaders) so you can't simply add them to existing models. Lights however are a different story; you can copy the "Lights" folder over from the Class 166 for example and then add the second bit of code above to the .bin files for the driving vehicles of the 158. You'd then need to alter the Provider, Product and the file path info to point to the correct files rather than the 170's lights, and then spend some time messing around with the 4x4Matrix section to get the lights in the right locations for the 158...

If it's specifically the 158 you're interested in, it's being updated for the release of the Settle-Carlisle route on the 29th :)

JB
Last edited by jivebunny on Sat Mar 24, 2012 12:39 am, edited 1 time in total.
"Moving half of West London would be a ridiculous amount of work."
michaeldono
Very Active Forum Member
Posts: 1071
Joined: Sat Jul 11, 2009 9:06 am

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by michaeldono »

I think a branding Freeware pack for the 150+156+170 would be good, and it'd save going all over for reskins.
Image
User avatar
FoggyMorning
Very Active Forum Member
Posts: 5382
Joined: Sun Apr 25, 2010 1:16 am
Location: In the not too distant future, next Sunday A.D.

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by FoggyMorning »

jivebunny wrote:
FoggyMorning wrote:Can these steps be used on other locos/units that have not been upgraded with TS2012 features? For example, if the relevant texture files were moved and had their paths altered, would it be possible to add the rain effect to the 158?
Unfortunately the rain effects require changes to the actual model (new glass using new shaders) so you can't simply add them to existing models. Lights however are a different story; you could copy the "Lights" folder over from the Class 166 for example and then add the second bit of code above to the .bin file for the 158

The 158 is being updated with the release of Settle-Carlisle anyway so on the 29th you'll have rain and light effects

Lights however are a different story; you can copy the "Lights" folder over from the Class 166 for example and then add the second bit of code above to the .bin files for the driving vehicles of the 158. You'd then need to alter the Provider, Product and the file path info to point to the correct files rather than the 170's lights, and then spend some time messing around with the 4x4Matrix section to get the lights in the right locations for the 158...

If it's specifically the 158 you're interested in, it's being updated for the release of the Settle-Carlisle route on the 29th :)

JB
Thanks for clearing that up - the 158 was just an example really :)
nobkins
Very Active Forum Member
Posts: 4421
Joined: Fri Jun 12, 2009 11:51 pm
Location: Leeds

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by nobkins »

JB has it spot on. You can add lights to any model relatively easily (although positioning them can be time consuming). However rain requires a change to the model.

Jim
TrainSimDev.com The community dedicated to those who create content for any Train Simulator.
Includes: Free downloads via torrent or browser, forum browsable by all, membership by invitation (any member can invite someone)
User avatar
jivebunny
Very Active Forum Member
Posts: 2015
Joined: Mon Jun 26, 2006 9:49 pm
Location: Brittany, France

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by jivebunny »

Just realised what a mess my last post was - obviously tried to re-phrase something and then forgot to delete the original paragraph... now fixed.
"Moving half of West London would be a ridiculous amount of work."
thebumb
Been on the forums for a while
Posts: 148
Joined: Mon Oct 22, 2007 11:45 am

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by thebumb »

Thanks for this JB; I'll have a mess.
User avatar
bdy26
Very Active Forum Member
Posts: 3854
Joined: Thu Oct 07, 2004 8:34 pm
Location: Manchester, rain.

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by bdy26 »

Well done JB, that's a very helpful post indeed. Good work Sir. :D

B
http://bdy26.co.uk/sbhh/

Builder of The Cockermouth Keswick and Penrith Railway and Lancaster to Carlisle for RW; purveyor of dirty diesels to Vulcan Productions.
User avatar
gypbrc
Very Active Forum Member
Posts: 1813
Joined: Thu Feb 11, 2010 8:09 pm

Re: [TUTORIAL] Class 170 Update: Fixing reskins

Post by gypbrc »

Thanks for the tutorial. And also of the reminder that I had uploaded stuff to the file library :oops:
I can now get all of the Anglia reskins updated and ready to roll out with the route :D
Locked

Return to “[RW] General RW Discussion”