(OpenTTD) North American Road Vehicle Set (NARVS)
Moderator: Graphics Moderators
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Works! Thank you very much. I left out the "name" in the rule macro altogether, but it still does what it's supposed to.
(Or not... argh! I swear it did a few minutes ago...)
(Or not... argh! I swear it did a few minutes ago...)
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
I think this should operate correctly.
But, it will depend on how GCC is preprocessing it.
(Also keep 'name' in the macro, since its actually the macro's argument name, not an arbitrary value).
~ Lakie
Code: Select all
#define _nameswitch(name) name ## _switch
#define nameswitch(name) _nameswitch(name)
...
#define NAME something
...
switch (... setname(NAME) ...) ...
(Also keep 'name' in the macro, since its actually the macro's argument name, not an arbitrary value).
~ Lakie
TTDpatch Developer 2005 - 2010 ~ It all started because of shortened vehicle not loading correctly, now look where I've gone with it!
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
Grfs coded ~ Finnish Train Set (Teaser) | Bm73 (Release 3) | Emu 680 (Release 3)| Glass Station (Release 1) | UK Roadset (Version 1.1a) | New Water Coasts (Version 7)
Pikka: "Lakie's a good coder, but before he'll add any feature to TTDP you have to convince him that you're not going to use it to destroy the world as we know it."
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Thanks again. That worked perfectly!
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
So, will there be a update soon with the street cars working again.
Proud Canadian
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
At the end of this week, I'd say.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Thats good to hear, anything new in this update?oberhümer wrote:At the end of this week, I'd say.
Proud Canadian
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
I'm afraid not; I might, however, make the S70 and UPS van sprites look a bit better.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Hmm.... I can't wait to get some tractor trailers and doubles and triples in this set.
Proud Canadian
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
NARVS 0.1.1
Well, I finally pulled things together and did some work on NARVS again. There's not much visibly changed, but practically everything internally.
What's new:
- Custom cargo aging period for each vehicle class. This means it needs OpenTTD nightly version 22713 or above to work.
- Removed those few trucks, I'll concentrate on finishing up passenger transport first.
- Added New Flyer 40LFA, MCI J4500 and new sprites for CLRV, ALRV and S70.
- Automatically calculated (and high) purchase and running costs.
It's incompatible with older versions.
Well, I finally pulled things together and did some work on NARVS again. There's not much visibly changed, but practically everything internally.
What's new:
- Custom cargo aging period for each vehicle class. This means it needs OpenTTD nightly version 22713 or above to work.
- Removed those few trucks, I'll concentrate on finishing up passenger transport first.
- Added New Flyer 40LFA, MCI J4500 and new sprites for CLRV, ALRV and S70.
- Automatically calculated (and high) purchase and running costs.
It's incompatible with older versions.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Wait when did custom cargo aging hit trunk?
I havent seen anything on the wiki about this development.
I havent seen anything on the wiki about this development.
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Leanden wrote:Wait when did custom cargo aging hit trunk?
oberhümer wrote:OpenTTD nightly version 22713
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
*feels stupid for asking an obvious question*
But still, the wiki hasnt been updated.
But still, the wiki hasnt been updated.
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
I probably should make a real bug report but... meh.
I can load this grf with OTTD 1.1.2, but as soon as I start a game, it gives me a fatal error. Can you make a version check and display an actual relevant error message than something cryptic like something about action 0?
On a second thought... this isn't even a bug. This should be filed as a feature request for noobs like me.
I can load this grf with OTTD 1.1.2, but as soon as I start a game, it gives me a fatal error. Can you make a version check and display an actual relevant error message than something cryptic like something about action 0?
On a second thought... this isn't even a bug. This should be filed as a feature request for noobs like me.
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
He stated in the post that it wont work with the Stable release.oberhümer wrote:NARVS 0.1.1
- Custom cargo aging period for each vehicle class. This means it needs OpenTTD nightly version 22713 or above to work..
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
http://newgrf-specs.tt-wiki.net/index.p ... on=historyLeanden wrote:But still, the wiki hasnt been updated.
It was updated the 3rd of August, the same day in which this feature was committed to trunk.
Spanish translation of OpenTTD
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Extended heightmaps
Have fun, don't quarrel too much and add as many advanced settings as you can.
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
If the cargo aging property is the only reason why this doesn't work on stable releases, might I suggest guarding this by an if-statement? Then older game versions just don't have this feature while still being able to use the set.
If you also use the callback, then it may not be worth the effort, but still possible. I'd say it's worth it, but that's up to you to decide.
Lastly, if you know that you need a specific game version, it's just a few lines to die gracefully with a for the user useful message.
Just my two cents.
If you also use the callback, then it may not be worth the effort, but still possible. I'd say it's worth it, but that's up to you to decide.
Lastly, if you know that you need a specific game version, it's just a few lines to die gracefully with a for the user useful message.
Just my two cents.
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Done as requested and marked as 0.1.2.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
Some of the buses seem to have some pixels missing at the bottom. Look at MCI MC-8 and Provost LeMirage for example:
Misaligned PPC trailers:
- NekoMaster
- Tycoon
- Posts: 4001
- Joined: 16 Aug 2008 22:26
- Skype: neko-master
- Location: Oshawa, Ontario, CANADA
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
One of these days Im going to get off my butt and try an sprite some better trucks, though right now being sick it's draining my motivation to do much.
Proud Canadian
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
Nekomasters Projects! (Downloads available on BaNaNaS!) \(>^w^<)/
# NARS ADD-ON SET 2CC | 2cc Rapid Transit For Me! (2ccRTFM) | 2cc Wagons In NML (2ccWIN)
# NML Category System (Organize your GRFS!) <- TT-Forums Exclusive Download!
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: (OpenTTD) North American Road Vehicle Set (NARVS)
That'll have to wait.as wrote:Some of the buses seem to have some pixels missing at the bottom. Look at MCI MC-8 and Provost LeMirage for example:Misaligned PPC trailers:
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Who is online
Users browsing this forum: Auge, Google [Bot] and 22 guests