The screencap was no longer available since the web server change. I attached it in the post now
viewtopic.php?f=7&t=2127&p=13093#p13093Did you try the laser trail? It's included and should have things setup ready for usage.
Making Mossberg fire weird big red things:
Code:
<projectile file="bullet.projectile">
<result class="hit" kill_probability="0.6" kill_decay_start_time="0.25" kill_decay_end_time="0.30" />
<trail key="laser" />
</projectile>
Note that laser.trail defines the key as laser not laser.trail.
This happens by using particles/laser.trail, particles/laser.material and textures/laser.png.
Quote:
-Where does the .trail file go? Currently it's tucked away in Pak1.
Doesn't matter much, just one of the resource subfolders in a package or an overlay would be fine. E.g. laser.trail is in packages/vanilla/particles subfolder. If you're making an overlay, overlays/your_mod/particles is ok.
Quote:
-Should I touch the Plasma material textures at all, and only mess with PlasmaTrail?
The material file pretty much defines how the trail is rendered. If a textured / solid trail which is rendered differently when behind obstacles is ok then copying BulletTrail.material, changing the filename and the material name inside the file, could be the best way forward. laser.material is even a bit simpler than that.
Quote:
-Is it even possible to give different guns seperate trails?
It is.
Quote:
-Should the new trail texture be in Vanilla textures folder, or my modded one?
Doesn't matter, both folders are added in the dictionary if the overlay mod is enabled. Better have it in the overlay mod for neatness and distribution.