HLSW Config Changes

From HLSW Wiki

Jump to: navigation, search

In this article changes to the HLSW Config Files like new addons/plugins or games can be made. The list is reviewed before a HLSW released to include the changes into the official release. Changes, which are included in a new hlsw version will be moved to page Approved HLSW Config Changes.

If you add a new game and would like to provide a game icon for it, please upload it to any webspace and just link the icon here. The icon should be at least have a size of 16x16 pixel and saved as an icon in the *.ico file format.

For new addons/plugins in AddOns.cfg the URL must link to an article within this wiki. Please create an article about your addon/plugin including a short description. Within this article you can link to your homepage.


Contents

AddOns.cfg

		[] = {
			['Type'] = 'Plugin';
			['Name'] = 'American Football Mod';
			['LongName'] = 'American Football Mod';
			['URL'] = 'http://forums.alliedmods.net/showthread.php?p=552563';
			['ParamRule'] = 'fm_version';
		};
['HL2'] = {
                [] = {
                        ['Type'] = 'AntiCheatTool';
                        ['Name'] = 'UCP';
                        ['LongName'] = 'Ultra Core Protector';
                        ['URL'] = 'http://wiki.hlsw.org/index.php/Ultra_Core_Protector_(UCP)';
                        ['ParamRule'] = 'ucp_version';
                };
        };
['HL2'] = {
                [] = {
			['Type'] = 'Plugin';
			['Name'] = 'ESL-Plugin';
			['LongName'] = 'ESL-Plugin';
			['URL'] = 'http://www.esl.eu/';
			['ParamRule'] = 'eslplugin_version';
		};
          };
['HL'] = {
                [] = {
                        ['Type'] = 'Plugin';
                        ['Name'] = 'xREDIRECT';
                        ['LongName'] = 'xREDIRECT - server redirect menu';
                        ['URL'] = 'https://forums.alliedmods.net/showthread.php?t=29886';
                        ['ParamRule'] = 'redirect_version';
                };
        };
['HL'] = {
                [] = {
                        ['Type'] = 'Ranking';
                        ['Name'] = 'HLX:CE';
                        ['LongName'] = 'HLstatsX:CE';
                        ['URL'] = 'http://www.hlxcommunity.com';
                        ['ParamRule'] = 'hlxce_version';
                };
        };
['HL2'] = {
                [] = {
                        ['Type'] = 'Ranking';
                        ['Name'] = 'HLX:CE';
                        ['LongName'] = 'HLstatsX:CE';
                        ['URL'] = 'http://www.hlxcommunity.com';
                        ['ParamRule'] = 'hlxce_version';
                };
        };

Call of Duty 2/4/5

['CoD2'] = {
		[] = {
			['Type'] = 'Plugin';
			['Name'] = 'MAM';
			['LongName'] = 'Manu Admin Mod';
			['URL'] = 'http://wiki.hlsw.org/index.php/Manu Admin Mod';
			['ParamRule'] = '_manuadminmod';
		};
};

Games.cfg and Query.cfg

This config is made for The game Land Of The Dead
i would appreciate if you would add it to the next version of HLSW

DOWNLOAD ICON AND NAME IT GameType_TK_LOTD


