help me:spark effect to bogey

jamal17

Subways and railroads
kind "bogey"
kuid <kuid:58843:50013>
animdist 2.39
category-region-0 "US"
category-era-0 "1960s"
category-class "ZB"
asset-filename "subway"
username "subway"
thumbnail
author "Jeff Barr"
organisation "American Locomotive & Car Company"
contact-email "j@magicland.com"
contact-website "www.magicland.com/trainz.htm"
license
kuid-table {
}
mesh-table {
default {
mesh "bogey/bogey.im"
auto-create 1
effects {
0 {
kind "corona"
att "a.spark0"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
1 {
kind "corona"
att "a.spark1"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
2 {
kind "corona"
att "a.spark2"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
3 {
kind "corona"
att "a.spark3"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
4 {
kind "corona"
att "a.spark4"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
5 {
kind "corona"
att "a.spark5"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
6 {
kind "corona"
att "a.spark6"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
7 {
kind "corona"
att "a.spark7"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
}
}
}
I did that and this is the result i get:
Error: MeshData::DatabaseLoad - cannot load mesh: 'bogey\bogey.im'
 
The mesh file in the existing <kuid:58843:50013> is subway.im, not bogey.im and there is no bogey folder within the kuid. Also subway.im has no attachment points. Did you change the mesh in this bogey?

Bob
 
You can't because there's not attachpoints in the bogies mesh file. See your previous post for more details.

Bob
 
Is this how its supposed to look:


kind "bogey"
kuid <kuid:58843:50013>
animdist 2.39
category-class "ZB"
username "subway"
author "Jeff Barr"
organisation "American Locomotive & Car Company"
contact-email "j@magicland.com"
contact-website "www.magicland.com/trainz.htm"
category-region "US"
category-era "1960s"
trainz-build 2.5
direct-drive 0
kuid-table {
}
mesh-table {
default {
mesh "subway.pm"
auto-create 1
effects {
0 {
kind "corona"
att "a.spark0"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
1 {
kind "corona"
att "a.spark1"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
2 {
kind "corona"
att "a.spark2"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
3 {
kind "corona"
att "a.spark3"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
4 {
kind "corona"
att "a.spark4"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
5 {
kind "corona"
att "a.spark5"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
6 {
kind "corona"
att "a.spark6"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
7 {
kind "corona"
att "a.spark7"
texture-kuid <kuid:60850:99999>
object-size 0.1
directional 0
}
}
}
shadow {
mesh "subway_shadow/subway.pm"
auto-create 0
}
}
 
i set it up like this and it didn't have no error but the only problem is that it wont show any spark
 
I remember that in UTC there was sparks coming from all the bogies. Looks like people of that time did not care and Auran decided to eliminate it... In the name of progress, I guess..
 
Let me say this one more time.
THERE ARE NO ATTACHMENT POINTS in subway,<kuid:58843:50013>
Without attachment points you can't do what you're trying to do.
a.spark0 thru a.spark7 doesn't exist.

Bob
 
i set it up like this and it didn't have no error but the only problem is that it wont show any spark

Your not getting errors because the error checking in whatever Trainz version you're using isn't that good. Here's what TS2010 says:

Error: Attachment point 'a.spark0' in '0' must be found in mesh ''.
Error: The attachment point 'a.spark0' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark1' in '1' must be found in mesh ''.
Error: The attachment point 'a.spark1' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark2' in '2' must be found in mesh ''.
Error: The attachment point 'a.spark2' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark3' in '3' must be found in mesh ''.
Error: The attachment point 'a.spark3' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark4' in '4' must be found in mesh ''.
Error: The attachment point 'a.spark4' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark5' in '5' must be found in mesh ''.
Error: The attachment point 'a.spark5' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark6' in '6' must be found in mesh ''.
Error: The attachment point 'a.spark6' must belong to the parent mesh of the effect (mesh=subway.im).
Error: Attachment point 'a.spark7' in '7' must be found in mesh ''.
Error: The attachment point 'a.spark7' must belong to the parent mesh of the effect (mesh=subway.im).

As previously mentioned, there are no attachment points. If a bogey was made that had attachment points, then you could probably do what you want. But to get a bogey like that you'd probably have to create it yourself.
 
Back
Top