Hello,
Today I have created a train for use on my future AI map. However, after successfully scripts and sounds, I have a little problem. I need your help to find out how to set ovh and model files.
First, the train is shifted relative to the rails, how can we fix this?
Second, the cars are racollés them, or that there is normally a space between the cars, how to fix this?
Here are my ovh files:
MI79-1.ovh, MI79-2.ovh and MI79-4.ovh
Code
- [friendlyname]
- SNCF-RATP
- MI79-1 (2 and 4 that same)
- IDF
- [type]
- 2
- [registration_free]
- [model]
- model\MI79-1.cfg
- [sound]
- Sound\sound.cfg
- ////////////////////////////////////////////////////////
- Scripts
- ////////////////////////////////////////////////////////
- [varnamelist]
- 1
- script\BR132_varlist.txt
- [script]
- 1
- script\BR132.osc
- [constfile]
- 1
- script\BR132_constfile.txt
- ////////////////////////////////////////////////////////
- Kupplungen
- ////////////////////////////////////////////////////////
- [coupling_front] / [coupling_back]
- x
- y
- z
- [coupling_front]
- 0
- 11.51
- 1
- [coupling_back]
- 0
- -7.37
- 1
- [boogies]
- 6.15
- ////////////////////////////////////////////////////////
- Std.mäßiges Ankuppeln von weiteren Fahrzeugen:
- ////////////////////////////////////////////////////////
- [couple_front]/[couple_back]
- Fahrzeug-Datei
- reverse (true/false)
- [couple_back]
- ..\Bm238\Bm238.bus
- false
- ////////////////////////////////////////////////////////
- Cameras
- ////////////////////////////////////////////////////////
- 0: Blick nach vorne (std)
- [add_camera_driver]
- 0
- 7.76
- 2.62
- -0.06
- 50
- 0
- -10
- 0: Blick nach vorne (std, Passagier)
- [add_camera_pax]
- 0
- 7.76
- 2.62
- -0.06
- 50
- 0
- -10
- Folgender Befehl setzt die Standardfahrerkamera:
- [set_camera_std]
- 0
- Folgender Befehl setzt den Zentrierpunkt der Außenkamera:
- [set_camera_outside_center]
- 0
- 0
- 0.85
- ////////////////////////////////////////////////////////
- Physikalische und geometrische Grunddaten
- ////////////////////////////////////////////////////////
- Masse in t:
- [mass]
- 60
- [momentofintertia]
- 1760
- 54
- 1803
- Rollwiderstand (konstant, wird demnächst eventuell geändert) als Kraft in N
- [rollwiderstand]
- 200
- Längskoordinate des Drehpunktes, wenn der Bus eine Kurve beschreibt:
- [rot_pnt_long]
- 0
- Kehrwert des minimalen Lenkradiuses: (Berechenbar über die Formel: inv_turnradius = tan(alpha)/s,
- wobei alpha der maximale Winkel bspw. der Vorderachse und s deren Abstand zum Drehpunkt in Längsrichtung ist:
- [inv_min_turnradius]
- 0.1904
- Folgende Sektion erzeugt nacheinander die Busachsen mit ihren Parametern. ACHTUNG: bei einem Fahrzeug mit
- unterschiedlich großen Rädern sollte zunächst die angetriebene Achse eingegeben werden, da die zuerst ein-
- gegebene Achse den Antriebsraddurchmesser vorgibt, d.h. das Getriebeübersetzungsverhältnis zur Ge-
- schwindigkeit ist in Bezug auf die 0. Achse gemessen.
- Vorderachse:
- [newachse]
- achse_long
- 7.996
- achse_maxwidth
- 1.606
- achse_minwidth
- 1.284
- achse_raddurchmesser
- 0.503
- achse_feder
- 5000
- achse_maxforce
- 1000
- achse_daempfer
- 5000
- achse_antrieb
- 1
- [newachse]
- achse_long
- 6.146
- achse_maxwidth
- 1.606
- achse_minwidth
- 1.284
- achse_raddurchmesser
- 0.503
- achse_feder
- 5000
- achse_maxforce
- 1000
- achse_daempfer
- 5000
- achse_antrieb
- 1
- [newachse]
- achse_long
- 4.296
- achse_maxwidth
- 1.606
- achse_minwidth
- 1.284
- achse_raddurchmesser
- 0.503
- achse_feder
- 5000
- achse_maxforce
- 1000
- achse_daempfer
- 5000
- achse_antrieb
- 1
- [newachse]
- achse_long
- -4.296
- achse_maxwidth
- 1.606
- achse_minwidth
- 1.284
- achse_raddurchmesser
- 0.503
- achse_feder
- 5000
- achse_maxforce
- 1000
- achse_daempfer
- 5000
- achse_antrieb
- 1
- [newachse]
- achse_long
- -6.146
- achse_maxwidth
- 1.606
- achse_minwidth
- 1.284
- achse_raddurchmesser
- 0.503
- achse_feder
- 5000
- achse_maxforce
- 1000
- achse_daempfer
- 5000
- achse_antrieb
- 1
- [newachse]
- achse_long
- -7.996
- achse_maxwidth
- 1.606
- achse_minwidth
- 1.284
- achse_raddurchmesser
- 0.503
- achse_feder
- 5000
- achse_maxforce
- 1000
- achse_daempfer
- 5000
- achse_antrieb
- 1
Thanks for your help.