BVEStation Forums

BVE => BVE/OpenBVE Support => Topic started by: ErrorMacro11 on February 06, 2012, 03:44:10 pm

Title: Railfans R62
Post by: ErrorMacro11 on February 06, 2012, 03:44:10 pm
Sorry to be such a bore but is it possible for me to change the cars so that it wouldn't go straight always
P.S is it possible that someone can animate the doors for me as i tried it before and failed
Title: Re: Railfans R62
Post by: peacemak3r on February 06, 2012, 04:47:23 pm
What do you mean by it wouldn't go straight always?

Also about the animated doors, if you couldn't do it yourself, either wait for a released version or see if anyone has even time to do your request.
Title: Re: Railfans R62
Post by: Simon on February 06, 2012, 05:06:43 pm
You mean train sway right? That's when the cars sway from side to side. That is something that you need to code into the route file.

Look into the route file (use find in notepad / wordpad) and find a line that says something similar to this:

.adhesion 255,.back 2,.ground 1,.height 8.8,.pitch 0,

Add .accuracy 4 after the .adhesion line so it'll look something like this.

.adhesion 255,.accuracy 4,.back 2,.ground 1,.height

Change the 4 to a number lower (cause 4 is the max amount of sway you see) for more minimal amounts of sway.



Title: Re: Railfans R62
Post by: ErrorMacro11 on February 06, 2012, 06:11:30 pm
i mean thwe train is always straight and it never turns
Title: Re: Railfans R62
Post by: SubwayTrainOperator5 on February 06, 2012, 06:53:55 pm
If you are asking what I think you are asking about, about how you can make the cars turn properly on curves, here is a quote from Gong Gahou from an earlier thread (It uses the R40 as an example though):

Quote
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.
Title: Re: Railfans R62
Post by: ErrorMacro11 on February 08, 2012, 02:47:39 pm
i tried that and the r68 had massive space gaps
Title: Re: Railfans R62
Post by: SubwayTrainOperator5 on February 08, 2012, 05:02:47 pm
i tried that and the r68 had massive space gaps

Try tweaking the length of the cars using Train Editor. Normally it should be 22.9 meters for the R68.
Title: Re: Railfans R62
Post by: Gong Gahou on February 08, 2012, 06:46:45 pm
i tried that and the r68 had massive space gaps
ErrorMacro11, can you please copy everything from your extensions.cfg file and post it here? Also please copy and paste the #CAR section from the train.dat here as well.
Title: Re: Railfans R62
Post by: ErrorMacro11 on February 10, 2012, 02:05:00 pm
no need, i fixed the turning of the cars from using DJHAMMERS R38
now all i need to know is how to mahe the R68 doors animated