View Single Post
Plugin Info:     Modification:          Category:          Approver:   Exolent[jNr] (178)
Veteran Member
Join Date: Jul 2006
Location: Germany (GMT+1)
Old 11-04-2008 , 17:43   Tripmine Indicator Version 1.2
Reply With Quote #1

Tripmine Indicator Version 1.2

This plugin, when turned on, gives you statistics about how many tripmines
are in the game, and how many of these are yours and how many of these are
owned by the map/other players. (See screenshot snippet below)

mp_mineindicator - 1 (Default) enables - 0 disables. - Enable the indicator?
mp_freemines - 1 (Default) enables - 0 disables. - Give the player infinite mines?

This plugin has been tested with multiple players and always outputs correct
values. It has been optimized for minimal CPU and network usage.

(Made in 800*600 - Works with all resolutions)

This should work on all modifications which still use tripmines.
Tested games:
- Half-Life (Plugin works)
- Sven Co-op 3.0 (Plugin works)
- Sven Co-op 4.0 Beta (Plugin works)

This plugin is a portion of a bigger plugin I planned to make.

  • V. 1.0: Initial Release
  • V. 1.1: Removed "include <engine>", since it is not needed. (Was a leftover)
  • V. 1.2: Now using fakemeta_util to hand out unlimited tripmines. This seems to fix the satchel issue. Also made code shorter where possible, increased default amount of slots for edicts and changed the name of a variable, because it was misleading.
Attached Files
File Type: sma Get Plugin or Get Source (tripmine_indicator.sma - 1152 views - 3.8 KB)

Last edited by Silencer123; 06-19-2009 at 18:10. Reason: Updated
Silencer123 is offline