Show gametypes.txt syntax highlighted
// ************************************************
//
// Mani Admin Plugin 2006
//
// Last Update V1.1.0zi + V1.2 Beta N RC 2
// 30th June 2006 UPDATE2
//
// This file contains definitions that allow
// the plugin to handle different mods a bit
// more elegantly. Under most circumstances
// they will not need to be changed unless
// the source mod author releases an update
// that requires changes to some of the offsets.
//
// www.mani-admin-plugin.com
//
//*************************************************
"gametypes.txt"
{
//
// Options for Counter Strike : Source mod
//
// This should match the description given by the
// server console command ma_game
//
"Counter-Strike: Source"
{
// Specify the linux game binary location
"linux_bin" "./cstrike/bin/server_i486.so"
// Set to 1 if spectator is allowed for this mod
"spectator_allowed" "1"
// The internal team index for spectators
// You can identify this by running ma_teamindex as a spectator
"spectator_index" "1"
// The group name to identify spectators when running a ma_ command
"spectator_group" "#SPEC"
// Set to 1 if amx style menus actually work on the mod
"hl1_menu_compatible" "1"
// Set to 1 if team play is allowed, 0 if not
"team_play" "1"
// Number of user messages to scan for. Too high a number will
// cause the server to crash. 22 okay for all mods at the moment
"max_messages" "23"
// Offsets for voice control, do not change
// If your mod has no voice server remove the
// voice_control section or comment it out
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
// Advanced visual effects offsets, linux should work most of the
// time depending on how the server binary has been compiled.
// The windows version will probably not work on non-valve mods.
// The command ma_offset and ma_offsetscan is not applicable here
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"armor" "CCSPlayer.m_ArmorValue"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"account" "CCSPlayer.m_iAccount"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "109"
"set_model_index" "9"
"teleport" "93"
"eye_position" "108"
"my_combat_character" "62"
"get_velocity" "117"
"ignite" "173"
"weapon_drop" "204"
"remove_player_item" "211"
"get_weapon_slot" "209"
"give_ammo" "198"
"get_primary_ammo_type" "269"
"get_secondary_ammo_type" "270"
"weapon_get_name" "263"
"weapon_switch" "205"
"give_item" "307"
"user_cmds" "323"
"map_desc" "13"
"commit_suicide" "333"
}
// Setup team structure for mod
"teams"
{
// Handle terrorist team
"terrorist"
{
// Terrorist team index (use ma_teamindex to find what team index you are on)
"index" "2"
// Spawn points classname
"spawnpoint_class_name" "info_player_terrorist"
// Log name that is used in your logs for say
// events
"log_name" "TERRORIST"
// Translation number found in english.cfg
"translation_index" "900"
// Abbrevated translation number found in english.cfg
"short_translation_index" "901"
// Group ID used when running a ma_ command that affect players
"group" "#T"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_t"
"reserved_skin" "reserved_t"
"public_skin" "public_t"
}
// Handle terrorist team
"counter-terrorist"
{
// CT team index (use ma_teamindex to find what team index you are on)
"index" "3"
// Spawn points classname
"spawnpoint_class_name" "info_player_counterterrorist"
// Log name that is used in your logs for say
// events
"log_name" "CT"
// Translation number found in english.cfg
"translation_index" "902"
// Abbrevated translation number found in english.cfg
"short_translation_index" "903"
// Group ID used when running a ma_ command that affect players
"group" "#CT"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_ct"
"reserved_skin" "reserved_ct"
"public_skin" "public_ct"
}
}
}
//
// Options for HL2 Deathmatch
//
// This one is a bit weird. When the server starts it reports that
// the game is called "Half-Life 2 Deathmatch". When the mp_teamplay cvar
// is setup in server.cfg the game name changes to either "Deathmatch" or
// "Team Deathmatch" which is why there are 3 mod definitions setup for it :/
//
// When running either it is recommended that you add the command
// ma_forcegametype to the end of your server.cfg file or anywhere after the
// mp_teamplay cvar has been set. ma_forcegametype will prompt the plugin to
// reload this file and re-configure itself then reload the skins.
//
"Half-Life 2 Deathmatch"
{
"linux_bin" "./hl2mp/bin/server_i486.so"
"spectator_allowed" "0"
"hl1_menu_compatible" "0"
"team_play" "0"
"max_messages" "22"
"cteam_match" "fo_player_deathmatch"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "119"
"set_model_index" "9"
"teleport" "99"
"eye_position" "118"
"give_item" "328"
"my_combat_character" "68"
"get_velocity" "127"
"ignite" "189"
"user_cmds" "345"
"map_desc" "14"
}
"teams"
{
// As this is only a single team mod (until mp_teamplay 1) we only need one team
"Player"
{
// Single team mods use 0 as their team index
"index" "0"
"translation_index" "908"
"short_translation_index" "909"
"group" "#R"
// Spawn points classname
"spawnpoint_class_name" "info_player_deathmatch"
// Log name that is used in your logs for say
// events
"log_name" "REBEL"
// Only one set of skins name admin.txt, reserved.txt and public.txt
// with directories /admin /reserved and /public
"admin_skin" "admin"
"reserved_skin" "reserved"
"public_skin" "public"
}
}
}
// For HL2 Deathmatch when mp_teamplay is set to 0 or not set at all the
// game type turns to single team deathmatch mode. In which case we have
// the same as above for settings
//
"Deathmatch"
{
"linux_bin" "./hl2mp/bin/server_i486.so"
"spectator_allowed" "0"
"spectator_index" "0"
"spectator_group" "#SPEC"
"hl1_menu_compatible" "0"
"team_play" "0"
"max_messages" "22"
"cteam_match" "fo_player_deathmatch"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "119"
"set_model_index" "9"
"teleport" "99"
"eye_position" "118"
"give_item" "328"
"my_combat_character" "68"
"get_velocity" "127"
"ignite" "189"
"user_cmds" "345"
"map_desc" "14"
}
"teams"
{
"Player"
{
"index" "0"
"translation_index" "908"
"short_translation_index" "909"
"group" "#R"
// Spawn points classname
"spawnpoint_class_name" "info_player_deathmatch"
// Log name that is used in your logs for say
// events
"log_name" "REBEL"
"admin_skin" "admin"
"reserved_skin" "reserved"
"public_skin" "public"
}
}
}
// For HL2 TEAM Deathmatch when mp_teamplay is set to 1 or not set at all the
// game type turns to multi team deathmatch mode. In which case we have
// to setup multiple team definitions for Combines and Rebels.
//
"Team Deathmatch"
{
"linux_bin" "./hl2mp/bin/server_i486.so"
"spectator_allowed" "0"
"spectator_index" "0"
"spectator_group" "#SPEC"
"hl1_menu_compatible" "0"
"team_play" "1"
"max_messages" "22"
"cteam_match" "fo_player_deathmatch"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "119"
"set_model_index" "9"
"teleport" "99"
"eye_position" "118"
"give_item" "328"
"my_combat_character" "68"
"get_velocity" "127"
"ignite" "189"
"user_cmds" "345"
"map_desc" "14"
}
"teams"
{
"combine"
{
"index" "2"
"translation_index" "906"
"short_translation_index" "907"
"group" "#C"
// Spawn points classname
"spawnpoint_class_name" "info_player_combine"
// Log name that is used in your logs for say
// events
"log_name" "COMBINE"
"admin_skin" "admin_c"
"reserved_skin" "reserved_c"
"public_skin" "public_c"
}
"rebel"
{
"index" "3"
"translation_index" "908"
"short_translation_index" "909"
"group" "#R"
// Spawn points classname
"spawnpoint_class_name" "info_player_rebel"
// Log name that is used in your logs for say
// events
"log_name" "COMBINE"
"admin_skin" "admin_r"
"reserved_skin" "reserved_r"
"public_skin" "public_r"
}
}
}
//
// Half-Life 2 Capture the Flag Source mod options. Again this is a multi-team mod.
//
"Half-Life 2 CTF"
{
"linux_bin" "./hl2ctf/bin/server_i486.so"
"spectator_allowed" "1"
"spectator_index" "1"
"spectator_group" "#SPEC"
"hl1_menu_compatible" "1"
"team_play" "1"
"max_messages" "22"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1"
"enable_win" "1"
"vfunc_Offset" "12"
"code_Offset" "107"
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "107"
"set_model_index" "9"
"teleport" "91"
"eye_position" "106"
"give_item" "295"
"my_combat_character" "61"
"get_velocity" "115"
"ignite" "171"
"user_cmds" "310"
"map_desc" "14"
}
"teams"
{
"combine"
{
"index" "2"
"translation_index" "906"
"short_translation_index" "907"
"group" "#C"
// Spawn points classname
"spawnpoint_class_name" "info_player_combine"
// Log name that is used in your logs for say
// events
"log_name" "Combine"
"admin_skin" "admin_c"
"reserved_skin" "reserved_c"
"public_skin" "public_c"
}
"rebel"
{
"index" "3"
"translation_index" "908"
"short_translation_index" "909"
"group" "#R"
// Spawn points classname
"spawnpoint_class_name" "info_player_rebel"
// Log name that is used in your logs for say
// events
"log_name" "Rebels"
"admin_skin" "admin_r"
"reserved_skin" "reserved_r"
"public_skin" "public_r"
}
}
}
//
// Half-Life 2 Single team source mod currently in beta at time of testing.
//
"Hidden : Source B3"
{
"linux_bin" "./hidden/bin/server_i486.so"
"spectator_allowed" "1"
"spectator_index" "1"
"spectator_group" "#SPEC"
"hl1_menu_compatible" "0"
"team_play" "0"
"max_messages" "22"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1"
"enable_win" "1"
"vfunc_Offset" "12"
"code_Offset" "107"
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "107"
"set_model_index" "9"
"teleport" "91"
"eye_position" "106"
"give_item" "349"
"my_combat_character" "61"
"get_velocity" "115"
"ignite" "171"
"weapon_drop" "201"
"user_cmds" "364"
"map_desc" "14"
}
"teams"
{
"Player"
{
"index" "0"
"translation_index" "910"
"short_translation_index" "911"
"group" "#M"
"admin_skin" "admin"
"reserved_skin" "reserved"
"public_skin" "public"
}
}
}
"Hidden : Source B4"
{
"linux_bin" "./hidden/bin/server_i486.so"
"spectator_allowed" "1"
"spectator_index" "1"
"spectator_group" "#SPEC"
"hl1_menu_compatible" "0"
"team_play" "0"
"max_messages" "22"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1"
"enable_win" "1"
"vfunc_Offset" "12"
"code_Offset" "107"
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "107"
"set_model_index" "9"
"teleport" "91"
"eye_position" "106"
"give_item" "349"
"my_combat_character" "61"
"get_velocity" "115"
"ignite" "171"
"weapon_drop" "201"
"user_cmds" "364"
"map_desc" "14"
}
"teams"
{
"Player"
{
"index" "0"
"translation_index" "910"
"short_translation_index" "911"
"group" "#M"
"admin_skin" "admin"
"reserved_skin" "reserved"
"public_skin" "public"
}
}
}
"Dystopia"
{
// Specify the linux game binary location
"linux_bin" "./dystopia/bin/server_i486.so"
// Set to 1 if spectator is allowed for this mod
"spectator_allowed" "1"
// The internal team index for spectators
// You can identify this by running ma_teamindex as a spectator
"spectator_index" "1"
// The group name to identify spectators when running a ma_ command
"spectator_group" "#SPEC"
// Set to 1 if amx style menus actually work on the mod
"hl1_menu_compatible" "0"
// Set to 1 if team play is allowed, 0 if not
"team_play" "1"
// Number of user messages to scan for. Too high a number will
// cause the server to crash. 22 okay for all mods at the moment
"max_messages" "22"
// Disable web browsing within game
"browse_allowed" "0"
// Offsets for voice control, do not change
// If your mod has no voice server remove the
// voice_control section or comment it out
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
// Advanced visual effects offsets, linux should work most of the
// time depending on how the server binary has been compiled.
// The windows version will probably not work on non-valve mods.
// The command ma_offset and ma_offsetscan is not applicable here
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "108"
"set_model_index" "9"
"teleport" "92"
"eye_position" "107"
"give_item" "296"
"my_combat_character" "61"
"get_velocity" "116"
"ignite" "172"
"weapon_drop" "202"
"user_cmds" "311"
"map_desc" "14"
}
// Setup team structure for mod
"teams"
{
// Handle Punks team
"punks"
{
// Punks team index (use ma_teamindex to find what team index you are on)
"index" "2"
// Spawn points classname
"spawnpoint_class_name" "info_player_punks"
// Log name that is used in your logs for say
// events
"log_name" "Punks"
// Translation number found in english.cfg
"translation_index" "914"
// Abbrevated translation number found in english.cfg
"short_translation_index" "915"
// Group ID used when running a ma_ command that affect players
"group" "#P"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_p"
"reserved_skin" "reserved_p"
"public_skin" "public_p"
}
// Handle corps team
"corps"
{
// Corps team index (use ma_teamindex to find what team index you are on)
"index" "3"
// Spawn points classname
"spawnpoint_class_name" "info_player_corps"
// Log name that is used in your logs for say
// events
"log_name" "Punks"
// Translation number found in english.cfg
"translation_index" "916"
// Abbrevated translation number found in english.cfg
"short_translation_index" "917"
// Group ID used when running a ma_ command that affect players
"group" "#C"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_c"
"reserved_skin" "reserved_c"
"public_skin" "public_c"
}
}
}
//
// Options for Day of Defeat : Source
//
// Note that there are two of these (Day of Defeat & Day of Defeat: Source)
// and they should both contain the same config setup.
//
//
// This should match the description given by the
// server console command ma_game
//
"Day of Defeat"
{
// Specify the linux game binary location
"linux_bin" "./dod/bin/server_i486.so"
// Set to 1 if spectator is allowed for this mod
"spectator_allowed" "1"
// The internal team index for spectators
// You can identify this by running ma_teamindex as a spectator
"spectator_index" "1"
// The group name to identify spectators when running a ma_ command
"spectator_group" "#SPEC"
// Set to 1 if amx style menus actually work on the mod
"hl1_menu_compatible" "1"
// Set to 1 if team play is allowed, 0 if not
"team_play" "1"
// Dod specific restrictions on certain effects, do not change these
// or you will get crashes
"advert_decal_allowed" "0"
"death_beam_allowed" "0"
// Number of user messages to scan for. Too high a number will
// cause the server to crash. 22 okay for all mods at the moment
"max_messages" "22"
// Offsets for voice control, do not change
// If your mod has no voice server remove the
// voice_control section or comment it out
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
// Advanced visual effects offsets, linux should work most of the
// time depending on how the server binary has been compiled.
// The windows version will probably not work on non-valve mods.
// The command ma_offset and ma_offsetscan is not applicable here
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBaseEntity.movetype"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "119"
"set_model_index" "9"
"teleport" "99"
"eye_position" "118"
"give_item" "328"
"my_combat_character" "68"
"get_velocity" "127"
"ignite" "189"
"weapon_drop" "220"
"user_cmds" "345"
"map_desc" "14"
"remove_player_item" "227"
"get_weapon_slot" "225"
"give_ammo" "214"
}
// Setup team structure for mod
"teams"
{
// Handle Allies team
"allies"
{
// Terrorist team index (use ma_teamindex to find what team index you are on)
"index" "2"
// Spawn points classname
"spawnpoint_class_name" "info_player_allies"
// Log name that is used in your logs for say
// events
"log_name" "Allies"
// Translation number found in english.cfg
"translation_index" "918"
// Abbrevated translation number found in english.cfg
"short_translation_index" "919"
// Group ID used when running a ma_ command that affect players
"group" "#A"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_a"
"reserved_skin" "reserved_a"
"public_skin" "public_a"
}
// Handle Axis team
"axis"
{
// X team index (use ma_teamindex to find what team index you are on)
"index" "3"
// Spawn points classname
"spawnpoint_class_name" "info_player_axis"
// Log name that is used in your logs for say
// events
"log_name" "Axis"
// Translation number found in english.cfg
"translation_index" "920"
// Abbrevated translation number found in english.cfg
"short_translation_index" "921"
// Group ID used when running a ma_ command that affect players
"group" "#X"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_x"
"reserved_skin" "reserved_x"
"public_skin" "public_x"
}
}
}
//
// Options for Day of Defeat : Source (Part 2)
//
"Day of Defeat: Source"
{
// Specify the linux game binary location
"linux_bin" "./dod/bin/server_i486.so"
// Set to 1 if spectator is allowed for this mod
"spectator_allowed" "1"
// The internal team index for spectators
// You can identify this by running ma_teamindex as a spectator
"spectator_index" "1"
// The group name to identify spectators when running a ma_ command
"spectator_group" "#SPEC"
// Set to 1 if amx style menus actually work on the mod
"hl1_menu_compatible" "1"
// Set to 1 if team play is allowed, 0 if not
"team_play" "1"
// Dod specific restrictions on certain effects, do not change these
// or you will get crashes
"advert_decal_allowed" "0"
"death_beam_allowed" "0"
// Number of user messages to scan for. Too high a number will
// cause the server to crash. 22 okay for all mods at the moment
"max_messages" "22"
// Offsets for voice control, do not change
// If your mod has no voice server remove the
// voice_control section or comment it out
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
// Advanced visual effects offsets, linux should work most of the
// time depending on how the server binary has been compiled.
// The windows version will probably not work on non-valve mods.
// The command ma_offset and ma_offsetscan is not applicable here
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBaseEntity.movetype"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "119"
"set_model_index" "9"
"teleport" "99"
"eye_position" "118"
"give_item" "328"
"my_combat_character" "68"
"get_velocity" "127"
"ignite" "189"
"weapon_drop" "220"
"user_cmds" "345"
"map_desc" "14"
"remove_player_item" "227"
"get_weapon_slot" "225"
"give_ammo" "214"
}
// Setup team structure for mod
"teams"
{
// Handle Allies team
"allies"
{
// Terrorist team index (use ma_teamindex to find what team index you are on)
"index" "2"
// Spawn points classname
"spawnpoint_class_name" "info_player_allies"
// Log name that is used in your logs for say
// events
"log_name" "Allies"
// Translation number found in english.cfg
"translation_index" "918"
// Abbrevated translation number found in english.cfg
"short_translation_index" "919"
// Group ID used when running a ma_ command that affect players
"group" "#A"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_a"
"reserved_skin" "reserved_a"
"public_skin" "public_a"
}
// Handle Axis team
"axis"
{
// X team index (use ma_teamindex to find what team index you are on)
"index" "3"
// Spawn points classname
"spawnpoint_class_name" "info_player_axis"
// Log name that is used in your logs for say
// events
"log_name" "Axis"
// Translation number found in english.cfg
"translation_index" "920"
// Abbrevated translation number found in english.cfg
"short_translation_index" "921"
// Group ID used when running a ma_ command that affect players
"group" "#X"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_x"
"reserved_skin" "reserved_x"
"public_skin" "public_x"
}
}
}
//
// Empires (part 1)
//
"Empires"
{
// Specify the linux game binary location
"linux_bin" "./empires/bin/server_i486.so"
// Set to 1 if spectator is allowed for this mod
"spectator_allowed" "1"
// The internal team index for spectators
// You can identify this by running ma_teamindex as a spectator
"spectator_index" "1"
// The group name to identify spectators when running a ma_ command
"spectator_group" "#SPEC"
// Set to 1 if amx style menus actually work on the mod
"hl1_menu_compatible" "0"
// Set to 1 if team play is allowed, 0 if not
"team_play" "1"
// Number of user messages to scan for. Too high a number will
// cause the server to crash. 22 okay for all mods at the moment
"max_messages" "22"
// Offsets for voice control, do not change
// If your mod has no voice server remove the
// voice_control section or comment it out
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
// Advanced visual effects offsets, linux should work most of the
// time depending on how the server binary has been compiled.
// The windows version will probably not work on non-valve mods.
// The command ma_offset and ma_offsetscan is not applicable here
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "110"
"set_model_index" "9"
"teleport" "94"
"eye_position" "109"
"give_item" "298"
"my_combat_character" "61"
"get_velocity" "118"
"ignite" "174"
"weapon_drop" "204"
"user_cmds" "313"
"map_desc" "14"
}
// Setup team structure for mod
"teams"
{
// Handle Northern Faction team
"northern_faction"
{
// Terrorist team index (use ma_teamindex to find what team index you are on)
"index" "2"
// Spawn points classname
"spawnpoint_class_name" "emp_info_player_NF"
// Log name that is used in your logs for say
// events
"log_name" "Northern Factor"
// Translation number found in english.cfg
"translation_index" "922"
// Abbrevated translation number found in english.cfg
"short_translation_index" "923"
// Group ID used when running a ma_ command that affect players
"group" "#NF"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_nf"
"reserved_skin" "reserved_nf"
"public_skin" "public_nf"
}
// Handle Brenodi Empire team
"brenodi_empire"
{
// X team index (use ma_teamindex to find what team index you are on)
"index" "3"
// Spawn points classname
"spawnpoint_class_name" "emp_info_player_BE"
// Log name that is used in your logs for say
// events
"log_name" "Benodi_Empire"
// Translation number found in english.cfg
"translation_index" "924"
// Abbrevated translation number found in english.cfg
"short_translation_index" "925"
// Group ID used when running a ma_ command that affect players
"group" "#BE"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_be"
"reserved_skin" "reserved_be"
"public_skin" "public_be"
}
}
}
//
// Empires (part 2)
//
"Empires v1.05 Beta"
{
// Specify the linux game binary location
"linux_bin" "./empires/bin/server_i486.so"
// Set to 1 if spectator is allowed for this mod
"spectator_allowed" "1"
// The internal team index for spectators
// You can identify this by running ma_teamindex as a spectator
"spectator_index" "1"
// The group name to identify spectators when running a ma_ command
"spectator_group" "#SPEC"
// Set to 1 if amx style menus actually work on the mod
"hl1_menu_compatible" "0"
// Set to 1 if team play is allowed, 0 if not
"team_play" "1"
// Number of user messages to scan for. Too high a number will
// cause the server to crash. 22 okay for all mods at the moment
"max_messages" "22"
// Offsets for voice control, do not change
// If your mod has no voice server remove the
// voice_control section or comment it out
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
// Advanced visual effects offsets, linux should work most of the
// time depending on how the server binary has been compiled.
// The windows version will probably not work on non-valve mods.
// The command ma_offset and ma_offsetscan is not applicable here
"advanced_effects"
{
"enable_linux" "1" // Allow linux advanced effects
"enable_win" "1" // Allow windows advanced effects
"vfunc_Offset" "12" // Windows virtual function offset (Lance VOrgin)
"code_Offset" "107" // Windows code index offset (Lance VOrgin)
}
"props"
{
"health" "CBasePlayer.m_iHealth"
"render_mode" "CBaseEntity.m_nRenderMode"
"render_fx" "CBaseEntity.m_nRenderFX"
"colour" "CBaseEntity.m_clrRender"
"move_type" "CBasePlayer.m_MoveType"
"model_index" "CBaseEntity.m_nModelIndex"
"vec_origin" "CBaseEntity.m_vecOrigin"
"ang_rotation" "CBaseEntity.m_angRotation"
}
"vfuncs"
{
"eye_angles" "110"
"set_model_index" "9"
"teleport" "94"
"eye_position" "109"
"give_item" "298"
"my_combat_character" "61"
"get_velocity" "118"
"ignite" "174"
"weapon_drop" "204"
"user_cmds" "313"
"map_desc" "14"
}
// Setup team structure for mod
"teams"
{
// Handle Northern Faction team
"northern_faction"
{
// Terrorist team index (use ma_teamindex to find what team index you are on)
"index" "2"
// Spawn points classname
"spawnpoint_class_name" "emp_info_player_NF"
// Log name that is used in your logs for say
// events
"log_name" "Northern Factor"
// Translation number found in english.cfg
"translation_index" "922"
// Abbrevated translation number found in english.cfg
"short_translation_index" "923"
// Group ID used when running a ma_ command that affect players
"group" "#NF"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_nf"
"reserved_skin" "reserved_nf"
"public_skin" "public_nf"
}
// Handle Brenodi Empire team
"brenodi_empire"
{
// X team index (use ma_teamindex to find what team index you are on)
"index" "3"
// Spawn points classname
"spawnpoint_class_name" "emp_info_player_BE"
// Log name that is used in your logs for say
// events
"log_name" "Benodi_Empire"
// Translation number found in english.cfg
"translation_index" "924"
// Abbrevated translation number found in english.cfg
"short_translation_index" "925"
// Group ID used when running a ma_ command that affect players
"group" "#BE"
// Setup skin config file names and directories to search under /skins/
"admin_skin" "admin_be"
"reserved_skin" "reserved_be"
"public_skin" "public_be"
}
}
}
//
// If the mani admin plugin cannot find a template above to match
// the source mod that is running it will try and use this one as a default.
//
// Core default single team mod.
//
"Unknown Mod"
{
"spectator_allowed" "1"
"spectator_index" "1"
"spectator_group" "#SPEC"
"hl1_menu_compatible" "0"
"team_play" "0"
"max_messages" "22"
"voice_control"
{
"linux_offset" "3"
"win_offset" "2"
}
// Offsets for spray hook control, do not change
"spray_hook_control"
{
"linux_offset" "29"
"win_offset" "28"
}
// Offsets for extra spawn points hook
"spawn_point_control"
{
"linux_offset" "2"
"win_offset" "2"
}
"advanced_effects"
{
"enable_linux" "1"
"enable_win" "0"
"vfunc_Offset" "12"
"code_Offset" "110"
}
"teams"
{
"Player"
{
"index" "0"
"translation_index" "908"
"short_translation_index" "909"
"group" "#R"
"admin_skin" "admin"
"reserved_skin" "reserved"
"public_skin" "public"
}
}
}
}
See more files for this project here