AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   tracer_fire (jon) (https://forums.alliedmods.net/showthread.php?t=2818)

kingpin 06-17-2004 20:21

tracer_fire (jon)
 
1 Attachment(s)
ported for following thread : http://130.215.31.29/forums/viewtopic.php?t=3119

Code:

/* 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>

Code:

/*        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

Quote:

Originally Posted by kingpin
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.


All times are GMT -4. The time now is 14:57.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.