Create a shotgun burst with tracers
Ive been trying to achieve a shotgun burst effect with tracers but i cant figure out how to do it. atm it shoots 8 tracers in the same spot, where i need to to shoot 8 tracers in a random spread
Help is appreciated |
Re: Create a shotgun burst with tracers
You can use the Ham_TraceAttack forward. There you get the player eyes origin and the end position of the trace handle, and create the tracers.
|
Re: Create a shotgun burst with tracers
Code:
public GunShot(id) |
Re: Create a shotgun burst with tracers
No, it is not needed to do that, you can find out all the shots exactly where they hit with the method I posted above.
Edit: Now I have read more carefully. You would like the tracers random? Or would you like the tracers to go exactly where the shot ends? |
Re: Create a shotgun burst with tracers
i awnt the tracers to go from 1 point to 8 random points near each other where the bullets should hit
|
Re: Create a shotgun burst with tracers
Here! I have tested it! It works ;)
PHP Code:
|
Re: Create a shotgun burst with tracers
You can check this plugin -> http://forums.alliedmods.net/showthread.php?p=544649 has shotgun tracers.
@ot_207 - TraceAttack for "worldspawn" ? |
Re: Create a shotgun burst with tracers
Quote:
LE: You can check these plugins: http://forums.alliedmods.net/showthread.php?t=94916 and http://forums.alliedmods.net/showthread.php?p=663892 both are using them :). |
Re: Create a shotgun burst with tracers
Mine also use worldspawn, but it wont help to reproduce shotgun.
This could help : Code:
// special deathmatch shotgun spreads |
Re: Create a shotgun burst with tracers
Quote:
|
| All times are GMT -4. The time now is 18:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.