Xonotic Forums
[TUTORIAL] more persistent mortar and devastator trails via effectinfo.txt - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Configuration Tips (https://forums.xonotic.org/forumdisplay.php?fid=19)
+--- Thread: [TUTORIAL] more persistent mortar and devastator trails via effectinfo.txt (/showthread.php?tid=8601)



more persistent mortar and devastator trails via effectinfo.txt - ballerburg9005 - 07-25-2021




In order to get the trails, you have to:

1. Unpack effectinfo.txt from the xonotic-...data.pk3 into your data directory.
2. Replace or change the two corresponding sections of type smoke like this:

Code:
effect TR_GRENADE
type smoke
alpha 300 400 160
bounce 1
color 0xFF0000 0x000000
originjitter 0 0 0
sizeincrease 0
size 2 2
tex 0 8
trailspacing 2  
gravity 0
velocityjitter 0 0 0
velocitymultiplier 0

effect TR_ROCKET
type smoke
alpha 200 300 120
bounce 1
color 0xFF2200 0x000000
lightcolor 6 3 1
lightradius 50
notunderwater
originjitter 0 0 0
rotate -180 180 -30 30
sizeincrease 0
size 2 2
tex 0 8
trailspacing 2
velocityjitter 0 0 0
velocitymultiplier 0
  • Decrease the last value of "alpha" to make the trails stay longer, or vice versa.
  • How "size" and "color" work is obvious.
  • You could also use trailspacing 1 (more particles) or 4 (less particles).
What each keyword does is documented in the Xonotic wiki.


RE: more persistent mortar and devastator trails via effectinfo.txt - ballerburg9005 - 07-25-2021

Dr. Jaska  // ChinaCCTV4IRC on Discord Wrote:I looked into editing effectinfo and created this, a few people seem to love it so I'll spread it around more. It has proper tracers for mortar deva vortex, hagar rockets are actually visible and electro has a faint tracer too but not even nearly as pronounced as the others. Vortex also has much more sparks where it hits so it's easier to see from which end the vortex was fired from. Devastator explosion is much more see through and doesn't obstruct your vision 100% for half a second. Otherwise it's the same as current autobuild unless I forgot something, feel free to copy any changes to your current effectinfo go ahead.
https://cdn.discordapp.com/attachments/777659125161132092/816756919502635018/effectinfo.txt
this one is the same but without the reduction in devastator explosion
https://cdn.discordapp.com/attachments/777659125161132092/816767326580899870/effectinfo.txt