start screen

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

start screen

Post by Wolf01 »

opntitle.dat

to make your own start screen you must create, or use, a savegame, save in the position that you want to see, replace the opntitle.dat with you savegame...

now:
make start screen switching among various positions around the map like RCT, this would be possible and simply, to do this you might use signs

example:
sign with a code like P(1), P(2),... P(n) means that the screen would center on it, signs aren't displayed in title screen like station names?
then a routine read the position of the sign and replace it with the save position...
User avatar
Purno
Tycoon
Tycoon
Posts: 16659
Joined: 30 Mar 2004 12:30
Location: Almere, The Netherlands

Post by Purno »

Nice, but kind of useless actually :?
Contributor to the The 2cc Set and Dutch Trainset. Inventor of the Metro concept. Retired Graphics Artist.
Image Image
Download TT | Latest TTDPatch | OpenTTD | OpenTTDCoop | BaNaNaS: OpenTTD content system | 2048² OTTD scenario of the Netherlands
GRF Codec | GRF Crawler | GRF Maker | Usefull graphics & tools sites | NML Documentation Wiki | NFO Documentation Wiki
All my graphics are licensed under GPL. "Always remember you're unique, just like everyone else."
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

Thats a good idea and sounds quite simple actually. I will have a look at the code and see what I can find....

Edit:

Yep this should be nice and simple. All you need to do is edit the ViewportAddSigns function in viewport.c and then add something to keep track of how many ticks the current view has been displayed and the order in which the views need to be shown. If you did this for all signs (the custom ones that you can add) it would be much simpler as you wouldn't have to check the name of the sign.
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

lucaspiller wrote:Thats a good idea and sounds quite simple actually. I will have a look at the code and see what I can find....

Edit:

Yep this should be nice and simple. All you need to do is edit the ViewportAddSigns function in viewport.c and then add something to keep track of how many ticks the current view has been displayed and the order in which the views need to be shown. If you did this for all signs (the custom ones that you can add) it would be much simpler as you wouldn't have to check the name of the sign.
mmmm, al signs, interesting, so, if is also possible to show signs you can "rename" the locations of the map, and with larger maps you can write "You are seeing the state of Springburg..." :)
User avatar
lucaspiller
Tycoon
Tycoon
Posts: 1228
Joined: 18 Apr 2004 20:27

Post by lucaspiller »

In the main screen all signs, name, whatever are removed so you will have to remove the code that removes them (it is just a couple of lines).
User avatar
Wolf01
Tycoon
Tycoon
Posts: 2016
Joined: 24 Apr 2004 10:43
Location: Venezia - Italia
Contact:

Post by Wolf01 »

lucaspiller wrote:In the main screen all signs, name, whatever are removed so you will have to remove the code that removes them (it is just a couple of lines).
all, but no WP names!
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 12 guests