Академический Документы
Профессиональный Документы
Культура Документы
User manual
Made by alex_trs, #471655
Here you can see what I mean: At frame 0, the height is 0.535m, at 30, 0.777m. at 60,
1.025m. The height differences between frames 30-0 and 60-30 is almost the same ~245mm.
c. Export the new pantograph as a mesh asset (kind "mesh"), remember the names of
the .im mesh file, .kin file and meshs kuid.
d.
e.
f.
g.
i. If you have found the tags class and script, go to custpanto.gs and:
add the following line:
include "script_name.gs"//where script_name is the value of the script tag
Modify the line:
class custpantograph isclass Locomotive
into:
class custpantograph isclass class_name //where class name is the value of the class tag
j. If you havent found those tags add these lines in the config file; if you did found,
replace the old values.
script
class
"custpanto.gs"
"custpantograph"
k. Add inside the mesh table container the following lines, replacing with the
filenames and kuids from the c. section.
scripted-pantograph-1
{
mesh
"panto.im"
anim
"anim.kin"
mesh-asset
<kuid:471655:16093001>
auto-create
1
att
"a.pant0"
att-parent
"default"
}
scripted-pantograph-2
{
mesh
"panto.im"
anim
"anim.kin"
mesh-asset
<kuid:471655:16093001>
auto-create
1
att
"a.pant1"
att-parent
"default"
}
l. Open the default mesh with the PEVSoft Attachment Maker software, and go look
for the X and Z values of the points a.pant0 (and a.pant1 if the loco has two
pantographs). Dont save any mesh out of this program!
m. Add the following container (not inside the mesh-table) and adjust the values.
extensions
{
anim-speed-fps-471655
no-of-pantographs-471655
panto-1-lowest-height
panto-1-highest-height
panto-1-default-height
panto-1-dist-from-car-center
panto-2-lowest-height
panto-2-highest-height
panto-2-default-height
panto-2-dist-from-car-center
}
30
2
4.8
7.239
6.03
-6.4
4.8
7.239
6.03
6.4
Where the track has changing gradient, you need to place more markers, even
between the pylons.
NOTE: This script has been created and tested in TS2009 SP4 (3.3).