Ship Slots

Got an idea for a new feature in TTDPatch? Post it here.

Moderator: TTDPatch Moderators

User avatar
harrydouthwaite
Engineer
Engineer
Posts: 127
Joined: 13 Oct 2005 04:48
Location: Calgary, AB, Canada
Contact:

Ship Slots

Post by harrydouthwaite »

Isn't there anyway to make the ship slots in TTDPatch rise? I would like a few more in there, and of course, I might create some myself, but I need an alpha/beta version that allows 20 slots for ships.
Possible? Or Impossible?
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

There are only 255 vehicle slots available in total, so to add more ships you'd have to take some slots away from another vehicle class (which would break pretty much everything).

I'd chalk this one up as impossible, I'm afraid.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

I don't think that the trouble is so much the 255 limit, because the RVs really have more slots that they need and you could grab some of those. I think it's more fundamental than that. This is one of the oldest requests, and I doubt it will ever take place.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
eis_os
TTDPatch Developer
TTDPatch Developer
Posts: 3603
Joined: 07 Mar 2003 13:10
Location: Germany
Contact:

Post by eis_os »

The vehicle class id ranges are fixed.
TTDPatch dev in retirement ... Search a grf, try Grf Crawler 0.9 - now with even faster details view and new features...
Image
User avatar
harrydouthwaite
Engineer
Engineer
Posts: 127
Joined: 13 Oct 2005 04:48
Location: Calgary, AB, Canada
Contact:

Post by harrydouthwaite »

Can't you raise the total number of slots in the game from 255 to 300?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I'll give you three guesses, and the first two don't count.

(Hint: If something this obvious hasn't been done yet, there must be a reason.)
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
krtaylor
Tycoon
Tycoon
Posts: 11784
Joined: 07 Feb 2003 01:58
Location: Texas, USA
Contact:

Post by krtaylor »

It'd be silly to only raise it by 45 anyway. :lol: Might as well raise it to 2550 or something.
Development Projects Site:
http://www.as-st.com/ttd
Japan, American Transition, Planeset, and Project Generic Stations available there
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

krtaylor wrote:Might as well raise it to 2550 or something.
That's still not a sensible number; 255 is one byte. If you changed the vehicle ID structure so it was two bytes*, you'd get 65535 possible vehicle IDs. :)

*not going to happen, so don't get excited.

Edit: actually, it's 256 and 65536, isn't it? since 00 is a valid vehicle ID.
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Yes, it's 256.
Meaning we just raised it above 255 without even releasing a new TTDPatch version! :D

This has been suggested at least twice before, and was promptly shot down by patchman both times.
It appears (to this non-patch-coder) to be on the same order of difficulty as larger maps.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
harrydouthwaite
Engineer
Engineer
Posts: 127
Joined: 13 Oct 2005 04:48
Location: Calgary, AB, Canada
Contact:

Post by harrydouthwaite »

Well, someone must have an Idea of how to make more slots for TTD?
If the file of all slots is 1 byte, then if you can make another, then it will double the number of slots from 256 to 512?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

If it were that easy, I'd have done it years ago.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
harrydouthwaite
Engineer
Engineer
Posts: 127
Joined: 13 Oct 2005 04:48
Location: Calgary, AB, Canada
Contact:

Post by harrydouthwaite »

You know, I would like to see a resolution to double the number of slots for a vehicle, maybe Chris will know?
DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

OTOH, Lakie's new callback 36 will allow the updating of vehicle stats over time, which will effectively allow you to have quite different ships sharing the same vehicle slot. :)
Marius
Engineer
Engineer
Posts: 36
Joined: 29 May 2004 14:31
Location: Norway
Contact:

Post by Marius »

/me wonders which "Chris" Harry is talking about.
There are nearly 30 of them.
Sawyer maybe?
User avatar
harrydouthwaite
Engineer
Engineer
Posts: 127
Joined: 13 Oct 2005 04:48
Location: Calgary, AB, Canada
Contact:

Post by harrydouthwaite »

Sawyer is exactly who I mean, he is the designer for the game after all...
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

But not the patch. I've never understood why, exactly, it's so hard to change it to a word from a byte, but then, I'm probably oversimplifying the problem. :P
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Because you'd need to change it in approximately 65422.7 places.
Josef Drexler

TTDPatch main | alpha/beta | nightly | manual | FAQ | tracker
No private messages please, you'll only get the answering machine there. Send email instead.
User avatar
khamura
Traffic Manager
Traffic Manager
Posts: 218
Joined: 27 May 2005 21:50
Location: Tourian, Planet Zebes, Orion Arm, Milky Way
Contact:

Post by khamura »

.7? :shock:

How can you change a bit to a word to only 70%? :lol:
Graduate of the LeRoy Funkified Badass School of Soul
Flamelord
Chief Executive
Chief Executive
Posts: 731
Joined: 24 Mar 2005 22:29
Location: Oregon

Post by Flamelord »

And I suppose that it's not labeled uniquely enough to be able to use a Replace All function on in some way? :P Yes, that would be the way of things, according to Murphy's Law.
Post Reply

Return to “Suggestions”

Who is online

Users browsing this forum: Bing [Bot] and 15 guests