Rain on Cab effect

Progress at last thanks to RW Tools. Looking at the GEOPCDX files of broken and working cabs, the working one had weatherglass_1 as the shader name and the broken one had weatherglass_0 in it. Changing that fixed the problem

<ShaderName d:type="cDeltaString">TrainGlassWeatherEffects.fx</ShaderName>
<TextureByName>
<e d:type="cDeltaString">textures[00]windiff_nm</e>
<e d:type="cDeltaString">textures[00]windiff_nm</e>
<e d:type="cDeltaString">textures[00]winnorm_nm</e>
<e d:type="cDeltaString">textures[00]winwmotion_nm</e>
</TextureByName>
<Name d:type="cDeltaString">weatherglass_1</Name>
<CollisionSurface d:type="cDeltaString">METAL</CollisionSurface>
<VertexType d:type="ref">225771592</VertexType>
<FrameAlphaMode d:type="cDeltaString">ALPHA_MODE_NONE</FrameAlphaMode>
<PassPlatformData/>
<FloatParam>
<cHcEffectMaterialDx-cFloatParam d:id="178608564">
<Name d:type="cDeltaString">SPECULARPOWER</Name>
<Value d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</Value>

Anyone know why Windows XP exports with a weatherglass_1 and Windows 7 64BIT exports exactly the same file as weatherglass_0. Wierd one.
Each of my windows has a seperate weatherglass_# to get the file to export in the first place.

Having just switched to Win 7 64 bit I’m also having problems exporting and have to edit files with RWTools. It seems that the second Diff texture is not exporting, or the weatherglass_1 object name. Without the second diff file the windows are black. Exporting through XP is till ok. I did regsvr the igs export plugin. Has anything else changed to stop the exporter working like it did for XP?

Richard

Very strange to me… I don’t have any problems with exporter in my win 7 64.

Hi
I’ve religously followed all the advice on this posting and have still failed to get any Rain Effects and I guess there is something really simple I’m not doing so any help would be much appreciated.
1st – my hierarchy – [attachment=1:28r3tjry]<!– ia1 –>Hierarchy1.PNG<!– ia1 –>[/attachment:28r3tjry]
2nd – is the window a single or double sided polygon? – I’ve tried both and no luck.
3rd – I’ve used Vlado’s textures, and sent them through the RWAceTool to get the ACE files.
4th – Assigned the textures as [attachment=0:28r3tjry]<!– ia0 –>properties.PNG<!– ia0 –>[/attachment:28r3tjry]

Done the normal Cab model, exported via Pauls latest RSIGS2 exporter.
Created the blueprint and exported correctly.

In game I can’t see the glass or rain effect, no visibility and it looks like a mirror effect???

Can’t think what else is wrong.

Steve

Two points I can see from your images Steve. The window should only be a single sided poly facing inwards to the cab.
You need the primary texture in the secondary slot as well.
There is something wrong with your environmental map as I notice you have some yellow area where the wipers wipe. My texture for this slot is pure white as it should just consist of the alpha channel and that isn’t visible in the texture slots. What does your alpha channel look like for the winwmotion_nm texture.

Vlado, how many seperate windows are you exporting on you cab?

My previous picture does not show well. It should be like on this picture…
[img:1p0tmy07]http&#58;//img13&#46;imageshack&#46;us/img13/6119/vjetrobran&#46;png[/img:1p0tmy07]

Thanks Darren &amp; Vlado
I note the single sided ploygon for the window which I did try but also the fact that the primary texture needs to be in the secondary slot as well.

I also had a PM from Richard Scott which confirmed these but also the fact that I needed the Wipers animation references in the Blueprint even though I had not yet built the animation in the model! – Bit of a strange one <!– s:shock: –><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!– s:shock: –>

So am about to try all these suggestions this weekend and will let you know how I get on.

Thanks for the feedback. Much appreciated. <!– s:) –><img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile" /><!– s:) –>

Steve

Hi
Glad to say the problem is sorted!!

It seems to be the fact that I didn’t have the Wipers commands in the Engine blueprint.
I now get the rain effects and can sort my own texture patterns out to get the right size of raindrops.

Appreciate all the help !!

Steve

What system are you using Steve. XP, Vista, Windows7 64bit etc.

Vlado, you’ve got five seperate windows in your cab. Do you join them as one object or keep the seperate. Does each one have a different Custom name in the Rail Sim field ie weatherglass_1, weatherglass_2 etc I couldn’t get the exporter to work if I called them all weatherglass_1 in the custom field.

&quot;Darren Carter&quot;:2iu3jirk wrote:
What system are you using Steve. XP, Vista, Windows7 64bit etc.

Vlado, you’ve got five seperate windows in your cab. Do you join them as one object or keep the seperate. Does each one have a different Custom name in the Rail Sim field ie weatherglass_1, weatherglass_2 etc I couldn’t get the exporter to work if I called them all weatherglass_1 in the custom field.[/quote:2iu3jirk]

I use Windows 7, 32 bit system with canvas 7.2
Also I used weathwglass_1, ….._2 etc

Steve

&quot;Darren Carter&quot;:3acnw6ec wrote:
…Do you join them as one object…[/quote:3acnw6ec]
Yes, only one object
&quot;Vlado&quot;:3ogzhwgw wrote:
&quot;Darren Carter&quot;:3ogzhwgw wrote:
…Do you join them as one object…[/quote:3ogzhwgw]
Yes, only one object[/quote:3ogzhwgw]

Hmmm! I wonder if that’s my trouble. I’ve kept them all seperate but have to so the glass in the cab doors moves with them. I’m sure I tried them all merged as one object but it made no difference.
Surely it’s not just a windows7 64bit issue as this is what I’m using.

OK. This has to be a 64bit issue with the exporter. I’ve deleted everything on my model so all I have left is the main model and one window. It’s still converting my weatherglass_1 in the custom RailSim field to weatherglass_0 when I open the GEOPCDX file with RWTools. Changing it to 1 cures the problem.

Ok! It was nothing to do with a Windows7 64bit issue at all but a hierarchy issue again.
From this pic you can see where the non working windows were in it

[img:rip1r3yf]http&#58;//s5&#46;postimage&#46;org/se3ne4pyb/3_DC_D78_1&#46;jpg[/img:rip1r3yf][/url:rip1r3yf]

and in this pic how I changed the hierarchy to get the windows working. Seems strange that the doors and thier glass are still a sub object of a sub object yet still work

[img:rip1r3yf]http&#58;//s5&#46;postimage&#46;org/h4axj6kwz/3_DC_D78_3&#46;jpg[/img:rip1r3yf][/url:rip1r3yf]

Also, you don’t need any weatherglass_1 in any of the Railsim custom fields anymore, so I managed to merge the glass in the cab door to the door itself. Just have to redo the animation now. At least it fixed. Well chuffed.

You must be logged in to reply in this thread.

89 posts