Games.cfg



	['_Custom:TKLOTD'] = {
        ['Name'] = 'Land Of The Dead';
		['URL'] = 'http://wiki.hlsw.net/index.php/Land_Of_The_Dead';
		['SupportedSince'] = 'v1.1';
		  
        ['InstallPathKeys'] = {
            [] = {
                ['RegKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Unreal Technology\Installed Apps\Land Of The Dead\Folder';
                ['FileName'] = 'LOTD.exe';
            };
            [] = {
                ['RegKey'] = 'HKEY_LOCAL_MACHINE\SOFTWARE\Unreal Technology\Installed Apps\Land Of The Dead Demo\Folder';
                ['FileName'] = 'LOTD.exe';
             };
        };
          
          ['DefaultFileName'] = 'LOTD.exe';
          ['FileNameSubDir'] = '\System';

          ['ConnectType'] = 'UT';
          ['Parameter'] = {
             ['Display'] = '<CONNECTADDRPORT>/index.unr';

             ['Password'] = vector('?password=<PASSWORD>');
             ['Connect'] = vector('<CONNECTADDRPORT>');
             ['Name'] = vector('?Name=<PLAYERNAME2>');
          };

          ['MapList'] = {
             ['Extension'] = 'dz';
             ['FileDetection'] = '\Levels\%.dz';
			 ['UnrealCache'] = '\Cache\cache.ini';
          };
			
//		  	['AddOns'] = 'LOTD';
			
		  ['PlayerName'] = {
			['File'] = 'System\User.ini';
			['Type'] = 'Begin';
			['Param'] = 'Name=';
		  };
		  

          ['Query'] = {
             ['LAN'] = {
                ['DefaultQueryPort'] = 7778;
                ['Protocol'] = 'UT2003';
             };

             ['Protocol'] = {
                [] = {
                   ['Protocol'] = 'GS';
                   ['Condition'] = '2PortDiffMore1';
                };
                [] = {
                   ['Protocol'] = 'UT2003';
                   ['Condition'] = 'None';
                };
             };
          };

		  ['Flags'] = set('Connect', 'GamersSearch');

          ['IconName'] = 'GameType_TK_LOTD';
       };


Query.cfg



	['GS'] = {
	
		['lod'] = {
		['Game'] = 'TKLOTD';
		['BotsPossible'] = true;
		['Rules2'] = false;
		};

ParamList.cfg

Rcon.cfg

Games.cfg (Delayed)

Vietcong (better support)

Example:

	['_Custom:Vietcong'] = {
		['Name'] = 'Vietcong';

		['InstallPathKeys'] = {
			[] = {
				['RegKey'] = 'HKEY_LOCAL_MACHINE\Software\Pterodon\Vietcong\InstallDir';
				['FileName'] = 'vietcong.exe';
			};
		};

		['DefaultFileName'] = 'vietcong.exe';

		['ConnectType'] = 'Parameter';
		['Parameter'] = {
//			['Default'] = '';
			['Password'] = vector('-password', '<PASSWORD>');
			['Name'] = vector('-pn', '<PLAYERNAME>');
			['Connect'] = vector('-ip', '<CONNECTIP>', '-hostport', '<CONNECTPORT>');
		};

//		['MapList'] = {
//			['Extension'] = '***';
//			['Type'] = 'CBF';
//		};

		['Query'] = {
			['LAN'] = {
				['DefaultQueryPort'] = 5425;
				['Protocol'] = 'GS';
			};

			['Protocol'] = {
				[0] = {
					['Protocol'] = 'GS';
					['Condition'] = 'None';
				};
			};
		};

		['Flags'] = set('Connect', 'GamersSearch');

		['Icon'] = 0000;
		['IconName'] = 'IDI_GAMETYPE_VIETCONG';
	};

For Addons.cfg

		[] = {
			['Type'] = 'AntiCheatTool';
			['Name'] = 'HB';
			['LongName'] = 'HradBa';
			['URL'] = 'http://wiki.hlsw.org/index.php/HradBa';
			['ParamRule']  = 'hbver';
		};

For ParamList.cfg

[] = {
         ['Name'] = 'Show FPS';
         ['Values'] = vector('-showfps', '1');
      };

For AddOns.cfg

		[] = {
			['Type'] = 'Plugin';
			['Name'] = 'AMX Super';
			['LongName'] = 'AMX Super All-in-One Commands';
			['URL'] = 'http://forums.alliedmods.net/showthread.php?t=19542&highlight=amx_super';
			['ParamRule'] = 'amx_super';
		};
Personal tools
Developer