Procházet zdrojové kódy

CS2D xml update

- Fixed the file name with correct suffix
- Fixed the game name, because developers decided to changed from 'Counter-Strike 2D' to 'CS2D'
- Added RCON password, host name and map to the startup parameters
- Removed location of maps remove, because it is not necessery to have it since server uses 'sys/mapcycle.cfg' map list file
- Removed RCON support from Logs since it is not compatible with the game server
- Cosmetic corrections
- Created Win32 version too
rocco27 před 9 roky
rodič
revize
01783298f2

binární
modules/config_games/server_configs/images/icons/cs2d.png


+ 22 - 0
modules/config_games/server_configs/modules/config_games/server_configs/cs2d_linux32.xml

@@ -0,0 +1,22 @@
+<game_config>
+  <game_key>cs2d_linux32</game_key>
+  <protocol>lgsl</protocol>
+  <lgsl_query_name>cs2d</lgsl_query_name>
+  <game_name>CS2D</game_name>
+  <server_exec_name>cs2d_dedicated</server_exec_name>
+  <cli_template>%PORT% %PLAYERS% %CONTROL_PASSWORD% %HOSTNAME% %MAP%</cli_template>
+  <cli_params>
+    <cli_param id="PORT" cli_string="-port" options="s" />
+    <cli_param id="PLAYERS" cli_string="-maxplayers" options="s" />
+    <cli_param id="CONTROL_PASSWORD" cli_string="-rcon" options="s" />
+    <cli_param id="HOSTNAME" cli_string="-name" options="sq" />
+    <cli_param id="MAP" cli_string="-map" options="s" />
+  </cli_params>
+  <map_list>sys/mapcycle.cfg</map_list>
+  <max_user_amount>32</max_user_amount>
+  <mods>
+    <mod key="default">
+      <name>None</name>
+    </mod>
+  </mods>
+</game_config>

+ 22 - 0
modules/config_games/server_configs/modules/config_games/server_configs/cs2d_win32.xml

@@ -0,0 +1,22 @@
+<game_config>
+  <game_key>cs2d_win32</game_key>
+  <protocol>lgsl</protocol>
+  <lgsl_query_name>cs2d</lgsl_query_name>
+  <game_name>CS2D</game_name>
+  <server_exec_name>cs2d_dedicated.exe</server_exec_name>
+  <cli_template>%PORT% %PLAYERS% %CONTROL_PASSWORD% %HOSTNAME% %MAP%</cli_template>
+  <cli_params>
+    <cli_param id="PORT" cli_string="-port" options="s" />
+    <cli_param id="PLAYERS" cli_string="-maxplayers" options="s" />
+    <cli_param id="CONTROL_PASSWORD" cli_string="-rcon" options="s" />
+    <cli_param id="HOSTNAME" cli_string="-name" options="sq" />
+    <cli_param id="MAP" cli_string="-map" options="s" />
+  </cli_params>
+  <map_list>sys/mapcycle.cfg</map_list>
+  <max_user_amount>32</max_user_amount>
+  <mods>
+    <mod key="default">
+      <name>None</name>
+    </mod>
+  </mods>
+</game_config>