Train-Sim.Com
MSTS Locomotive Design

Ah, the joys of freightanim()

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #6329

Charter Member · 553 posts

Click to send message via ICQ

Got myself an ocitrol and phase 1 style headlamps among other things on the TA/Kuju SD40-2 courtesy of freightanim().Now who can I find that might light this?
Ah, the joys of freightanim() – image 1

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

RE: Ah, the joys of freightanim(), GMOF3A, Mar-20-03, 08:29 AM, (1) RE: Ah, the joys of freightanim(), Coonskin, Mar-20-03, 08:45 AM, (2) RE: Ah, the joys of freightanim(), smmille1, Mar-20-03, 03:21 PM, (3) RE: Ah, the joys of freightanim(), Coonskin, Mar-20-03, 06:28 PM, (4) RE: Ah, the joys of freightanim(), np2156, Mar-27-03, 03:27 PM, (5) RE: Ah, the joys of freightanim(), DRGWK36, Mar-28-03, 05:39 PM, (6) RE: Ah, the joys of freightanim(), ctillier, Mar-28-03, 08:42 PM, (7) RE: Ah, the joys of freightanim(), ace6879, Mar-28-03, 08:49 PM, (8) RE: Ah, the joys of freightanim(), smmille1, Mar-29-03, 01:37 AM, (9) RE: Ah, the joys of freightanim(), smmille1, Mar-29-03, 01:40 AM, (10) RE: Ah, the joys of freightanim(), ace6879, Mar-29-03, 05:53 PM, (11)

Conferences | Topics | Previous Topic | Next Topic

Member since Aug-1-02 · 2136 posts

RE: Ah, the joys of freightanim()

Indeed, a very nice unit.WHERE is this freightanim() line at? I have some rollingstock with loads on them, and I can't find that line anywhere. Where does this line appear, how do you make it work?Andre

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 553 posts

RE: Ah, the joys of freightanim()

Click to send message via ICQ

It only appears if specified.
Most people don't use it, let alone know what it is/what it does.
It's only partly functional as compared with what it's speculated to be intended for. What it allows is to add another shape file to rollingstock. It supposed to also allow animated loads, but I think that only works on steam tenders (or was that tank engines). I'm not even sure about that - I only learned as much as I needed to know to do what I wanted. Anyway, the line gets added to a .eng/.wag file, and the syntax is
freightanim(<shapefile> <val1> <val2>)
<shapefile> is the extra shape to be added
<val1> and <val2> are numbers, and I don't know what they're for. I've been using 1 and 1, and that seems to keep it happy. The shape file has to have the same pivot as the rollingstock it's attached to, or else it displays in strange places. That's about the extent of my knowledge on this subject.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Aug-1-02 · 2136 posts

RE: Ah, the joys of freightanim()

snmille1 posted:<snip: some good info about freightanim()>"That's about the extent of my knowledge on this subject"Well, it's more than I knew!Thanks!Andre

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 94 posts

RE: Ah, the joys of freightanim()

The two values are the height in meters of the starting (full) and ending (empty) positions of the FreightAnim object when it represents the coal load in a steam locomotive tender. As the coal supply runs down, the FreightAnim object is simply lowered inside the tender, giving the illusion of a depleting coal load (unless of course the empty value is set too low and you end up with a coal load floating around the tender wheels!) I'm not sure if this animation actually functions for other vehicle types, but if you specify the same starting and ending position, the FreightAnim object will appear as if it were permanently attached to the vehicle. I have been experimenting with using it to attach extra details to a diesel locomotive, and it appears that the FreightAnim object will not display with the values set to 0,0. 1,1 works fine though.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 419 posts

RE: Ah, the joys of freightanim()

Where does the load shape file go? Is it in the TRAINSET folder or does it go in the same folder as the loco or car you're adding it to?Andy

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 1653 posts

RE: Ah, the joys of freightanim()

