PEVSoft Attatchment maker?

if i want to add an attachment to a train bogey with this program how would i do that? I'm trying to add bloodnok's spark effect to magicland's bogey using this program
 
Last edited:
if i want to add an attachment to a train bogey with this program how would i do that? I'm trying to add bloodnok's spark effect to magicland's bogey using this program
Open the bogey for edit, and use the .im mesh file in Attachment Maker. Make an attachment. Go into the config. Change the bits in red in rweber95's post in the config of the bogey. Change the kuid in red to the one you are using. Save and commit.

Hope this helps!
 
Open the bogey kuid for Edit in Explorer.
Right click the mesh file and select Open with Attachment Maker.
In the Attachment Maker window, click the Add Attach button.
Move the yellow crosshair to the position you want.
In the name box, name the attachment point.
Right click anywhere to change the attachment point to green.
Repeat for additional attachment points. As noted I made 2, one for the left and one for the right. I named mine a.spark1 and a.spark2.
To save, click File - Save Att Mesh.
To add the new attachment point to an existing bogey, open the bodies kuid for Edit in Explorer and add these lines to the mesh-table container:

mesh-table
{
default
{
mesh "subway.pm"
auto-create 1
}

attachments
{
mesh "attach_mesh.im"
auto-create 1

effects
{
0
{
kind "corona"
att "a.spark1"
texture-kuid <kuid:60850:99999>
object-size 0.1
frequency 0.5
directional 0
}

1
{
kind "corona"
att "a.spark2"
texture-kuid <kuid:60850:99999>
object-size 0.1
frequency 0.5
directional 0
}
}
}
}

Bob
 
Last edited:
Open the bogey kuid for Edit in Explorer.
Right click the mesh file and select Open with Attachment Maker.
In the Attachment Maker window, click the Add Attach button.
Move the yellow crosshair to the position you want.
In the name box, name the attachment point.
Right click anywhere to change the attachment point to green.
Repeat for additional attachment points. As noted I made 2, one for the left and one for the right. I named mine a.spark1 and a.spark2.
To save, click File - Save Att Mesh.
To add the new attachment point to an existing bogey, open the bodies kuid for Edit in Explorer and add these lines to the mesh-table container:

mesh-table
{
default
{
mesh "subway.pm"
auto-create 1
}

attachments
{
mesh "attach_mesh.im"
auto-create 1

effects
{
0
{
kind "corona"
att "a.spark1"
texture-kuid <kuid:60850:99999>
object-size 0.1
frequency 0.5
directional 0
}

1
{
kind "corona"
att "a.spark2"
texture-kuid <kuid:60850:99999>
object-size 0.1
frequency 0.5
directional 0
}
}
}
}

Bob

rweber95, thank you so much i really owe you one. every time i wanted to know about the spark attachment you always had the best clue
 
i named mine Spark01 and Spark02 instead but in my CM2 i got this as a result and i want to know what do they mean by this,
Error: The tag 'effects' is not permitted within this container. (Container type 'bogey')
 
Last edited:
Check you curly brackets. Your effects tag has to be under the mesh-table like this:
mesh-table
{
effects

not like this:
mesh-table
{
....
}
effects

Bob
 
can you give me the full example of what exactly it should look like, and now im getting this as a result:
Error: The tag '0' is not permitted within this container. (Container type 'attachments')
Error: The tag '1' is not permitted within this container. (Container type 'attachments')
 
Last edited:
:) :) :) i got it to work all i had to do was figure out some minor problems with the naming. i just found another problem with the spark effect, it keeps on going on and on repeatedly like every two or three seconds how do i set it to appear a certain amount of time
 
Last edited:
:) :) :) i got it to work all i had to do was figure out some minor problems with the naming. i just found another problem with the spark effect, it keeps on going on and on repeatedly like every two or three seconds how do i set it to appear a certain amount of time
The current implementation of the corona effect is either always ON or always blinking. You can control the frequency but there is no control over when the effect is displayed. This control could be provided with a script.

Bob
 
I don't run any subway cars so don't use the spark feature. Like I said, it would take a script to detect when the traincar is moving and then control the spark display. I'm not a script writer so can't help you there. BNSF50 has written scripts to control crossing gates so I'm sure he could help you. You might email or pm him to see if he has any ideas.

Bob
 
Back
Top