Transport Tycoon Forums

The place to talk about Transport Tycoon
It is currently Tue Dec 12, 2017 11:49 pm

All times are UTC




Post new topic  Reply to topic  [ 510 posts ]  Go to page Previous 1 2 3 4 5 626 Next
Author Message
 Post subject:
PostPosted: Tue Apr 26, 2005 5:09 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Tue Mar 30, 2004 12:30 pm
Posts: 16663
Location: Almere, The Netherlands
PikkaBird wrote:
Image


Damn, these look awesome :!:

_________________
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."


Top
   
 Post subject:
PostPosted: Tue Apr 26, 2005 7:00 pm 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 27, 2004 8:03 pm
Posts: 3903
Location: Ontario, Canada
Bastiaan wrote:
DanMacK wrote:
Looks like your class 20 is missing the rear deck though :shock:

What rear deck? The Class 20 only has a front deck:
http://www.railfaneurope.net/pix/gb/die ... 0/pix.html

Or do you mean something else?

Bastiaan


Depends which end you consider "Front"... I always thought the cab end was the front. that said. the rear deck extends out one pixel, but there doesn't appear to be a "deck", just frame.

_________________
Regards,

Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
Image
CN Boxcar drawn by Dave Hersrud


Top
   
 Post subject:
PostPosted: Tue Apr 26, 2005 11:50 pm 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
Born Acorn wrote:
Pikkabird: Why don't you make the game think that the 91 is a dmu so it will be built like the HST 125 and the Sprinter 158 :wink:


You mean double-headed? That was my original plan, but it'd be more realistic to use the override to create DVTs. A "normal" 225 set has a 91 at one end and an unpowered driving car at the other.

Dan, I see what you mean about the deck on the 20.

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 12:06 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 27, 2004 8:03 pm
Posts: 3903
Location: Ontario, Canada
PikkaBird, any plans to release this for DOS TTD? TTDWin doesn't work on my PC at work, but the DOS version does :D

_________________
Regards,

Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
Image
CN Boxcar drawn by Dave Hersrud


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 12:30 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
DanMacK wrote:
PikkaBird, any plans to release this for DOS TTD?


If you can explain to me what I need to do, then sure. :lol:

(And btw, strictly speaking the cab of the class 20 is at the back, however they were almost always run "backwards" in service, often coupled in pairs with cabs outwards.)

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 1:31 am 
Offline
TTDPatch Developer
TTDPatch Developer

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10285
PikkaBird wrote:
DanMacK wrote:
PikkaBird, any plans to release this for DOS TTD?

If you can explain to me what I need to do, then sure. :lol:

Code:
grfcodec -em 1 <filename>.grf

will make a DOS grf from a Win PCX.

Grr.. Stupid font. That's "dash ee em one"

_________________
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


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 4:13 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
Ok folks, I need a bit of help with overrides. :)

Can someone give me some pointers for overriding graphics in particular cases? Specifically -

1) a locomotive which is neither the first nor last vehicle in the consist.
2) a wagon which is the last vehicle in the consist.

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 4:54 am 
Offline
TTDPatch Developer
TTDPatch Developer

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10285
ITYM "variational graphics", not "override". At least in my dictionary, "override" only applies when an livery override action 3 is involved.

Vehicle variable 40 contains data concerning the length of and location in the consist. It should usually be accessed with variational 2 type 81.
The low byte contains the number of vehicles in front of this vehicle, the second byte contains the number of vehicles behind this vehicle, and the third contains the length of the consist minus one.

1) Check variable 40, with <shift-num>s of 00 and 08 (for first and last, respectively):
Code:
-1*14 02 00 10 81 40 08 FF 01 <Back-GFX> 00 00 00 <Mid-GFX> 00
-1*14 02 00 11 81 40 00 FF 01 <Front-GFX> 00 00 00 10 00
and point the engine's action 3 to ID 11.

2) Check variable 40, with <shift-num> of 08. See the first action 2 above.

Always happy to help someone who's willing to learn.

EDIT: Fixed idiot mistake with type byte.

_________________
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


Last edited by DaleStan on Wed Apr 27, 2005 8:12 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 5:20 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
DaleStan wrote:
ITYM "variational graphics", not "override". At least in my dictionary, "override" only applies when an livery override action 3 is involved.


Noted. In the case of a wagon it is an override too.. I only want it to apply when it's behind a certain locomotive (this is for the DTV on the Class 91).

Seems straightfoward enough, thankyou. :)

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 6:32 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
Hmm,

Well I have been reading through the Wiki, and I'm still having trouble working out exactly how the variational action 2s work.

With the code as-is, I'm just always getting the graphic specified at <Front-GFX> in your example code.

here are my action 2s and 3s.

Code:
   91 * 9    02 00 03 01 01 00 00 00 00
   92 * 9    02 00 04 01 01 01 00 01 00
   93 * 14    02 00 10 82 40 08 FF 01 03 00 00 00 04 00
   94 * 14    02 00 11 82 40 00 FF 01 03 00 00 00 10 00
   95 * 7    03 00 01 0C 00 11 00
   96 * 7    03 00 81 1B 00 1A 00
   97 * 8    03 00 82 1C 25 00 1B 00


