Attack Marker - Colored markers which shows your teammates where to attack.
9 Attachment(s)
Attack Marker Plan ahead, Command you team and Show where you are in an easy way! Index: Code:
Description Colored markers which shows your teammates where to attack.Screenshots: https://forums.alliedmods.net/attach...1&d=1290597195Requirements:
Credits: Thank you Berni, Manni, Mannis FUN House Community and SourceMod/AlliedModders LLC-TeamChangelog:
The following can be changed in <moddir>/cfg/sourcemod/plugin.attackmarker.cfg sm_attackmarker_enable Ingame Commands:Enables or Disables Advanced HL2 Movement (1=Enable|0=Disabled)sm_attackmarker_button_hotkey For Admins:Important information:sm_removeallmarkers [team]For every player:removes all markers in the team the executing admin is in, using the team parameter will override this.sm_banmarker <target>
SMLib is a lib used by Berni and myself, this is a pre-release to provide the code for the GPL, drop it into your include directory.Download: The provided plugin.attackmarker.cfg file is configured to enable this plugin by default. |
Re: Attack Marker - Colored markers which shows your teammates where to attack.
does this work with TF2?
|
Re: Attack Marker - Colored markers which shows your teammates where to attack.
Yes that why it has the tag:
Quote:
Quote:
|
Re: Attack Marker - Colored markers which shows your teammates where to attack.
This works for me! I run:
PHP Code:
PHP Code:
PHP Code:
I did edit the controls in your plugin as players arent assigned eighter red or blue, so they get all colors by default. The zoom button works for everyone. It's great. |
Re: Attack Marker - Colored markers which shows your teammates where to attack.
Looks nice! Works ingame on L4D1(not tested onL4D2)
2 simple questions: How to remove a marker? Do they disappear after a period of time? What would be cood: Admins command to remove ALL markers Admins unlimited markers (unlimited amount and time) Non-Admins 1 marker (marker stay for XX seconds, change marker position when set on new target) Cheers, OtterNas3 |
Re: Attack Marker - Colored markers which shows your teammates where to attack.
Quote:
Quote:
This sets how visible the marker is at start. 255=fully visible; 0=fully invisiblesm_attackmarker_fade_per_tick This number will be subtracted from the start alpha value each tick.sm_attackmarker_marker_tick This sets how often the marker is redrawn (this is the marker tick rate).example: start alpha is 100, fade per tick is 1 and tick is 0.5 (default values) then a marker is there only for about 50 sec (fading slowly away). Quote:
But I may add a spam protection, for those little kids and an admin command to ban them from the markers. If you bring up only some suggestions without a good reason, I don't see why to implement it. ;-) Don't get me wrong but I've developed this while playing with it, in l4d2. So its already optimized to be easy and less annoying. |
Re: Attack Marker - Colored markers which shows your teammates where to attack.
What about instead of per ticks, you use per seconds? Just use
PHP Code:
|
Re: Attack Marker - Colored markers which shows your teammates where to attack.
You didn't look into the code, did you? :)
I didn't use OnGameFrame, I've used a timer that repeads itself in the interval of sm_attackmarker_marker_tick. So if sm_attackmarker_marker_tick is 2.5, the markers are drawn every 2.5 sec. So this plugin has a tick by itself. English isn't my native language, so is tick the wrong word for that cvar? I know I've could have used sm_attackmarker_marker_interval, but its longer so I thought tick describes it and is short. |
Re: Attack Marker - Colored markers which shows your teammates where to attack.
Oh well, when I see tick I instantly imagine OnGameFrame :p
|
Re: Attack Marker - Colored markers which shows your teammates where to attack.
Wait, but what if you have a weapon with a scope? Does that mean every time you scope a marker appears? That would be very annoying.
Maybe you should have a double command to activate the marker. Maybe holding down the USE button and pressing the ZOOM button to show a marker? |
All times are GMT -4. The time now is 18:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.