SantaFebuff
That's So Trainz Forum
Can someone with some scripting capabilities help me with the attachment points and whatnot to help give the Union Pacific Denver and Rio Grande SD70ACe by SPORBUST some ditchlights?
I need to know if anyone can help point out which of the five corona attachment points are used for the lower ditchlights? I tried a ditchlight script from Corey's Amtrak AEM-7 with no success. So I studies a config.txt from the Amtrak F40PH they made. I think I forgot the "ditch-color" section. I'll add that and see what happens.
Anyway, here's the configuration file for the Denver and Rio Grande Western unit.
Cheers,
Joshua
I need to know if anyone can help point out which of the five corona attachment points are used for the lower ditchlights? I tried a ditchlight script from Corey's Amtrak AEM-7 with no success. So I studies a config.txt from the Amtrak F40PH they made. I think I forgot the "ditch-color" section. I'll add that and see what happens.
Anyway, here's the configuration file for the Denver and Rio Grande Western unit.
HTML:
category-class "AL"
category-region-0 "US"
category-era-0 "2000s"
category-era-1 "1990s"
category-era-2 "1980s"
category-era-3 "1970s"
category-era-4 "1960s"
trainz-build 2.4
bogey <kuid2:113556:15118:1>
bogey-1-r <kuid2:113556:15118:1>
engine 1
fonts 3
mass 186000
company "DRG"
origin "USA"
enginespec <kuid:55290:51007>
enginesound <kuid2:200202:53710:1>
hornsound <kuid2:200202:54382:1>
ditch_color 255,255,220
username "DRGW SD70ACe w/Ditch"
interior <kuid:113556:1000009>
kind "traincar"
description "The SD70ACe is a Non reskinable Locomotive. Creator SP_OR_BUST. 4300 THP locomotive equipped with EMD's 16-710G3C-T2 engine"
mesh-table {
default {
mesh "mesh_body/mesh_body.im"
auto-create 1
animation-loop-speed 1
effects {
0 {
kind "corona"
att "a.corona0"
directional 1
object-size 0.1
texture-kuid <kuid:113556:101010>
}
1 {
kind "corona"
att "a.corona1"
directional 1
object-size 0.1
texture-kuid <kuid:113556:101010>
}
2 {
kind "corona"
att "a.corona2"
directional 1
object-size 0.1
texture-kuid <kuid:113556:101010>
}
3 {
kind "corona"
att "a.corona3"
directional 1
object-size 0.1
texture-kuid <kuid:113556:101010>
}
4 {
kind "corona"
att "a.corona4"
directional 1
object-size 0.1
texture-kuid <kuid:113556:101010>
}
5 {
kind "corona"
att "a.corona5"
directional 1
object-size 0.1
texture-kuid <kuid:113556:101010>
}
}
}
fan1 {
mesh "mesh_body/fan1/fana.im"
anim "mesh_body/fan1/anim.kin"
auto-create 1
att "a.fan1"
animation-loop-speed 1
att-parent "default"
}
fan2 {
mesh "mesh_body/fan2/fanb.im"
anim "mesh_body/fan2/anim.kin"
auto-create 1
att "a.fan2"
animation-loop-speed 1
att-parent "default"
}
fan3 {
mesh "mesh_body/fan3/fanc.im"
anim "mesh_body/fan3/anim.kin"
auto-create 1
att "a.fan3"
animation-loop-speed 1
att-parent "default"
}
shadow {
mesh "mesh_shadow/mesh_shadow.im"
}
}
ditch_fr {
mesh "mesh_body/ditchlight/ditchlight.im"
auto-create 0
att "a.corona2"
att-parent "default"
effects {
dl_corona {
kind "corona"
att "a.corona2"
texture-kuid <kuid2:45324:10100:1>
max-distance 2000
max-size-mul 8
}
}
}
ditch_fl {
mesh "mesh_body/ditchlight/ditchlight.im"
auto-create 0
att "a.corona1"
att-parent "default"
effects {
dl_corona {
kind "corona"
att "a.corona1"
texture-kuid <kuid2:45324:10100:1>
max-distance 2000
max-size-mul 8
}
}
}
asset-filename "DRGW SD70ACe w_Ditch"
Cheers,
Joshua