leezer3 / OpenBVE

OpenBVE- A free train simulator
http://www.openbve-project.net
277 stars 52 forks source link

[Request] Loading trains via custom named xml files #836

Open JunmoreHeavyBox opened 1 year ago

JunmoreHeavyBox commented 1 year ago

As shown in the title.

"Train/DJ16J3-B"
1M8T Green.xml
2M16T Green.xml
1M8T White-Green.xml
Train.dat
Sound.cfg
Files...

The basic requirement is that these custom named xml train files share the same Train.dat and Sound.cfg/xml files.

#

My train has too many variants with tons of duplicate Sound.cfg and Train.cfg files, which I hate.

JunmoreHeavyBox commented 1 year ago

Then allow free referencing of train description images to avoid these named XML train files in the root directory sharing the same description image.

In addition, I want to be able to freely reference the Train.dat and Sound.cfg/xml files as in the BVE5 Vehicle.txt file.

JunmoreHeavyBox commented 1 year ago

Considerations in train composition... The current XML trains are still inseparable from the number of carriages set in the train.dat file, and there are some problems caused by following the index of powered cars. https://github.com/leezer3/OpenBVE/issues/821#issuecomment-1285890417 (motor sound problem has been solved)

JunmoreHeavyBox commented 1 year ago

I'm going to put this Issue on hold. This is an Issue that was opened at an inopportune time.

Something will mention.

JunmoreHeavyBox commented 1 year ago

It was a stupid decision to close the issue, I restarted!