PDA

View Full Version : tracer_fire (jon)


kingpin
06-17-2004, 20:21
ported for following thread : http://130.215.31.29/forums/viewtopic.php?t=3119


/* AMX Mod X script.
*
* tracer_fire by jon
*
* based on war weapon tracers.
*
* latest fixes:
* - found get_user_origin mode 4, for cs only.
* this allows us to draw the tracer to where the bullet actually
* went instead of where the player was aiming.
*
* features solid, random, weapon class, and team color(s)
* and a new option to prevent player from seeing their own tracer.
*
* ********************************************* **********************************
*
* Ported By KingPin( [email protected] ). I take no responsibility
* for this file in any way. Use at your own risk. No warranties of any kind.
*
* ********************************************* **********************************
*
*
* TODO:
* - read default colors from a cfg or ini or something
* - save colors/mode between map changes instead of loading defaults
*/


#include <amxconst>
#include <amxmodx>
#include <amxmisc>
#include <string>

/* gamemode:
* 0 - disabled
* 1 - use nCOLOR vars for color (defaults to pink 255,0,204)
* 2 - random color from fixed table for every shot
* 3 - use weapon table for colors
* 4 - team based. CT=blue, T=red
*/
new gamemode

/* option_all
* 0 - send individual messages. player does not 'see' his/her own tracer. bots do not 'see' tracers.
* 1 - MSG_ALL every tracer.
*/
new option_all = 1

Peli
06-17-2004, 20:26
Nice plugin man , I like it , going to put it on my server. :)

kingpin
06-17-2004, 20:27
I have a boat load of plugins from amx lying around most ported a lot still waiting.. just port one when someone asks... or post it if ported already...

Peli
06-17-2004, 20:46
Oh , that's nice.

davee
06-18-2004, 13:51
Hi all :wink:
can this plugin be set to make a tracer on a number of shoots fired?
like i would setup every 6th shoot to make a tracer .

Downtown1
06-18-2004, 22:39
How about optional HL-like tracers? The ones that are brownish and don't use a sprite? :)

Deagle
06-19-2004, 19:26
nie one kingpin

Regards mate
Deagle

kingpin
06-21-2004, 15:08
btw there are multiple types of sprites/colors for the tracer. just check the sma for info.

Deagle
06-21-2004, 15:25
btw there are multiple types of sprites/colors for the tracer. just check the sma for info.
mm did see those i just put
amx_tracers 4 (team colours)
and
amx_tracers_all 0
im amxx.cfg works nicely, oh didnt use the ported version i took the old one works fine as well

MeTaL69
06-25-2004, 12:15
Sry I dont understand this plugin. I tried all the different modes on amx_tracers 0-4 with resetting server everytime & they all looked the same. Even 0 didnt even turn it off!!

Running CZ DS Server

Omg I hate that pink lol

I cant see how u can change the colour in the sma. I would like it like the WarTracers plugin from AMX.

kingpin
06-25-2004, 12:25
amx_tracers X ( x can be one of 5 values)
0 = off
1 = pink
2 = Each bullet gets random color
3 = Each weapon gets different color
4 = team colors i.e. red for T's and blue for CT's.

amx_tracers_all 1|0 (1 = u see ur own tracers | 0 = u only see others.)

u can put these vaues in ur amxx.cfg.

MeTaL69
06-25-2004, 12:41
Yeah but the thing is everytime I put in amx_tracers <0-4> in the admin console, it kept showing me a pink tracer in games.
Restarted the server every number change!

So what about changing the colour, to one nice colour (WarTracers) for all?

Man, u must have a hard time doing all these plugins :shock:

kingpin
06-25-2004, 12:54
talk to me on aim/msn maybe we can solve this live.

MeTaL69
06-25-2004, 13:55
Thanks Kingpin but I think Im not gonna use Tracers anymore, just put back on the WarTracers from AMX & everyone didnt like them.

They r my public LOL :lol:

But if wanted to test ur plugin ayways, we can?

MstrFrk1
11-28-2004, 22:38
so this plugin traces every bullet fired? I've seen a couple servers where just the killing bullet is traced, or is that what this is doing? i'm a confused n00b. Could you post a screeny of the tracers in action?

[SHITE]Dirk Diggler
11-29-2004, 19:36
so this plugin traces every bullet fired? I've seen a couple servers where just the killing bullet is traced, or is that what this is doing? i'm a confused n00b. Could you post a screeny of the tracers in action?

I was about to ask the same thing :). If this isn't the one, could someone link me to it pls?

xaber
02-08-2005, 23:31
why when i run this plugin does my whole server drop framerate. the thing lags like a sloth stuck in tar. i get more more ping spikes as well.

Cryonic
02-09-2005, 06:01
Doesn't seem to put any extra load on my server (win).

http://hem.bredband.net/list/tfcomp.gif

TRACER NORMAL

But it would be nice if it were default off and the players got a message like "If you want tracerbullets, type tracer 1 in console" (most ppl hate it, some love it) ;)

kingpin
02-09-2005, 06:43
thats doable, will look into it.

Blaster
02-09-2005, 14:32
hi piplz,may dis plugin show bullettrace when i shooting through walls?

CsKShadowWalker
05-09-2005, 15:49
I like this mod, but can I get it without lines, like I saw a tracer one that looked like those machine guns in CS... just little yellow bullets flying across the map, not long ass lines...

Timon5022
07-20-2005, 13:49
amx_tracers X ( x can be one of 5 values)
0 = off
1 = pink
2 = Each bullet gets random color
3 = Each weapon gets different color
4 = team colors i.e. red for T's and blue for CT's.

amx_tracers_all 1|0 (1 = u see ur own tracers | 0 = u only see others.)

u can put these vaues in ur amxx.cfg.

i know that this might be a n00bish question, but where do i put these lines?

D_Hawk
07-20-2005, 15:56
You are blind.





u can put these vaues in ur amxx.cfg.

Timon5022
07-20-2005, 17:46
You are blind.





u can put these vaues in ur amxx.cfg.





hehe yeah! gotta go to put my contactlenses on! :D

Kurosaki-Ichigo
07-22-2005, 06:05
This is a nice plugin..i love it man..Good job.. 8)

scriptyboy
09-16-2005, 13:47
can u put in an option to make it the last bullet fired...like the one that killed the person is the only one to show up and he will be the only one to see it?

joka69
09-16-2005, 14:00
can u put in an option to make it the last bullet fired...like the one that killed the person is the only one to show up and he will be the only one to see it?

Your looking for killerbeams or deathinfobeams not tracers :lol:

mwf
10-25-2005, 23:08
gabs da nicht auch ein passendes Plugin?

Ich persöhnlich z.B. habe es nicht so ganz mit selber coden da es mir noch keiner so richtig erklären konnte (guter Rat ist teuer)

Würde mich aber auch für sowas interessieren! Aber für half Life Counter Strike 1.6

Hat da vielleicht noch jemand das amxx plugin für mich?

Gruß -MWF-

sweat
08-10-2006, 00:28
This seems like the best tracer plugin, but it sounds like theres a tracer for every shot... pls could you add a cvar to allow 1 tracer per X shots fired. Also can you allow people to choose which weapons they apply for? I'm a realism freak so I'd want to have 1 tracer/5 shots for CT assault rifles and M249 only. Thx