Speed & Milepost textcolor... MSTS to ORTS issue
#1
Posted 07 January 2017 - 04:38 PM
We have a route with milepost (blue with white text) & differt speedbords with white text or other color too.
In MSTS colors on milepost & referencespeedbords whas white, but in ORTS is this black :wtf01:
Can this be a wrong programmation in the speedpost & milepost file?
Greetz,
Stijn
#2
Posted 07 January 2017 - 07:03 PM
The colors of those items should be provided for by the numeral texture.
#3
Posted 08 January 2017 - 01:33 AM
Stijn D.C., on 07 January 2017 - 04:38 PM, said:
We have a route with milepost (blue with white text) & differt speedbords with white text or other color too.
In MSTS colors on milepost & referencespeedbords whas white, but in ORTS is this black :wtf01:
Can this be a wrong programmation in the speedpost & milepost file?
Greetz,
Stijn
I agree with jovet, the color and the style of the numbers in Speed- an Milepost are defined in *.acf files.
see in Route-folder Europe1, file Speedpost.dat:
Speedpost_Set
(
Name ( UnitedKingdom )
Speed_Sign_Shape ( UKPerSpeed.s
1 -0.05 1.333 0 0)
Speed_Resume_Sign_Shape ( UKResSpeed.s
1 -0.05 1.333 0 0 )
Speed_Digit_Tex ( jp1signnumbers.ace )
Speed_Text_Size ( 0.16 0.16 0)
Milepost_Shape ( UKMilepost.s
2 -0.33831 1.81202 0.08989 45 0.33831 1.81202 0.08989 -45 )
Milepost_Digit_Tex ( UKsignnumbers.ace )
Milepost_Text_Size ( 0.1 0.1 0 )
)
This Textures has the following geometry:
The numbers can have every kind of color, the borders are practically designed transparent, so that the texture of the plate can shine thru.
MSTS and OR take the numbers from this *.ace-files, to indicate the distance or the speedlimit.
The pink data give the place where the numbers has to be placed on the Plate.
read the MSTS document: How to write a speedpost_dat file.doc
Perhaps for your plates, the Information's are placed a bit inside of the Plates and MSTS show this anyway, but not OR?
EugenR
#4
Posted 08 January 2017 - 07:09 AM
eugenR, on 08 January 2017 - 01:33 AM, said:
Keep in mind, he reported that MSTS shows white numerals while OR shows black ones. So we need to find out why that is. To my knowledge there shouldn't be any problem rendering milepost and speedpost numerals in Open Rails, but non-black numerals are a bit more rare.
#5
Posted 08 January 2017 - 08:01 AM
Jovet, on 08 January 2017 - 07:09 AM, said:
Joseph, You have right,
I remember, it is many years ago I has had an *.acf-file for speedplate-number's where the border was white, not transparent.
I have tested this here, the same Texture in MSTS:
The Plate is textured in gmax with the Lighting Palette "cruciform"
vtx_state ( 00000000 0 -11 0 00000002 )
then the white of the numbers border is the same as the white on the plate.
and in OR:
the white border shine in OR as dark grey.
so perhaps in stijn's route the white number's are shining in this dark grey?
I think, OR can't make a difference between the numbers and the border?
EugenR
#6
Posted 08 January 2017 - 11:30 AM
I take a speedbord of that speedpost code:
Speedpost_Set
(
Name ( BelSpedLineSpeed )
Speed_Sign_Shape ( BelSpedLine_Speed.s 1 -0.07 1.95 -0.03 0 )
Speed_Warning_Sign_Shape ( BelSpedLine_Speed.s 1 -0.07 1.95 -0.03 0 )
Speed_Digit_Tex ( WHnumbers.ace )
Speed_Text_Size ( 0.3 0.2 0.0 )
Milepost_Shape ( Mpost.s 2 -0.05 1.9 -0.01 0 0.05 1.9 0.01 180 )
Milepost_Digit_Tex ( WHnumbers.ace )
Milepost_Text_Size ( 0.30 0.20 0.0 )
)
A signalprogrammer of us trainsimteam have look at the code, now it better, but the white is more grey:
I have look at the .ace files where numbers on, and remake the colors to white & black, result stay grey.
#7
Posted 08 January 2017 - 12:26 PM
Thanks
#9
Posted 08 January 2017 - 01:49 PM
Coolhand101, on 08 January 2017 - 12:26 PM, said:
Thanks
Yes, I think for the Milepost- and the Speedpost-numbers OR should set the Lighting also to "cruciform" as MSTS does (see my Post #5).
So the white would be more light in daytime and will shine white in the headlights of the trains.
Thanks
EigenR
#10
Posted 08 January 2017 - 04:24 PM
I always hated how white digits glowed in the dark in MSTS, though. It doesn't look retro-reflective, it just looks silly and radioactive.
Stijn D.C., on 08 January 2017 - 11:30 AM, said:
You changed the texture so that the color channel is black not white, and observed no change in appearance in OR...?