Line 91 (graphic 03) is the head/tail graphic.
Line 92 (graphic 04) is the centre car graphic.
Lines 93 and 94 are the variational action 2s.
Line 95 is the loco's action 3.
Lines 96 and 97 are wagon overrides, included just in case they're having some effect I'm not aware of.

At the moment, I'm just changing the values in the var action 2s, hoping to get some sort of effect. When I can find a pattern, then I'll try and work it out. ;)

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 6:43 am 
Offline
Moderizzle
Moderizzle
User avatar

Joined: Sun Dec 15, 2002 12:58 am
Posts: 11592
Location: Sydney, Australia. Usually at work in the underground railway station...
Good luck with your coding Pikka - the work done so far is breathtaking!

_________________
Posted by Raichase. Visit my Flickr! Gallery, Blog (get a feed of everyone at once at Planet TT-Forums).
Raichase - Perfect timing, all the time: [13:37] * Now talking in #tycoon
ImageImage
Official TT-Dave Worley Fan Club
Official TT-Andel-in-a-pink-hat Fan Club


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 8:13 am 
Offline
TTDPatch Developer
TTDPatch Developer

Joined: Wed Feb 18, 2004 3:06 am
Posts: 10285
:oops::oops::oops::oops::oops::oops: (*hides*)

I got 81/82 backwards. Change the types of both action 2s to 81 instead. (previous post edited)

OT:
*rummage*
I knew it was in there somewhere. It's variable 42 that you usually want to access with a type 82.

_________________
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


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 8:41 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
:D

Works a treat. Thankyou!

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 10:01 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
Updated with MUs, see first post. :)

I also got the DVT working with surprisingly little trouble.

DOS version coming up :O

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 10:49 am 
Offline
Tycoon
Tycoon

Joined: Mon Feb 09, 2004 10:02 am
Posts: 2732
Nice work. Very nice.

_________________
Former NewGRF Coder and Sprite Artist

14:40 <orudge> I can't say I discriminate against any particular user
14:41 <Aegir> orudge: I can!


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 11:48 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
Okay, DOS version (in theory) uploaded. :) See first post.

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Wed Apr 27, 2005 9:22 pm 
Offline
Transport Coordinator
Transport Coordinator

Joined: Wed Nov 20, 2002 4:20 pm
Posts: 268
Location: Dresden, Germany
I love the new stone bridge,
can I get permission to make a sandstone one, as they are common
in east Saxony (i.e. here :-)


Top
   
 Post subject:
PostPosted: Thu Apr 28, 2005 2:43 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
nilsi wrote:
I love the new stone bridge,
can I get permission to make a sandstone one, as they are common
in east Saxony (i.e. here :-)


Sure. :)

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
 Post subject:
PostPosted: Thu Apr 28, 2005 3:05 am 
Offline
Tycoon
Tycoon
User avatar

Joined: Fri Feb 27, 2004 8:03 pm
Posts: 3903
Location: Ontario, Canada
:shock: Looking great man! Can't wait do see how this set goes.

One large void I noticed however is an early freight locomotive aside from the 0-6-0T. With a FreightTrains setting above 2, that little loco is pretty weak :D

Maybe an 0-8-0 as illustrated below?


Attachments:
File comment: LMS 0-8-0 - Photo from [url=http://www.webpraxis.ab.ca/vrr/]The Virtual Railroad[/url]
VR9032.jpg
VR9032.jpg [ 54.93 KiB | Viewed 1798 times ]

_________________
Regards,

Dan MacKellar
================
Projects in Progress
North American Renewal Train Set Topic,Canadian Train Set Website, Canadian Train Set Development Topic, Finnish Train Set Website,Visit my Train Gifs Site
Image
CN Boxcar drawn by Dave Hersrud
Top
   
 Post subject:
PostPosted: Thu Apr 28, 2005 7:01 am 
Offline
Graphics Moderator
Graphics Moderator
User avatar

Joined: Mon Sep 13, 2004 1:21 pm
Posts: 5188
Location: The Moon
DanMacK wrote:
Maybe an 0-8-0 as illustrated below?


Ah, the LNWR Super-D. I was going to make that one for Lomo at one point. :oops:

I suppose it could be done. :)

_________________
Pikkarail.com blog Image
Dev reference: NML Specs - NewGRF Specs - Savegame Internals - NoAi API - NoGo API
32bpp NewGRFs: Pineapple Trains (10cc) - Graphics Development


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 510 posts ]  Go to page Previous 1 2 3 4 5 626 Next

All times are UTC


Who is online

Users browsing this forum: PaulC, Pita and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000-2017 phpBB Limited

Copyright © Owen Rudge/The Transport Tycoon Forums 2001-2017.
Hosted by Zernebok Hosting.