NewGRF Livery Selection/Cargo Subtypes (GRF Callback 19)
Moderator: OpenTTD Developers
- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
also, this doesn't let players have different sets of engines or carages, just paint them differently...
and instead of real liveries, i'd like to see more alternate combinations of the 2 colours, unfortunatly, OTTD players won't see the effect yet.
and, 1 more thing, is it possable to add a preview window in the refit screen? so we can see what our train looks like BEFORE we refit it?
and instead of real liveries, i'd like to see more alternate combinations of the 2 colours, unfortunatly, OTTD players won't see the effect yet.
and, 1 more thing, is it possable to add a preview window in the refit screen? so we can see what our train looks like BEFORE we refit it?
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
planned feature, that might not be that far into the future. Note: might. I didn't promis anything about time here.bobingabout wrote:also, this doesn't let players have different sets of engines or carages, just paint them differently...
and instead of real liveries, i'd like to see more alternate combinations of the 2 colours, unfortunatly, OTTD players won't see the effect yet.
that should be possiblebobingabout wrote:and, 1 more thing, is it possable to add a preview window in the refit screen? so we can see what our train looks like BEFORE we refit it?
- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
which one? multiple GRFs with different engines for different players, or 2 colours instead of liveries?Bjarni wrote:planned feature, that might not be that far into the future. Note: might. I didn't promis anything about time here.bobingabout wrote:also, this doesn't let players have different sets of engines or carages, just paint them differently...
and instead of real liveries, i'd like to see more alternate combinations of the 2 colours, unfortunatly, OTTD players won't see the effect yet.
because i already know peter(i think its peter) is working on the 2 colours thing. thats why i used the word "Yet".
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
2 company coloursbobingabout wrote:which one? multiple GRFs with different engines for different players, or 2 colours instead of liveries?Bjarni wrote:planned feature, that might not be that far into the future. Note: might. I didn't promis anything about time here.bobingabout wrote:also, this doesn't let players have different sets of engines or carages, just paint them differently...
and instead of real liveries, i'd like to see more alternate combinations of the 2 colours, unfortunatly, OTTD players won't see the effect yet.
because i already know peter(i think its peter) is working on the 2 colours thing. thats why i used the word "Yet".
That would be useful but of course would need a complete redesign of the refit window. My intention with this patch was to give OTTD the same functionality as TTDPatch, enhancements can be added later.bobingabout wrote:1 more thing, is it possable to add a preview window in the refit screen? so we can see what our train looks like BEFORE we refit it?
Another update, new patch against r4916 is in the first post.
Fixed: I found that the cargo subtype wasn't being set for cloned vehicles. This has now been corrected.
Added: Cargo subtype suffixes are now displayed in the vehicle details window (see screenshot).
Fixed: I found that the cargo subtype wasn't being set for cloned vehicles. This has now been corrected.
Added: Cargo subtype suffixes are now displayed in the vehicle details window (see screenshot).
- Attachments
-
- Mart3p Transport, 21st Sep 1990.png (53.68 KiB) Viewed 4604 times
That's a function of type 82 varactions and/or livery overrides, not CB19.
If the engine supports CB19, the wagons can be caused to change according to the engine's refit, but this is a result of the wagons' use of type 82 varactions, not the engine's use of CB19.
If the engine supports CB19, the wagons can be caused to change according to the engine's refit, but this is a result of the wagons' use of type 82 varactions, not the engine's use of CB19.
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
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
As DaleStan points out, what you are asking for is controlled by type 82 varactions, this should already work in OTTD.Wolf01 wrote:is possible to automatically refit wagons like TTDPatch?
As an example, with Born Acorn's IC125 (see first post), when a livery refit is selected for the engine, any passenger carriages change to the same livery. Any further carriages that are then added will also change to the engine's livery.
Hi Grigory, this is a bug in the trunk code, not in my patch. I have already mentioned the problem to peter1138 and he has some code that fixes it. We just need to wait until his code is added to the trunk. 
Please let me know if you find any other problems with your planes in OTTD.

