BVEStation

Author Topic: R40 slant  (Read 15071 times)

Offline 8thAvExpress

  • New Recruit
  • *
  • Posts: 40
  • Gender: Male
  • BVEStation Member
    • View Profile
R40 slant
« on: January 21, 2012, 08:33:57 pm »
Any one knows how to create an exterior for r40 on your own?

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: R40 slant
« Reply #1 on: January 21, 2012, 09:22:41 pm »
You can very easily create one using static trains from other routes, just go into the Objects folder for OpenBVE, search for "R40", then get a B3D file and open it up (I will use the files "R40_B.b3d and R40_B2.b3d" as examples, you need them both BTW). You should see image names like "R40_frontb.bmp" listed throughout the file, find all the images listed in both B3D files, then copy both the B3D file and all the images. Now create a folder in your R40 Slant folder called "cars", and paste all of them there. Now, open Notepad, and type this in:

[exterior]

0=cars\R40_B2.b3d
1=cars\R40_B.b3d
2=cars\R40_B2.b3d
3=cars\R40_B.b3d
4=cars\R40_B2.b3d
5=cars\R40_B.b3d
6=cars\R40_B2.b3d
7=cars\R40_B.b3d
8=cars\R40_B2.b3d
9=cars\R40_B.b3d

Save that file into your R40 Slant folder as Extensions.cfg

There you go!  ;)
Signature Removed (dead link)

Offline 8thAvExpress

  • New Recruit
  • *
  • Posts: 40
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: R40 slant
« Reply #2 on: January 21, 2012, 09:28:13 pm »
Thanks! :D

Offline Dr. Subway18

  • Operator
  • ***
  • Posts: 441
  • Gender: Male
  • proud 1999 Kenworth W900B owner(NTC cummins, 10sp)
    • View Profile
Re: R40 slant
« Reply #3 on: January 26, 2012, 09:00:18 pm »
You can very easily create one using static trains from other routes, just go into the Objects folder for OpenBVE, search for "R40", then get a B3D file and open it up (I will use the files "R40_B.b3d and R40_B2.b3d" as examples, you need them both BTW). You should see image names like "R40_frontb.bmp" listed throughout the file, find all the images listed in both B3D files, then copy both the B3D file and all the images. Now create a folder in your R40 Slant folder called "cars", and paste all of them there. Now, open Notepad, and type this in:

[exterior]

0=cars\R40_B2.b3d
1=cars\R40_B.b3d
2=cars\R40_B2.b3d
3=cars\R40_B.b3d
4=cars\R40_B2.b3d
5=cars\R40_B.b3d
6=cars\R40_B2.b3d
7=cars\R40_B.b3d
8=cars\R40_B2.b3d
9=cars\R40_B.b3d

Save that file into your R40 Slant folder as Extensions.cfg

There you go!  ;)
Hey i fixed mines awhile back but i was wondering does anyone else have the turning problems? the car slides sideways like the R160. Since your veteran i figured you saw this problem too and might have a fix

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: R40 slant
« Reply #4 on: January 26, 2012, 09:03:29 pm »
You can very easily create one using static trains from other routes, just go into the Objects folder for OpenBVE, search for "R40", then get a B3D file and open it up (I will use the files "R40_B.b3d and R40_B2.b3d" as examples, you need them both BTW). You should see image names like "R40_frontb.bmp" listed throughout the file, find all the images listed in both B3D files, then copy both the B3D file and all the images. Now create a folder in your R40 Slant folder called "cars", and paste all of them there. Now, open Notepad, and type this in:

[exterior]

0=cars\R40_B2.b3d
1=cars\R40_B.b3d
2=cars\R40_B2.b3d
3=cars\R40_B.b3d
4=cars\R40_B2.b3d
5=cars\R40_B.b3d
6=cars\R40_B2.b3d
7=cars\R40_B.b3d
8=cars\R40_B2.b3d
9=cars\R40_B.b3d

Save that file into your R40 Slant folder as Extensions.cfg

There you go!  ;)
Hey i fixed mines awhile back but i was wondering does anyone else have the turning problems? the car slides sideways like the R160. Since your veteran i figured you saw this problem too and might have a fix

I do not know how to to fix that, try asking Gong Gahou, since he is the one that made the R33WF turn properly, he might be able to do the same thing for the R40
Signature Removed (dead link)

Offline Dr. Subway18

  • Operator
  • ***
  • Posts: 441
  • Gender: Male
  • proud 1999 Kenworth W900B owner(NTC cummins, 10sp)
    • View Profile
Re: R40 slant
« Reply #5 on: January 26, 2012, 09:05:56 pm »
I will eventually, the main thing is it drives straight lol. but i appreciate the info.

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: R40 slant
« Reply #6 on: January 27, 2012, 11:41:47 am »
No need to contact me - I already worked on it. It's all in the coding.  ;)

First, open the R40_B.b3d with Notepad. Go to the bottom of the page and insert this code:
Code: [Select]
TranslateAll 0,0,9.2375
Next, copy this code below. Then open the extensions.cfg, delete everything that's on there, and paste the new code.
Code: [Select]
[Car0]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car1]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car2]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car3]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car4]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car5]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car6]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car7]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car8]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car9]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

