Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenBVE Only Renders 2 Cars
#1
It only renders the first 2 cars of all my trains, regardless of version.

Error Log: The car index "n" does not reference an existing car at line 20 in file C:\Program Files (x86)\OpenBVE\UserData\LegacyContent\Train\201-202 KFC\extensions.cfg

"n" refers to cars 3-6.
Reply
#2
(27 February 2016, 11:39 PM)hi1307 Wrote:   Show/Hide

The rest of the cars appears as a grey box or it's totally not represented? 

It's more of a coding issue, based on the error log. Either in the train.dat or extensions.cfg file.
Reply
#3
c151: grey box
Others: not represented
Reply
#4
(27 February 2016, 11:48 PM)hi1307 Wrote:   Show/Hide

Let me see your train.dat. Open the file with notepad and take a screenshot of the data (excluding motor sounds). As well as extensions.cfg
Reply
#5
train.dat: http://pastebin.com/UxgAZm6S
extensions.cfg: http://pastebin.com/R8ybhhg6

C830:

[Image: Xwb08WZ.jpg]
Reply
#6
(27 February 2016, 11:54 PM)hi1307 Wrote:   Show/Hide

For C830, change
1              ; NumberOfMotorCars
to
2              ; NumberOfMotorCars



under the #CAB section. Do this for other trains as well. KHI has 4 motor cars and 2 trailers.
Reply
#7
Thanks. Will do it now.

Edit: Worked! Thanks! Here's a +1!

I think I found the problem. I edited one train.dat using TrainEditor and copied it across all my trains (was a terrible idea).
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How do I edit pictures with blue background to develop for openBVE? TheBigShot346 0 1,233 17 August 2019, 05:16 PM
Last Post: TheBigShot346
  How to create trains on OpenBve? CharlieBrown6P 6 9,766 27 October 2017, 08:27 PM
Last Post: CharlieBrown6P
  Installing OpenBVE TrainLovur 2 8,887 23 October 2017, 08:55 PM
Last Post: Mark4211
  Requests to learn OpenBve coding SBS2831G 6 10,994 27 April 2016, 10:27 AM
Last Post: Hi1307
  Openbve error message: Parameter is not valid SBS2831G 1 9,124 29 February 2016, 01:43 AM
Last Post: SMB142J
  OpenBVE Won't Run mddanial 19 19,410 28 February 2016, 11:36 PM
Last Post: Mark4211
  [Bug] Link for OpenBVE C151 not working TIB1219M 2 11,691 09 June 2013, 07:38 PM
Last Post: SBS9067A
  What happened to Openbve.org and bve.cz? SMRT/SBS Transit 7 12,550 20 December 2012, 11:21 AM
Last Post: SMRT/SBS Transit
  openBVE train running sound Samuel Lee 1 3,861 03 December 2012, 11:48 PM
Last Post: Mark4211
  Installing openBVE smrt c151a 12 9,091 16 September 2012, 12:08 AM
Last Post: Flip

Forum Jump:


Users browsing this thread: 1 Guest(s)