Please let me know if you find any other problems with your planes in OTTD.
Last edited by mart3p on 22 May 2006 21:10, edited 1 time in total.
- Born Acorn
- Tycoon
- Posts: 7597
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
OK! We shall waitmart3p wrote:Hi Grigory, this is a bug in the trunk code, not in my patch. I have already mentioned the problem to peter1138 and he has some code that fixes it. We just need to wait until his code is added to the trunk.
Please let me know if you find any other problems with your planes in OTTD.
Gratitude for patches that enables to use my planes written for TTDP, and also at me (partially there is no button refit


- Attachments
-
- refit.PNG (22.51 KiB) Viewed 4182 times
Last edited by Grigory1 on 23 May 2006 14:32, edited 1 time in total.
Yeah, I've been toying with two ideas on this:
1) Make yet another copy of the refit command and gui, to implement road vehicle refitting.
2) Merge all refit commands and gui parts into one super-mega-refit-command & gui.
I'm edging for the latter, as it reduces code duplication, although there will then be special cases for aircraft.
1) Make yet another copy of the refit command and gui, to implement road vehicle refitting.
2) Merge all refit commands and gui parts into one super-mega-refit-command & gui.
I'm edging for the latter, as it reduces code duplication, although there will then be special cases for aircraft.
He's like, some kind of OpenTTD developer.
Grigory, the bug in the vehicle purchase list was fixed at r4960. Thanks peter1138.Grigory1 wrote:OK! We shall waitmart3p wrote:Hi Grigory, this is a bug in the trunk code, not in my patch. I have already mentioned the problem to peter1138 and he has some code that fixes it. We just need to wait until his code is added to the trunk.

- Attachments
-
- Nunningstone Transport, 6th Dec 2009.png (93.01 KiB) Viewed 4062 times
Is it me ..or those planes are not placed correctly (a little shifted)? I mean on the airport.
OTTDCoop NewGRF Pack|Different sets of GRFs for TTDPatch (some of them work in OTTD) - 1|- 2|GRF sets for OTTD|OTTD nightly

I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
I hooked up my accelerator to my brake lights. I hit the gas, people behind me stop, and I'm gone.
Understeer is when you hit the wall with the front of the car. Oversteer is when you hit the wall with the rear of the car. Horsepower is how fast you hit the wall. Torque is how far you take the wall with you. Spoilers and bodykits are how much of the wall you take with you. Rollcages and windownets are how much of a mess you leave on the wall.
Yes your right but they're also shifted in TTDPatch (see screenshot) although (strangely), not by quite the same amount.gkirilov wrote:Is it me ..or those planes are not placed correctly (a little shifted)? I mean on the airport.
I've found another problem though: Grigory, do you know that your 777_gr_107.grf and Tu-154_gr.grf are both using the same GRF ID - 47540610. In OTTD this causes both planes to use the same strings in the livery refit list.
- Attachments
-
- TTDPatch sceenshot
- Plane_posn_TTDP2.png (22.18 KiB) Viewed 3999 times
Thanks mart3p! Thanks peter1138!
Good work
Good work

I coded it for airports TTD, in Open TTD planes are placed a little on another, and at the different airports on a miscellaneousgkirilov
Is it me ..or those planes are not placed correctly (a little shifted)? I mean on the airport.
I shall correct in file Tu-154_gr.grfmart3p
I've found another problem though: Grigory, do you know that your 777_gr_107.grf and Tu-154_gr.grf are both using the same GRF ID - 47540610. In OTTD this causes both planes to use the same strings in the livery refit list.
- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
that reminds me... the build new vehicle windows need the text part extending a few lines, in OTTD with UKRS there are a few vehicles where the text uses 1 too many lines, and overlaps with the buttons so you can't read what it says, also adding that "refitable to:" line would be usefull, because unless you've played before, its hard to tell what cargo types each vehicle can carry.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
Who is online
Users browsing this forum: No registered users and 3 guests