Long red trials for testing?


(Majin) #1

How do I make it so when I fire bullets it makes the trail red and it stays in the air forever?


(Ragnar_40k) #2

You have to set g_debugbullets to 1 and cg_railtrailtime to a high value (like 60000).
g_debugbullets is some kind of bit mask (code snippets taken from the 1.41 RtCW-MP source):

g_debugBullets.integer >= 3  // show hit player head bb
g_debugBullets.integer > 3   // Show debugging bbox
g_debugBullets.integer >= 2  // show hit player bb
g_debugBullets.integer <= -2 // show hit thing bb
g_debugBullets.integer & 1   // bullet debugging using Q3A's railtrail

g_debugbullets is cheat protected, so you have to start a map with the /devmap command to be able to change it.


(Majin) #3

thanks!