AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Round end overlay (https://forums.alliedmods.net/showthread.php?t=134155)

dataviruset 08-01-2010 13:20

[ANY] Round end overlay
 
4 Attachment(s)
Round end overlay

Description:
A simple plugin that displays an overlay on the round_end event.
Right now it's only coded for CS:S and TF2, but it can easilly be ported to DoD:S, etc. Feel free to try out the "other" version.

ConVars:

Generic convars:
Quote:

// Round end overlay plugin version (unchangeable)
// -
// Default: "1.01"
sm_roundend_overlay_version "1.01"
CS:S specific convars:
Quote:

// What overlay to display if Ts win, relative to the materials-folder: path - path to overlay material without file extension (set downloading and precaching in addons/sourcemod/configs/overlay_downloads.ini)
// -
// Default: "overlays/t_win"
sm_roundend_overlay_t "overlays/t_win"

// What overlay to display if CTs win, relative to the materials-folder: path - path to overlay material without file extension (set downloading and precaching in addons/sourcemod/configs/overlay_downloads.ini)
// -
// Default: "overlays/ct_win"
sm_roundend_overlay_ct "overlays/ct_win"
TF2 specific convars:
Quote:

// What overlay to display if RED team wins, relative to the materials-folder: path - path to overlay material without file extension (set downloading and precaching in addons/sourcemod/configs/overlay_downloads.ini)
// -
// Default: "overlays/red_win"
sm_roundend_overlay_red "overlays/red_win"

// What overlay to display if BLUE team wins, relative to the materials-folder: path - path to overlay material without file extension (set downloading and precaching in addons/sourcemod/configs/overlay_downloads.ini)
// -
// Default: "overlays/blue_win"
sm_roundend_overlay_blue "overlays/blue_win"
"Other games" specific convars:
Quote:

// What overlay to display if TEAM1 wins, relative to the materials-folder: path - path to overlay material without file extension (set downloading and precaching in addons/sourcemod/configs/overlay_downloads.ini)
// -
// Default: "overlays/team1_win"
sm_roundend_overlay_team1 "overlays/team1_win"

// What overlay to display if TEAM2 wins, relative to the materials-folder: path - path to overlay material without file extension (set downloading and precaching in addons/sourcemod/configs/overlay_downloads.ini)
// -
// Default: "overlays/team2_win"
sm_roundend_overlay_team2 "overlays/team2_win"
Installation:
"Get Plugin" for your specific game, or the "other" version if not specified.
Download the overlay_downloads.ini and put it in addons/sourcemod/configs/
Configure the plugin convars and overlay downloads file to your satisfaction.
Restart your server or change map - done.

Changelog:
  • 1.00
    • Initial release.
  • 1.01
    • Added support for TF2 and "other games"
Thanks to:
Xenon for making me write this plugin.

McFlurry 08-01-2010 13:29

Re: [ANY] Round end overlay
 
Add FCVAR_DONTRECORD to your version cvar to prevent version from being recorded in the .cfg :3

dataviruset 08-01-2010 13:30

Re: [ANY] Round end overlay
 
Quote:

Originally Posted by McFlurry (Post 1258374)
Add FCVAR_DONTRECORD to your version cvar to prevent version from being recorded in the .cfg :3

What .cfg? :3

McFlurry 08-01-2010 13:32

Re: [ANY] Round end overlay
 
if you have AutoExecConfig in your OnPluginStart section it will create a cfg in cfg/sourcemod.

dataviruset 08-01-2010 13:34

Re: [ANY] Round end overlay
 
Quote:

Originally Posted by McFlurry (Post 1258381)
if you have AutoExecConfig in your OnPluginStart section it will create a cfg in cfg/sourcemod.

I know. But I don't have :grrr:

McFlurry 08-01-2010 13:38

Re: [ANY] Round end overlay
 
Yeah :wink: A picture of ct_win and t_win maybe?

dataviruset 08-01-2010 13:39

Re: [ANY] Round end overlay
 
Quote:

Originally Posted by McFlurry (Post 1258391)
Yeah :wink: A picture of ct_win and t_win maybe?

Perhaps. But I didn't have time ;)

Thraka 08-01-2010 17:29

Re: [ANY] Round end overlay
 
Yes picture.

alexip121093 08-02-2010 03:34

Re: [ANY] Round end overlay
 
This require sv_cheats 1 in left 4 dead 2 ?
I dont want to turn it on

dataviruset 08-02-2010 11:31

Re: [ANY] Round end overlay
 
Quote:

Originally Posted by alexip121093 (Post 1259068)
This require sv_cheats 1 in left 4 dead 2 ?
I dont want to turn it on

It didn't require sv_cheats 1 on CS:S, so I suppose it doesn't on L4D...


All times are GMT -4. The time now is 18:20.

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