Monthly Target: $400 Donations: $602
 150% 

Advanced Weapon Tracers 1.3.0 (21 jun 2008)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Zenith77 (34)
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-21-2007 , 08:22   Advanced Weapon Tracers 1.3.0 (21 jun 2008)
Reply With Quote #1

Advanced Weapon Tracers




.: Description :.


This plugin shows bullet traces.



.: Features :.


- Ability to enable/disable tracers for weapon categories :
  • HandGuns
  • Shotguns
  • Smgs
  • Riffles
  • Snipers

- Ability to hide tracers when weapons are silenced

- Multi traces on shotguns and on 'bursted' weapons

- Players can disabled tracers with toggle say command : /tracers
! Note that plugin have to be compiled with PER_PLAYER_SETTINGS defined



.: Command :.

say /tracers
Player ability to toggle tracers

.: Cvars :.

  • amx_tracers < 1|0 >
    Enable / Disable the plugin
  • amx_trace_handguns < 1|0 >
    Enable / Disable tracers on hand guns
  • amx_trace_shotguns < 1|0 >
    Enable / Disable tracers on shot guns
  • amx_trace_smgguns < 1|0 >
    Enable / Disable tracers on smgs
  • amx_trace_riffleguns < 1|0 >
    Enable / Disable tracers on riffles
  • amx_trace_snipeguns < 1|0 >
    Enable / Disable tracers on snipers
  • amx_trace_hide_silen < 1|0 >
    1 : hide tracers on silenced weapons
    0 : don't hide tracers on silenced weapons
  • amx_trace_hltv < 1|0 >
    If per player settings enabled, set to 1 to show tracers to HLTVs
  • amx_trace_laser_color < RRRGGGBBB >
    Laser version only, set color of tracer



.: Modules :.


Cstrike
Fakemeta
Hamsandwich



.: Credits :.


Hide silen weapons traces idea from axn metamod plugin.
Laser version : XxAvalanchexX for his snippet



.: ChangeLog :.
Code:
/*
* v1.3.0 (21jun2009)
* - rewritten the whole plugin for better shot place detection
*
* v1.2.0 (17mar2008)
* -now hook traceline forward to get the exact (at least more accurate) bullet trace
*
* v1.1.2 (13mar2008)
* -removed famas multi-tracers
*
* v1.1.1 (23jan2008)
* -fixed error when silenced m4 made burst tracers
*
* v1.1
* -changed message_begin with EngFunc_MessageBegin to avoid changing floats into integers
* -made some strings as const
* -replaced 'if statments' with 'switch statements' in PlaybackEvent forward
* -tmp is now considered as a silent weapon (can be disabled by commenting #define TMP_IS_A_SILENCED_WEAPON)
* -added command 'say /tracers' so player can switch on/off tracers (can be disabled by commenting #define PER_PLAYER_SETTINGS)
* -cvar amx_trace_hltv, so tracers are sent to HLTV (if #define PER_PLAYER_SETTINGS is commented, tracers are always sent to HLTVs)
* -added public cvar
*
* v1.0 First Release
*/
+12000dl
Attached Files
File Type: sma Get Plugin or Get Source (advanced_weapon_tracers.sma - 27638 views - 6.2 KB)
File Type: sma Get Plugin or Get Source (weapon_laser_tracers.sma - 7662 views - 7.4 KB)

Last edited by ConnorMcLeod; 10-25-2009 at 05:54.
ConnorMcLeod is offline
Oneill59
New Member
Join Date: May 2007
Old 10-21-2007 , 08:28   Re: Advanced Weapon Tracer
Reply With Quote #2

Nice!!
__________________
Fr ||==> R@ST@M@NS <==|| rasta.verygames.net || F@st DL
194.105.153.47:27030
| My Plugins | Join Server | R@st@ Web |
AMX = // AMXX =
Oneill59 is offline
loren28
Senior Member
Join Date: Nov 2006
Old 10-21-2007 , 09:02   Re: Advanced Weapon Tracers
Reply With Quote #3

connorr please can make to look exactly like in matrix mod?whit white color and slowly?and traces to make damage ?[maybe moore thant 1 color {green,red,blue}]
here it's link to matrix mod
http://forums.alliedmods.net/showthread.php?t=23856
here it's link to matrix mod rapidshare becouse up there link dont work
http://rapidshare.com/files/64130729/matrix.zip.html

Last edited by loren28; 10-21-2007 at 09:54.
loren28 is offline
hoboman
Senior Member
Join Date: Jul 2007
Old 10-21-2007 , 14:18   Re: Advanced Weapon Tracers
Reply With Quote #4

where are the screenies at?
__________________
hoboman is offline
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-21-2007 , 16:35   Re: Advanced Weapon Tracers
Reply With Quote #5

Nice, i like those cvars for sure

But the tracers, are they solid colors or dotted bullet like tracers?
(I have been looking for a dotted like tracer forever lol that actually works)

edit
"Multi traces on shotguns and on 'bursted' weapons"

I guess their solid then eh, but ill check it out later today
__________________
bmann_420 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-21-2007 , 16:41   Re: Advanced Weapon Tracers
Reply With Quote #6

It look like axn plugin if you know, so like tracers. No custom colors.
__________________
Working on : CS Weapon Mod (72%) , MonsterAI (PAUSED),

Arkshine is offline
BlackMilk
Veteran Member
Join Date: Jun 2007
Old 10-22-2007 , 09:38   Re: Advanced Weapon Tracers
Reply With Quote #7

How bout something like client commands for people to turn it off for themselves manually?
__________________
Mod:
User:
BlackMilk is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-22-2007 , 10:29   Re: Advanced Weapon Tracers
Reply With Quote #8

Quote:
Originally Posted by BlackMilk View Post
How bout something like client commands for people to turn it off for themselves manually?
This is a good idea.
As it would required to loop tracers messages through all client, i wonder if it would decrease performances.
ConnorMcLeod is offline
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 10-22-2007 , 16:39   Re: Advanced Weapon Tracers
Reply With Quote #9

Quote:
Originally Posted by connorr View Post
This is a good idea.
As it would required to loop tracers messages through all client, i wonder if it would decrease performances.
I suggest not looping all clients, just toggle the clients personal tracers on and off.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-22-2007 , 16:48   Re: Advanced Weapon Tracers
Reply With Quote #10

Quote:
Originally Posted by Pro Patria Finland View Post
I suggest not looping all clients, just toggle the clients personal tracers on and off.
I don't get it, could you explain ?
ConnorMcLeod is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:25.


Powered by vBulletin®
Copyright ©2000 - 2015, vBulletin Solutions, Inc.
Theme made by Freecode