Description
Adds tags to the Server name to include Gungame and Gungame addons. Gungame and addons (such as deathmatch) are checked every map change to see if they are still running, and will change the server name. If gungame is turned off the server name will be reset to it's original title.
The server name can also be updated at anytime with the command 'hostname_update'.
example:
"RideGuy's test server"
is turned into
"RideGuy's test server - GunGame | DM | 3kill lvlup | rand wpn | knife pro"
[size=18][b]Requirements:[/b][/size]
Eventscripts 1.5beta or higher
GunGame4
[size=18][b]Installation:[/b][/size]
Extract the attached zip file into your cstrike folder.
Add 'es_xload/es_xunload gungame4/addons/custom/gg_hostname_manager' to your 'cstrike\addons\eventscripts\gungame4\addons\custom' folder.
eg.
[syntax="es"]// GunGame Custom Addons Loader
// Load and unload all of your custom addons from this file.
//
block load
{
// Load your custom addons here.
// Single bullet awps EXAMPLE script
//es_xload gungame4/addons/custom/gg_awp_bullet
// Gives players the option to buy levels
//es_xload gungame4/addons/custom/gg_buy_level
// Auto reload when players get a kill
//es_xload gungame4/addons/custom/gg_reload
es_xload gungame4/addons/custom/gg_hostname_manager
}
block unload
{
// Unload your custom addons here.
// Single bullet awps EXAMPLE script
// es_xunload gungame4/addons/custom/gg_awp_bullet
// Gives players the option to buy levels
//es_xunload gungame4/addons/custom/gg_buy_level
// Auto reload when players get a kill
//es_xunload gungame4/addons/custom/gg_reload
es_xunload gungame4/addons/custom/gg_hostname_manager[/syntax]
[size=18][b]Adjustable settings:[/b][/size]
Config file is located at
cstrike/cfg/gungame/gg_hostname_manager/hm_config.cfg
[syntax="es"]// Edit text below to add feature tag to Server name.
// Feature tags will only be added if the feature is running.
// 0 = disable feature tag
// What to add when Gungame starts
hm_gungame "GunGame"
// Death Match
hm_death_match "DM"
// Turbo
hm_turbo "turbo"
// Multikill - Will show feature name and value.
// Use the symbol %1 if you want the value to show in the feature (ex. 3kill lvlup)
hm_multikill "%1kill lvlup"
// Random Weapon Order
hm_rand_wpn "rand wpn"
// Handicap
hm_handicap 0
// Knife Pro
hm_knife_pro "knife pro"
// Knife Elite
hm_knife_elite "knife elite"
// No Block
hm_no_block "no block"
// Extra Grenades
hm_xtra_nade 0
// Unlimited Grenades
hm_unl_nade 0
// Break between original Server name and gungame features
hm_break "-"
// Break between features
hm_feature_break "|"[/syntax]