How to select a unique grfid?
Moderator: Graphics Moderators
How to select a unique grfid?
Couldn't find any answer to the following question:
How do you select a unique grifid that has not been assigned to any other NewGRF so far?!?
And if there is no suggested procedure - is there at least a list of already used grfid's somewhere?
How do you select a unique grifid that has not been assigned to any other NewGRF so far?!?
And if there is no suggested procedure - is there at least a list of already used grfid's somewhere?
Re: How to select a unique grfid?
First place I would look is on BaNaNas.
Re: How to select a unique grfid?
Its Hexadecimal conversion:
https://www.eso.org/~ndelmott/ascii.html
A lot of people tend to use the first 2 numbers to personalize their ID's.
For example a lot of GarryG's IDs start with 4747, which is GG
https://www.eso.org/~ndelmott/ascii.html
A lot of people tend to use the first 2 numbers to personalize their ID's.
For example a lot of GarryG's IDs start with 4747, which is GG
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Re: How to select a unique grfid?
Yes, I already understood that.
Maybe I'm just thinking too much about it and the "namespace" is large enough to make collisions highly unlikely.
Will try to avoid the initials of the most prolific NewGRF and graphics authors, though
Re: How to select a unique grfid?
Yeah, its just too bad you cant sort the GRF list out on BaNaNas running from low ID to high. That would make it easier to choose a range.
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
-
- Engineer
- Posts: 120
- Joined: 04 Apr 2022 12:44
- Location: The openttd discord server
- Contact:
Re: How to select a unique grfid?
Re: How to select a unique grfid?
Cheers, I think that is very handy for new developers to find a suitable range!
Projects: http://www.tt-forums.net/viewtopic.php?f=26&t=57266
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Screenshots: http://www.tt-forums.net/viewtopic.php?f=47&t=56959
Scenario of The Netherlands: viewtopic.php?f=60&t=87604
Winner of the following screenshot competitions:
sep 2012, jan 2013, apr 2013, aug 2013, mar 2014, mar 2016, oct 2020
All my work is released under GPL-license (either V2 or V3), if not clearly stated otherwise.
Who is online
Users browsing this forum: No registered users and 0 guests