Elvas Tower: TSRE Jumpstarted? - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

TSRE Jumpstarted? Compiling Success Rate Topic: -----

#11 User is offline   Kapitaen13 

  • Hostler
  • Group: Status: Active Member
  • Posts: 80
  • Joined: 05-April 19
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 21 February 2024 - 11:30 AM

View PostGenma Saotome, on 21 February 2024 - 10:27 AM, said:

IIRC the lines are 1 pixel wide, terribly thin in a 4k monitor. Would be be possible to do, oh, something on the order of 5-10 pixels to the inside of a tile?


Use "oglDefaultLineWidth = 5" in settings.txt, or try out 2 - 10

Greeting Jan

#12 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,578
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 21 February 2024 - 12:54 PM

Jan is correct -- oglDefaultLineWidth will change it already, but I'm looking to isolate it just for the terrain selection vs. object selection.

It looks like modifying oglDefaultLineWidth will affect other lines which might not be a desirable behavior:

Attached File  capture_500436(00001).jpg (185.31K)
Number of downloads: 1

Here it is with just the terrain width:

Attached File  capture_500437.jpg (112.21K)
Number of downloads: 1


While I'm under the hood, I'll make the color itself configurable for those who might like green or gold instead of orange...

#13 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,350
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 21 February 2024 - 02:37 PM

View PostKapitaen13, on 21 February 2024 - 11:30 AM, said:

Use "oglDefaultLineWidth = 5" in settings.txt, or try out 2 - 10

Greeting Jan


Ahh, yes. Thanks.

WRT the 64 bit program, are there any new additions to what can be set in the settings file? Any deletions?

#14 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,578
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 21 February 2024 - 02:52 PM

View PostGenma Saotome, on 21 February 2024 - 02:37 PM, said:

WRT the 64 bit program, are there any new additions to what can be set in the settings file? Any deletions?


Yes....

As of right now:
wireLineHeight = 6.7         // sets the yellow TDB line height to help position catenary/bridges
sectionLineHeight = 5        // sets the grey Tsection line that people probably don't notice is there
terrainSize = 1              // sets the cut/fill size value
terrainEmbankment = 2        // sets the cut/fill embankment value
terrainCut = 2               // sets the cut/fill cut value
terrainRadius = 9            // sets the cut/fill radius value
terrainBrushSize = 1         // sets the terrain brush size
terrainBrushIntensity = 12   // sets the terrain brush intensity
selectedTerrWidth=4          // sets the width of the terrain tile selection lines
selectedTerrColor = #FFB612  // sets the color for terrain tile selection lines
selectedWidth=2              // sets the width of the object selection lines
selectedColor = #B612FF      // sets the color for object selection lines


There will likely be some other items added as default values as I continue digging.

No deletions yet.

#15 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,578
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 21 February 2024 - 10:46 PM

And just like that, v8.002 is out. https://www.trainsim...ileid?fid=88621

You can now define one color and line width for terrain tile selection (orange, weight of 4px):
Attached File  capture_500438.jpg (98.7K)
Number of downloads: 2

and another color and line width for objects (purple, weight of 2px):
Attached File  capture_500439.jpg (107.25K)
Number of downloads: 6

These use the same style hex values as the other color settings from Goku's v7.012 and earlier.

The only reason I'm kicking out a new version this quick is there was a problem with some of the other adjustments promised. This should have address those.

#16 User is offline   joe_star 

  • Fireman
  • Group: Status: Active Member
  • Posts: 209
  • Joined: 16-January 13
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 23 February 2024 - 12:56 AM

Hello

Is the updated code on Git?

Thanks

#17 User is offline   eric from trainsim 

  • Waste Disposal Engineer
  • Group: Private - Open Rails Developer
  • Posts: 1,578
  • Joined: 30-October 10
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 23 February 2024 - 01:07 PM

The executables are on TS.

The raw code is on Github.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users