Got bored... so I decided to alter MSTS's GUI...

Screenshots of MSTS and assorted related tools in action!

Moderator: Moderators

SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Got bored... so I decided to alter MSTS's GUI...

Post by SteelixB »

... And it works :D .

<See images later in this topic (page 3) due to a small problem I had>
Last edited by SteelixB on Mon Feb 02, 2004 9:36 pm, edited 1 time in total.
New username: RSBen
jolly
Well Established Forum Member
Posts: 887
Joined: Thu Aug 08, 2002 2:37 pm

Post by jolly »

Looking very good Ben!

Very funky design! 8)
User avatar
martinhodgson
Nowt to brag about, but still want to look flashy!
Posts: 13922
Joined: Sun Jan 20, 2002 12:00 am
Location: Manchester
Contact:

Post by martinhodgson »

Cool, it looks nicer than the MS version :)
Martin - Member of the Moderation Team

You know you're a pilot when you drive off a cliff, and your last words are "Gear up!"
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Post by SteelixB »

I'm going to try to give MSTS an entire make over ;), not just that screen. I've also modified the loco details screen too, so now it has a slightly wider description box, but I'm not happy with it so I didn't post a screenshot.
New username: RSBen
User avatar
Hymek
Very Active Forum Member
Posts: 2270
Joined: Thu Jan 24, 2002 12:00 am
Location: 38A/85D
Contact:

Post by Hymek »

WOW, looks amazing!
http://www.svr-dmu.org.uk - DMU Group WM
http://www.englishelectricpreservation.co.uk/ - English Electric Preservation

Producer of Rolling Stock for the UKTS community Since September 2002
User avatar
jdjonny
Very Active Forum Member
Posts: 1150
Joined: Wed May 22, 2002 12:00 am
Location: "Sunny" Cornwall: peering into St. Blazey yard
Contact:

Post by jdjonny »

does this mean we'll have funky new error boxes as well then? ;)

JDJonny
....bad link removed......
http://www.railpics.tk
http://www.railpicsvideos.tk

Sulzer is the way forwards. Big up spoons!
User avatar
petermakosch
The Midland Mainline Man
Posts: 3852
Joined: Fri Nov 08, 2002 8:37 pm
Location: Pleasantville, UK
Contact:

Post by petermakosch »

you are going to make this avaliable for download arnt you?
i want to be uploaded
Timcourt1
MidEast UK Author
Posts: 2552
Joined: Mon Dec 03, 2001 12:00 am
Location: Michigan USA
Contact:

Post by Timcourt1 »

I could think of a few new ones for RE...rebuild track database for one - could change that to "Hose your entire route ...50 50 chance!!!"

Then "place your bets now please" whilst its rebuilding!

(sorry- poor attempt at Humour)

These look grand though
"No News is good news" - Lack of Morale Officer
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Post by SteelixB »

petermakosch wrote:you are going to make this avaliable for download arnt you?
Hopefully ;)
New username: RSBen
User avatar
rwaceyw
LMS Guru
Posts: 11524
Joined: Mon Feb 25, 2002 12:00 am
Location: Lancashire, England

Post by rwaceyw »

How about one in full LMS colours for the Kettle fans :).

David.
Been here long enough to know better...
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Post by SteelixB »

jdjonny wrote:does this mean we'll have funky new error boxes as well then? ;)

JDJonny
:D ,The nearest I can change is the yellow dialogs, like the pause menu or the dialog that pops up when you exit. IT would be good to be able to change those error popups though :)
New username: RSBen
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Post by SteelixB »

I just had an idea! How about 'MSTS Themes' or something like that? someone could write a program (I could if no-one else wants to ;) ) that can switch between themes, and the themes would be stored in another folder in the main MSTS folder. I think it would be a good idea, but the only probelm is, would anyone else be making any new GUIs for MSTS? :-?

Anyway, better get working on the other screens and controls etc. ;)
Last edited by SteelixB on Sat Nov 01, 2003 11:59 pm, edited 1 time in total.
New username: RSBen
User avatar
rwaceyw
LMS Guru
Posts: 11524
Joined: Mon Feb 25, 2002 12:00 am
Location: Lancashire, England

Post by rwaceyw »

If I knew how, I'd do the Big 4, and a BR one :).

David.
Been here long enough to know better...
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Post by SteelixB »

It's pretty straight forward. Just back to old .ace modifying in the GUI Folder. All the control (widget) .ace files are in the SHARED folder, and the screen .ace files are in the SCREENS folder (obviously). Once you've made your graphics replacing the old ones, it's just down to text editing to move them anywhere on the screen. To do this, open up any .dat file in the WIDGETS folder. In this case I modified the activity.dat file. There are quite a lot of comments to help you, though what I do is take a screenshot of the screen you want to modify, and make sure you're editing the right control by finding the top left corner of the control and match it to the TrGUI_Region_Area.

Here's what it looks like:

Code: Select all

Skip ( ********* SCREEN TITLE ********* )
TrGUI_Region
(
  TrGUI_Region_Name    ( activityscrtitle )
  TrGUI_Region_Parent  ( activity )
  TrGUI_Region_Area    ( 363 20 425 46 )
  TrGUI_Region_Cursor  ( arrow_cur )
  TrGUI_Region_TextArea  ( 0 0 420 46 )
  TrGUI_Region_Font    ( 0 220 220 220 )
  TrGUI_Region_Shadow_Font ( 1 0 0 0 5 5 420 41 )
  TrGUI_Text_Pos       ( "LCENTRE" )
  TrGUI_Region_Text    ( 0 )
)
TrGUI_Region_Name ( activityscrtitle ) - This is the control's ID, used by MSTS

TrGUI_Region_Parent ( activity ) - This is the parent of it - in this case it is the 'activity' screen

TrGUI_Region_Area ( 363 20 425 46 ) - This is the X Y W H. X and Y are the location, W and H are the width and height of the control

TrGUI_Region_Cursor ( arrow_cur ) - This is the cursor displayed when you put your mouse over the control

TrGUI_Region_TextArea ( 0 0 420 46 ) - Not all controls will have this, this is the area of the control where the text is displayed, again it is the X Y W H. Make sure that the text area does not go over the area's border, or MSTS will get an error.

TrGUI_Region_Font ( 0 220 220 220 ) - The first number is the font, and the last 3 are the colours (R G B). go to the GUI fodler and open up gui_fnts.dat for a list of fonts.

TrGUI_Region_Shadow_Font ( 1 0 0 0 5 5 420 41 ) - Not for all controls, this is the shadow text that appears behind the orgional text. I think the first number is the font, the next 3 are the R G and B and the last 4 are the X Y W H of the shadow area.

TrGUI_Text_Pos ( "LCENTRE" ) - I think this gives the text 'left justification' and centres it vertically (UK spelling - I thought it was american :-? ).

TrGUI_Region_Text ( 0 ) - Don't know :), possibly some sort of dummy text value so MSTS can change the text according to the language it's in.


Anyway, I hope this helps anyone wanting to make an improved GUI for MSTS :). (Is it just at my end, or are people getting 'php critical errors?')
Last edited by SteelixB on Sun Nov 02, 2003 12:35 am, edited 1 time in total.
New username: RSBen
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Post by SteelixB »

forgot to mention, when you select 'explore route' a little green background appears on the right with text showing the current selected route. Well what could I do with that image if I have a blue background and have no need for it? well I used it as an overlay at the bottom right to cover up the activity description box and add an area for the 'details' button. The image automatically disappeares when you select an activity.
New username: RSBen
Locked

Return to “[MSTS1] Screenshots”