howdy, As far as I knew I was doing the lighting for ya!! I have all the coding in, and should have it done over the weekend. Drop me a line when ya get a chance OK??Thanks!
Kelley D. Ellison
Ah, the joys of freightanim() – image 3 Ah, the joys of freightanim() – image 4 Ah, the joys of freightanim() – image 5 Ah, the joys of freightanim() – image 6 Ah, the joys of freightanim() – image 7 Ah, the joys of freightanim() – image 8 Ah, the joys of freightanim() – image 9 Ah, the joys of freightanim() – image 10 Ah, the joys of freightanim() – image 11 Ah, the joys of freightanim() – image 12 Ah, the joys of freightanim() – image 13 Ah, the joys of freightanim() – image 14 Ah, the joys of freightanim() – image 15 Ah, the joys of freightanim() – image 16 Ah, the joys of freightanim() – image 17 Ah, the joys of freightanim() – image 18 Ah, the joys of freightanim() – image 19 Ah, the joys of freightanim() – image 20 Ah, the joys of freightanim() – image 21 Ah, the joys of freightanim() – image 22 Ah, the joys of freightanim() – image 23 Ah, the joys of freightanim() – image 24 Ah, the joys of freightanim() – image 25 Ah, the joys of freightanim() – image 26 Ah, the joys of freightanim() – image 27 Ah, the joys of freightanim() – image 28 Ah, the joys of freightanim() – image 29 Ah, the joys of freightanim() – image 30 Ah, the joys of freightanim() – image 31 Ah, the joys of freightanim() – image 32 Ah, the joys of freightanim() – image 33 Ah, the joys of freightanim() – image 34 Ah, the joys of freightanim() – image 35 Ah, the joys of freightanim() – image 36


CSX A-Line Chief lighting engineer
NALW Lighting engineer
Dekosoft Lighting engineer

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 553 posts

RE: Ah, the joys of freightanim()

Click to send message via ICQ

LAST EDITED ON Mar-29-03 AT 01:38 AM (EDT)

I sent ya an email on Wednesday. Is that good enough? Edit: eleven words and I still screw one up.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 1653 posts

RE: Ah, the joys of freightanim()

LAST EDITED ON Mar-29-03 AT 05:55 PM (EDT)

Howdy, Update from the Ellison light works this is the "pre-number model" Ocitrol DELUX!! (the vertical dark line is the nose, as ther headlight is offset like it should be!!! this model was a PLEASURE to light!!)Enjoy!Kelley D. Ellison
Ah, the joys of freightanim() – image 38 Ah, the joys of freightanim() – image 39 Ah, the joys of freightanim() – image 40 Ah, the joys of freightanim() – image 41 Ah, the joys of freightanim() – image 42 Ah, the joys of freightanim() – image 43 Ah, the joys of freightanim() – image 44 Ah, the joys of freightanim() – image 45 Ah, the joys of freightanim() – image 46 Ah, the joys of freightanim() – image 47 Ah, the joys of freightanim() – image 48 Ah, the joys of freightanim() – image 49 Ah, the joys of freightanim() – image 50 Ah, the joys of freightanim() – image 51 Ah, the joys of freightanim() – image 52 Ah, the joys of freightanim() – image 53 Ah, the joys of freightanim() – image 54 Ah, the joys of freightanim() – image 55 Ah, the joys of freightanim() – image 56 Ah, the joys of freightanim() – image 57 Ah, the joys of freightanim() – image 58 Ah, the joys of freightanim() – image 59 Ah, the joys of freightanim() – image 60 Ah, the joys of freightanim() – image 61 Ah, the joys of freightanim() – image 62 Ah, the joys of freightanim() – image 63 Ah, the joys of freightanim() – image 64 Ah, the joys of freightanim() – image 65 Ah, the joys of freightanim() – image 66 Ah, the joys of freightanim() – image 67 Ah, the joys of freightanim() – image 68 Ah, the joys of freightanim() – image 69 Ah, the joys of freightanim() – image 70 Ah, the joys of freightanim() – image 71


CSX A-Line Chief lighting engineer
NALW Lighting engineer
Dekosoft Lighting engineer

Attachments
Ah, the joys of freightanim() – image 72
http://www.train-sim.com/dcforum/User_files/3e8623cc30093b77.jpg
Ah, the joys of freightanim() – image 73
http://www.train-sim.com/dcforum/User_files/3e8623dd304a75f5.jpg
Ah, the joys of freightanim() – image 74
http://www.train-sim.com/dcforum/User_files/3e8623ef308ba9f3.jpg

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured April 29, 2003. About this archive.