• Drawing shoot trace.
    1 replies, posted
How can I draw shoot trace? I thought to do: [lua] local bullet = {} bullet.Num = 1 bullet.Src = self.Owner:GetShootPos() bullet.Dir = self.Owner:GetAimVector() bullet.Spread = 0 bullet.Tracer = 1 bullet.Force = 0 bullet.Damage = 0 bullet.AmmoType = "Pistol" self.Owner:FireBullets( bullet )[/lua] But maybe there is another better way to do it. Any idea?
bullet.Tracer = 1 // Show a tracer on every x bullets bullet.TracerName = "Tracer" // what Tracer Effect should be used here's some of them AR2Tracer - Self-descripting. Visible from all directions except under it AirboatGunHeavyTracer - Makes a bigger version of the Pulse-rifle Tracer. AirboatGunTracer - Similar to the Pulse-rifle Tracer, only visible from above. Tracer - 9mm pistol tracer StriderTracer - Similar to AR2 tracer HelicopterTracer - Similar to GunshipTracer effect GunshipTracer - 2x the size of the pulse-rifle tracer LaserTracer - The tool tracer effect from the Tool Gun
Sorry, you need to Log In to post a reply to this thread.