After that, open the train.dat with Notepad, locate the Car section (written as #CAR), go to the fifth line of that section, and replace whatever the value is over there to 18.475.

Finally, delete the R40_B2.b3d in your cars folder. It is not needed anymore.

That's it! Open openBVE and test it out. If you did everything correctly then the cars will turn perfectly.  :)
Previously known as pjiang6211

Offline Dr. Subway18

  • Operator
  • ***
  • Posts: 441
  • Gender: Male
  • proud 1999 Kenworth W900B owner(NTC cummins, 10sp)
    • View Profile
Re: R40 slant
« Reply #7 on: January 27, 2012, 05:48:50 pm »
No need to contact me - I already worked on it. It's all in the coding.  ;)

First, open the R40_B.b3d with Notepad. Go to the bottom of the page and insert this code:
Code: [Select]
TranslateAll 0,0,9.2375
Next, copy this code below. Then open the extensions.cfg, delete everything that's on there, and paste the new code.
Code: [Select]
[Car0]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car1]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car2]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car3]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car4]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car5]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car6]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car7]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car8]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car9]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

After that, open the train.dat with Notepad, locate the Car section (written as #CAR), go to the fifth line of that section, and replace whatever the value is over there to 18.475.

Finally, delete the R40_B2.b3d in your cars folder. It is not needed anymore.

That's it! Open openBVE and test it out. If you did everything correctly then the cars will turn perfectly.  :)
I fixed it!!!!! thank you X10,

Offline ErrorMacro11

  • Operator
  • ***
  • Posts: 421
  • Gender: Male
  • FreeLance Developer
    • View Profile
Re: R40 slant
« Reply #8 on: January 28, 2012, 09:31:53 pm »
what do i open the b3d files with

Offline Pacific385

  • Dispatcher
  • ****
  • Posts: 749
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: R40 slant
« Reply #9 on: January 28, 2012, 09:41:58 pm »
what do i open the b3d files with
Wordpad will do

Offline Dr. Subway18

  • Operator
  • ***
  • Posts: 441
  • Gender: Male
  • proud 1999 Kenworth W900B owner(NTC cummins, 10sp)
    • View Profile
Re: R40 slant
« Reply #10 on: February 26, 2012, 05:01:08 pm »
No need to contact me - I already worked on it. It's all in the coding.  ;)

First, open the R40_B.b3d with Notepad. Go to the bottom of the page and insert this code:
Code: [Select]
TranslateAll 0,0,9.2375
Next, copy this code below. Then open the extensions.cfg, delete everything that's on there, and paste the new code.
Code: [Select]
[Car0]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car1]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car2]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car3]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car4]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car5]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car6]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car7]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car8]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car9]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

After that, open the train.dat with Notepad, locate the Car section (written as #CAR), go to the fifth line of that section, and replace whatever the value is over there to 18.475.

Finally, delete the R40_B2.b3d in your cars folder. It is not needed anymore.

That's it! Open openBVE and test it out. If you did everything correctly then the cars will turn perfectly.  :)
ok i have a R40 with interiors and exteriors, will this work with it also? because all im getting now is a flat traincar.

Offline SubwayTrainOperator5

  • Dispatcher
  • ****
  • Posts: 761
  • Gender: Male
  • R44, R46, and R68 fan / OpenBVE Videomaker
    • View Profile
    • My YouTube Channel
Re: R40 slant
« Reply #11 on: February 26, 2012, 05:37:02 pm »
No need to contact me - I already worked on it. It's all in the coding.  ;)

First, open the R40_B.b3d with Notepad. Go to the bottom of the page and insert this code:
Code: [Select]
TranslateAll 0,0,9.2375
Next, copy this code below. Then open the extensions.cfg, delete everything that's on there, and paste the new code.
Code: [Select]
[Car0]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car1]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car2]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car3]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car4]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car5]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car6]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car7]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

[Car8]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = True

[Car9]
Object = cars\R40_B.b3d
Length = 18.475
Reversed = False

After that, open the train.dat with Notepad, locate the Car section (written as #CAR), go to the fifth line of that section, and replace whatever the value is over there to 18.475.

Finally, delete the R40_B2.b3d in your cars folder. It is not needed anymore.

That's it! Open openBVE and test it out. If you did everything correctly then the cars will turn perfectly.  :)
ok i have a R40 with interiors and exteriors, will this work with it also? because all im getting now is a flat traincar.

It should work with any OpenBVE train
Signature Removed (dead link)

Offline Dr. Subway18

  • Operator
  • ***
  • Posts: 441
  • Gender: Male
  • proud 1999 Kenworth W900B owner(NTC cummins, 10sp)
    • View Profile
Re: R40 slant
« Reply #12 on: February 26, 2012, 05:39:33 pm »
open when i replace the extensions.cfg, file nothing comes up.

Offline Gong Gahou

  • Operator
  • ***
  • Posts: 258
  • Gender: Male
  • BVEStation Member
    • View Profile
Re: R40 slant
« Reply #13 on: February 26, 2012, 05:43:28 pm »
What is the exact name of your R40 with the exterior and interior? Did you input that into the extensions.cfg file?
Previously known as pjiang6211

Offline Dr. Subway18

  • Operator
  • ***
  • Posts: 441
  • Gender: Male
  • proud 1999 Kenworth W900B owner(NTC cummins, 10sp)
    • View Profile
Re: R40 slant
« Reply #14 on: February 26, 2012, 05:45:02 pm »
What is the exact name of your R40 with the exterior and interior? Did you input that into the extensions.cfg file?
well yeah i put it in that file via notepad and what do you mean by name?