Add stuff

This commit is contained in:
Rim 2023-08-13 17:40:07 -04:00
parent 476e108753
commit d5dd245c59
36 changed files with 7667 additions and 23 deletions

View File

@ -1,5 +1,18 @@
# XLabs
[![patreon](https://img.shields.io/badge/patreon-support-blue.svg?logo=patreon)](https://www.patreon.com/xlabsproject)
[![discord](https://img.shields.io/endpoint?url=https://momo5502.com/iw4x/members-badge.php)](https://discord.gg/sKeVmR3)
<p align="center">
<img src="assets/github/banner-s1x.png?raw=true" />
</p>
<br/>
<p align="center">
<img alig src="assets/github/banner-iw6x.png?raw=true"/>
</p>
## Installation
### Prerequisites: Installing Git
@ -12,34 +25,18 @@ If you don't have `git` installed on your machine, follow these steps:
- During the installation, you will be asked if you want to add Git to your system's PATH environment variable. Ensure you choose the option to do so. This allows you to use Git from the command line without specifying its full path.
4. After installation, open a terminal or command prompt and type `git --version` to ensure Git is correctly installed.
### Installation Steps
### Download
Clone the Git repo. Do NOT download it as ZIP, that won't work.
1. **Direct Download**
- Click on `Code` and then `Download ZIP`.
- Extract the `.zip` file to a location of your choice.
**OR**
1. **Using Git**
- Open a terminal or command prompt.
- Run the following command:
```
git clone https://github.com/YourUsername/GameClientRepo.git
git clone https://github.com/Ahrimdon/test-repo.git
```
### Setting Up
1. Move the `xlabs` folder to your local app data directory.
> **Note**: Ensure the game client points to the correct local app data directory for proper functionality.
[![patreon](https://img.shields.io/badge/patreon-support-blue.svg?logo=patreon)](https://www.patreon.com/xlabsproject)
[![discord](https://img.shields.io/endpoint?url=https://momo5502.com/iw4x/members-badge.php)](https://discord.gg/sKeVmR3)
### Installation
<p align="center">
<img src="assets/github/banner-s1x.png?raw=true" />
</p>
<br/>
<p align="center">
<img alig src="assets/github/banner-iw6x.png?raw=true"/>
</p>
1. Move the `xlabs` folder from `localappdata/xlabs` to your local app data directory.
> **Note**: On Windows, press `Win + R`, type `%localappdata%`, click ok.
2. Extract `IW4XLauncher`

965
iw4x/CHANGELOG.md Normal file
View File

@ -0,0 +1,965 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog v0.3.0](http://keepachangelog.com/en/0.3.0/).
## r4303 - 2023-05-17
### Added
- Add `dumpZone` ZoneBuilder command (#1033)
- Add `FreezeControlsAllowLook` GSC method (#1026)
### Fixed
- The sound fix was removed as the bug no longer happens (#1007)
- Fix crash when the opening the "server info" menu on an empty server list (#1041)
- Fix patch that was causing the game thread to deadlock (#1038)
## r4251 - 2023-05-03
### Added
- Add GSC client field `ping` as a read-only field (#1002)
- Add GSC client field `address` as a read-only field (#1003)
- Add to the iw4x-rawfiles `common_scripts\utility` GSC script `getIP` function.
### Fixed
- `getPing` function in `common_scripts\utility` now works.
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## r4246 - 2023-05-03
### Added
- Add to the iw4x-rawfiles `common_scripts\utility` GSC script `setPing` & `getPing` functions for backward compatibility.
### Fixed
- Fix bug with Steam Proxy (#991)
- Fix bug with the `say` GSC notify in regards to hidden chat messages (#989)
### Removed
- SetPing GSC method (#998)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## r4226 - 2023-04-26
### Changed
- Chat system will go back to using `SV_CMD_CAN_IGNORE` commands (#972)
### Security
- Check the address of the sender for the `print` OOB packet (#969)
- Check the address of the sender for the `voice` OOB packet (#973)
### Fixed
- Fix bug with how `sv_mapRotationCurrent` is parsed (#977)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## r4208 - 2023-04-22
### Changed
- `Noclip` GSC method does not require `sv_cheats` to be set to "1" for it to work (#962)
- `Ufo` GSC method does not require `sv_cheats` to be set to "1" for it to work (#962)
### Fixed
- Fix `InfoString` output (#961)
- Fix parsing of the server info (client-side) (#953)
- Fix bug in the /info TCP endpoint (#955)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## r4193 - 2023-04-19
### Added
- Add `LogString` GSC function (#895)
- Add `LogString` GSC method (#895)
- Add `sv_replaceTestClients` Dvar (#930)
### Changed
- `sv_mapRotationCurrent` supports `exec` directive for executing cfg scripts from the `game_settings` folder (#916)
- `SetPing` GSC method is now deprecated (#903)
### Security
- Fix DOS exploit in the network protocol of the game (#942)
### Fixed
- `sv_privatePassword` will work as intended (#908)
- Fix crash when loading bots.txt file (#927)
### Removed
- Remove `GetIp` GSC method (#903)
- Remove `GetPing` GSC method (#903)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## [0.7.9] - 2023-03-31
### Added
- Game scripts can be loaded from the `scripts/mp`, `scripts/mp/<map name>` and `scripts/mp/<game type>` folders (#859)
- Add `ReadStream` GSC function (#862)
- Add `IString` GSC function (#877)
### Changed
- Test Clients will no longer receive names from the Xlabs Patreon website. The old behaviour was restored (#852)
- Enabled `OpenFile` GSC function (#862)
- Enabled `CloseFile` GSC function (#862)
- Chat system will now use `SV_CMD_RELIABLE` commands to mitigate message duplication (#873)
- The built-in GSC compiler no longer throws fatal errors when overriding a built-in function or method (IW3 behaviour) (#880)
- `CastFloat` GSC function was renamed to `Float` (#880)
### Fixed
- Fix bug where knife lounges would not work with a gamepad (#848)
- Fix rare RCon crash (#861)
- Fix bug where `sv_RandomBotNames` stopped working (#876)
- Fix crash caused by "Mongoose" (dependency) (#874)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## [0.7.8] - 2023-03-17
### Added
- Clients can unprotect "saved" Dvars using the command line argument `-unprotect-dvars` (#694)
- Clients can protect all Dvars from being modified by the server using the command line argument `-protect-dvars` (#823)
- Add helpful information to script-related errors. Must set `developer` Dvar to "2" and `developer_script` Dvar to "1" (#721)
- Add command line `-disable-mongoose` argument to disable IW4x's built-in webserver (#728)
- Add command line `-disable-rate-limit-check` argument to disable the rate check on RCon requests (#769)
- GUID of muted clients is saved to the `muted-users.json` file in the `userraw` folder (#732)
- Add `sv_nextMap` Dvar (#736)
- Add `elifdef` and `elifndef` directives to the menu preprocessor (#747)
- Add `r_drawRunners` Dvar (#758)
- Add `r_drawLights` Dvar (#814)
- Add Discord Rich Presence (#761)
- Add `rcon_timeout` Dvar (#769)
- Add `sv_clanName` Dvar (#771)
- Add `InitialWeaponRaise` GSC method (#804)
- Add `RconWhitelistAdd` SV Command (#804)
- Add more options to `bg_bouncesAllAngles` Dvar (#806)
- Add `GetChar` GSC function (#813)
- Add `bg_bunnyHopAuto` Dvar (#818)
- Add `bg_disableLandingSlowdown` Dvar (#818)
- Add new map porting utility tool that makes the map porting process between CoD8 to CoD6 easy
### Changed
- Servers can no longer modify client Dvars that are saved in the client's config (#694)
- `banClient` and `muteClient` server commands do not apply to bots anymore (#730)
- The max value of `perk_extendedMeleeRange` Dvar was increased (#782)
- Test Clients will receive names from the Xlabs Patreon website in addition to the names from the bots.txt file (#771)
### Fixed
- Fix bug where`reloadmenus` command would not free resources used by custom menus (#740)
- Fix bug where demo playback would stop when opening a laptop based killstreak (#699)
- Fix bug where mod download speed was inexplicably slow (#707)
- Fix bug where `g_hardcore` could not be set by servers (#708)
- Fix "user cmd angles" for test clients (#707)
- Fix bug where `FileRead` GSC function could return buffers that are too big (#767)
- Fix bug where the `OnPlayerSay` GSC function would cause issues (#776)
### Removed
- Remove `zb_prefer_disk_assets` Dvar (#772)
### Known issues
- Sound issue fix is experimental as the bug is not fully understood.
## [0.7.7] - 2022-12-31
### Added
- Add `r_forceTechnique` Dvar to debug techniques on materials.
- Add `IsSprinting` GSC method (#587)
- Add `StorageLoad` GSC function (#595)
- Add `bg_climbAnything` Dvar (#663)
- Add "ClanTag" support for bots (#645)
- Add `sv_randomBotNames` Dvar (#665)
- Add support for parsing localized strings files (.str & .json) (#621)
- Add `callvote` menus (#613)
- IW3x-port converts Technique Sets between CoD4 and CoD6 properly.
- Add new map porting utility tool that makes the map porting process between CoD4 to CoD6 easy.
### Changed
- `r_drawModelNames` now uses ground lighting when available.
- Speculars are now enabled on custom maps.
- Techset(s) get loaded from disk first rather than memory.
- Use CSO format for Vertex Shaders & Pixel Shaders on ZoneBuilder to allow replacement/swapping.
- New map porting utility tool builds teams directly into the map.
### Fixed
- Fix bug where ZoneBuilder would not build loaded sounds correctly.
- Fix bug where ZoneBuilder no longer differentiates assets depending on their name.
- Fix building FX with ZoneBuilder.
- Fix branding in ZoneBuilder generated zones.
- Fix Script String crash when building zones.
- Fix the changelog menu (#583)
- Fix bug when adding commands (#609)
- Fix bug where some ported maps would either crash or lag (mp_zavod, mp_kowloon, ...)
- Fix GSC conversion from CoD4 to CoD6 (Specular Scale, Create Exp Fog, Create FX, ...)
- The map porting process from CoD4 to IW4x has improved.
- Ported map zones are about 40% lighter than before.
- Static models are now lit correctly depending on their position and ground lighting.
- New map porting utility ports sounds and effects properly.
### Removed
- Remove `HttpGet`& `HttpCancel` (#603)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.7.6] - 2022-11-22
### Added
- Add `GetStat` GSC method (#485)
- Add `SetStat` GSC method (#485)
- Add `statGet` command (#485)
- Add `FileRemove` GSC function (#509)
- Add `cg_drawDisconnect` Dvar (#551)
- Add loading info strings from raw file (#557)
- Add localized file string parsing to Zone Builder (.str) (#569)
- Add single localized file string parsing to Zone Builder (#569)
### Changed
- Change font and colour of the external console (#477)
### Fixed
- Fix crash for debug build (#476)
- Fix auth bug with the connect protocol `iw4x://` (#478)
- Fix party server not receiving packets (#500)
- Fix crash caused by server thread issues (#561)
- Fix hours spent playing IW4x not counting towards the hours spent playing MW2 on Steam (#573)
- Remove non-existent menus from code (#483)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.7.5] - 2022-09-03
### Added
- Add `bg_rocketJumpScale` Dvar (#413)
- Add `CastFloat` GSC function (#414)
- Add `Strtol` GSC function (#414)
- Add `bg_lean` Dvar (#421
- Add voice chat (#425)
- Add `vote` & `callvote` client commands (#447)
- Add `kill` client command (#451)
- Add `voteKick`, `voteTempBan`, `voteTypeMap`, `voteMap` and `voteGame` UI script tokens (#456)
- Add `Int64IsInt`, `Int64ToInt` and `Int64OP` GSC functions (#419)
### Changed
- Steam status is no longer set to busy (#417)
- `g_allowVote` is a replicated Dvar (#457)
### Security
- Disable `HttpGet`& `HttpCancel` (#449)
### Fixed
- Fixed `startSingleplayer` command (#404)
- General stability update
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.7.4] - 2022-07-28
### Added
- Add `DisableWeaponPickup` GSC method (#329)
- Add `EnableWeaponPickup` GSC method (#329)
- Add `protect-saved-dvars` command line argument (#335)
- Add `clanName` dvar. Can be edited in the "barracks" menu (#361)
- Add DLC9 containing classic maps from CoD4: Backlot, Chinatown, Winter Crash, Pipeline and Downpour.
- Add to the iw4x-rawfiles `common_scripts\iw4x_utility` GSC script, it contains the scripts-based solution for the removed GSC built-in methods.
### Changed
- `sv_mapRotationCurrent` functionality has been restored for backward compatibility (#328)
- GSC IO Functions are restricted to the `scriptdata` folder (#322)
- `scriptablehttp` command line argument is no longer needed (#322)
### Fixed
- Node system works again for clients (#331)
- Fixed output of `g_log_list` & `log_list` (#336)
- Fixed toast notifications (#337)
- Fixed `banClient` command (#311)
- Fixed singleplayer maps crashing in renderer module (#340)
- Fixed muzzle flash on COD:OL maps (#352)
- Server commands are no longer being registered twice (#339)
- Fixed issue where grenades and projectiles had no bounce sounds (#368)
- Fixed issue that could cause the game to crash when loading CoD4 maps (#372)
### Removed
- Remove `noclip` built-in GSC method. Replaced with script-based solution (#387)
- Remove `ufo` built-in GSC method. Replaced with script-based solution (#387)
- Remove `god` built-in GSC method. Replaced with script-based solution (#388)
- Remove `demiGod` built-in GSC method. Replaced with script-based solution (#388)
- Remove `noTarget` built-in GSC method. Replaced with script-based solution (#388)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.7.3] - 2022-06-23
### Added
- Add `SetName` GSC method (#288)
- Add `ResetName` GSC method (#288)
- Add `OnPlayerSay` GSC function (#265)
- Add `Give` client command (works with weapons only) (#292)
- Add `sv_disableChat` Dvar (#290)
- Add `addMap` command (#302)
- Add `addGametype` command (#302)
### Changed
- `sv_mapRotationCurrent` is not being used anymore (#302)
- `sv_mapRotation` is parsed once on startup (#283)
### Security
- Remove `openLink` command (#286)
### Fixed
- Fix font generation (#277)
- Fix crash on clearing key binds (#278)
- Fix maps dropping out of the map rotation when using `sv_randomMapRotation` (#283)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
- Toast notifications have been disabled because they cause a crash that needs to be investigated
## [0.7.2] - 2022-05-10
### Added
- Add `IsArray` GSC function (#248)
- Keybind fields in menus work with controller keys (#255)
### Changed
- GSC function `GetSystemTime` now returns the Unix time (#258)
### Fixed
- Knife charge is fixed for controller players (#259)
- Fixed internet, local and favorites filters (#260)
- `sv_lanOnly` Dvar now prevents the server from sending heartbeats to master if set to true (#246)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.7.1] - 2022-05-03
### Added
- Add `ToUpper` GSC Function (#216)
- Add `StrICmp` GSC Function (#216)
- Add `IsEndStr` GSC Function (#216)
- Add `DropAllBots` GSC Function (#174)
- Add GSC entity field `entityflags` (#228)
- Add GSC client field `clientflags` (#228)
- Add `bg_surfacePenetration` Dvar (#241)
- Add `bg_bulletRange Dvar` (#241)
### Changed
- Test clients' native functionality has been restored by default (#162)
- Renamed GSC method `isBot` to `IsTestClient` (#162)
- Custom GSC functions can be called correctly from a game script (#216)
- GSC functions `HttpCancel` and `HttpCancel` require the game to be launched with the command line argument `scriptablehttp` (#162)
- Master server list will be used instead of the node system (load server list faster) (#234)
### Fixed
- Fixed issue with mouse acceleration when polling rate is greater than 125Hz (#230)
- Fixed issue with player speed caused by sprinting from the prone position (#232)
- Fixed client crash when `cg_chatHeight` was set to 0 (#237)
- Fixed GSC function `Scr_TableLookupIStringByRow` (#162)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.7.0] - 2022-05-01
### Added
- Add controller support (#75)
- Add aim assist for controllers (#75)
- Unlock `camera_thirdPersonCrosshairOffset` Dvar (#68)
- Add support for building custom Fonts with Zonebuilder (#88)
- Add colorblind friendly team colors (#101)
- Add emojis based on title cards and emblems to use in the chat and server names Example: `:nuke:` (#130)
- Upon leaving a server 'archive' dvars (saved in the config file) will be reset to the value they had prior to joining the server (#134)
- Add `muteClient` command for the game chat (#159)
- Add `unmute` command for the game chat (#159)
- Add `sv_allowAimAssist` Dvar (#75)
- Add `sv_allowColoredNames` (#130)
- Add `sv_randomMapRotation` Dvar (#146)
- Add `rcon_log_requests` Dvar (#195)
- Add `player_duckedSpeedScale` Dvar (#141)
- Add `player_proneSpeedScale` Dvar (#141)
- Add `cg_ufo_scaler` Dvar (#158)
- Add `cg_noclip_scaler` Dvar (#158)
- Add `bg_bouncesAllAngles` Dvar (#158)
- Add `bg_rocketJump` Dvar (#158)
- Add `bg_elevators` Dvar (#156)
- Add `noclip` client command (#152)
- Add `ufo` client command (#152)
- Add `God` client command (#152)
- Add `demigod` client command (#152)
- Add `notarget` client command (#152)
- Add `noclip` GSC Function (#152)
- Add `ufo` GSC Function (#152)
- Add `God` GSC Function (#152)
- Add `demigod` GSC Function (#152)
- Add `notarget` GSC Function (#152)
- Add `replaceFunc` GSC Function (#144)
### Changed
- Renamed `sv_enableBounces` to bg_bounces (#158)
- Renamed `g_playerCollision` to bg_playerEjection (#158)
- Renamed `g_playerEjection` to bg_playerCollision (#158)
- `setviewpos` client command works outside private matches (#163)
- `ufo` client command works outside of private matches (#152)
- `noclip` client command works outside of private matches (#152)
- If a player name is less than 3 characters server will change it to `Unknown Soldier` (#130)
- `scr_player_forceautoassign` Dvar is false by default
### Fixed
- Fixed issue where CoD:O DLC Maps caused DirectX crash following `vid_restart` (#37)
- Fixes and improvements to Zonebuilder
- Fixed issue where the game froze following base game script throwing an error (#74)
- Fixed RCon on party servers (#91 - #95)
- Fixed slow motion during final kill cams (#111 - #107)
- Fixed sound issue that causes the game to freeze (#106)
- Fixed issue where materials strings found in hostnames, player names, chat etc. caused the game to crash (#113)
- Fixed issue with servers displaying an invalid player count (#113)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
- Sound issue fix is experimental as the bug is not fully understood.
- `reloadmenus` command does not free resources used by custom menus.
## [0.6.1] - 2020-12-23
### Added
- Add host information to `/info` endpoint (request)
- Add `fileWrite` GSC Function (#36)
- Add `fileRead` GSC Function (#36)
- Add `fileExists` GSC Function (#36)
- Add `fileRemove` GSC Function (#36)
- Add `botMovement` GSC Function (#46)
- Add `botAction` GSC Function (#46)
- Add `botWeapon` GSC Function (#46)
- Add `botStop` GSC Function (#46)
- Add `isBot` GSC Function (#46)
- Add `setPing` GSC Function (#46)
- Add `GetSystemTime` and `GetSystemTimeMilliseconds` GSC Functions (#46)
- Add `PrintConsole` GSC Function (#46)
- Add `Exec` GSC Function (#46)
- Add `getIP` GSC Method (#36)
- Add `getPing` GSC Method (#36)
- Add `scr_intermissionTime` Dvar (#25)
- Add `g_playerCollision` Dvar (#36)
- Add `g_playerEjection` Dvar (#36)
- Add `r_specularCustomMaps` Dvar (#36)
- Unlock `safeArea_horizontal` and `safeArea_vertical` Dvars (#42)
- Unlock `cg_fovscale` Dvar (#47)
- Add `g_antilag` Dvar (#61)
### Changed
- Stats are now separate for each mod (#6). Player stats are copied to `fs_game` folder if no stats exist for this mod yet. Keep in mind this also means that level, XP and classes will not be synchronized with the main stats file after this point.
- Reduced duration of toasts (#48)
- Use old bot names if bots.txt is not found (#46)
### Fixed
- Fixed a node system related crash (#45)
- Fixed an issue that made dedicated servers crash when info was requested during map rotation (#43)
- Fixed an issue where the game was trying to decrypt GSC files which caused it to crash when loading mods (#35)
- Fixed an issue causing the game to crash when Steam was running in the background (#56)
- Fixed slow download speed when using fast download
### Removed
- Removed old updater functionality (#54)
### Known issues
- HTTPS is not supported for fast downloads at the moment.
## [0.6.0] - 2018-12-30
### Added
- Add `unbanClient` command.
- Add `/serverlist` api endpoint on dedicated servers
- Add dvar to control the server query rate (net_serverQueryLimit & net_serverFrames)
### Changed
- Update dependencies
### Fixed
- Fix mods not working in private matches.
- Fix multiple game structures (map tools)
- Fix multiple vulnerability's
- Fix lag spikes on lower end PCs
- Fix invalid name check
- Fix `openLink` command crash issue
- Fix lobby server map downloading
- Fix steam integration
### Known issues
- HTTPS is not supported for fast downloads at the moment.
## [0.5.4] - 2017-07-09
### Added
- Integrate IW4MVM by luckyy.
### Changed
- Displayed stats for Dragunov have been changed, has no effect on actual game play.
### Fixed
- Fix fast download failing when the target host is missing a trailing slash.
- Fix servers not being listed in the server browser.
- Fix some FPS drop issues caused by compression code.
### Known issues
- HTTPS is not supported for fast downloads at the moment.
## [0.5.3] - 2017-07-02
### Added
- Increase webserver security.
### Fixed
- Reduce lags introduced by nodes.
- Fix modlist download.
## [0.5.2] - 2017-07-02
### Fixed
- Fix dedicated server crash.
## [0.5.1] - 2017-07-02
### Added
- Add fast download option for custom mods/maps based on Call of Duty 4.
- Display a toast when an update is available.
- Use the hourglass cursor while loading assets (with the native cursor feature).
- Show bots in parenthesis after the number of players in the serverlist (request).
- Add GSC event `level waittill("say", string, player);` (request).
- Restrict unauthorized mod download for password protected servers.
- Add OMA support for 15 classes.
### Changed
- Show friend avatars when they play IW4x (request).
- Rewrite and optimize the entire node system.
### Fixed
- Fix lags and frame drops caused by server sorting.
- Fix demos on custom maps.
- Can no longer join a lobby or server with an incorrect password.
- Fix crashes caused by a bug in file/data compression.
- Improve overall stability.
### Removed
- Remove syncnode command for node system.
- Remove steam start.
## [0.5.0] - 2017-06-04
### Added
- Add GSC functionality to download files via HTTP(S) (request).
- Implement preliminary custom map support.
### Changed
- Add new nicknames for bots.
- Bumped Fastfile version. If you built fastfiles with the zone builder (e.g. mod.ff) you have to rebuild them!
- Default `sv_network_fps` to `1000` on dedicated game servers.
- Increase maximum FOV to 120.
### Fixed
- Fix `iw4x_onelog` dvar.
- Fix server list only showing local servers by default instead of Internet servers.
- Fix some deadlock situations on game shutdown.
## [0.4.2] - 2017-03-16
### Changed
- Disable unnecessary dvar update in server browser.
- Update bot names.
### Fixed
- Fix process permissions.
- Fix classic AK-47 color bleedthrough.
- Re-aligned the MG4's Raffica iron sights.
## [0.4.1] - 2017-03-10
### Fixed
- Fix command line argument parsing.
## [0.4.0] - 2017-03-10
### Added
- Set played with status.
- Add support for 15 classes.
- Add `iw4x_onelog` dvar.
- Add show server/playercount in server browser.
### Changed
- Do not show friend status notifications with stream friendly UI.
- Reduce loaded modules for dedis.
- Use joystick emblem for friend status.
- Disable XP bar when max level.
- Change fs_game display postition.
- Replace Painkiller with Juiced from IW5.
### Fixed
- Fix AK weaponfiles.
- Fix brightness slider.
- Fix text length for column mod in server browser.
- Changed the L86 LSW to use the correct HUD icon.
- Re-aligned the M93 Raffica's iron sights.
- Re-aligned the Desert Eagle's iron sights.
## [0.3.3] - 2017-02-14
### Added
- Add mapname to friend status (request).
- Add option to toggle notify friend state.
- Add support for mod.ff.
### Changed
- Disabled big minidump message box.
- Limit dedicated servers to 15 instances per IP.
- Move build number location.
### Fixed
- Fix audio bug in options menu.
- Fix crash caused by faulty file download requests to game hosts.
- Fix friend sorting.
- Fix game not starting issue under certain circumstances.
- Fix menu crash.
- Fix typo in security increase popmenu.
- Fix vid_restart crash with connect protocol.
- Fix weapon crash issue.
- Potentially fix no-ammo bug.
### Removed
- Remove news ticker and friends button from theater.
## [0.3.2] - 2017-02-12
This is the third public Beta version.
### Added
- Add working friend system.
- Add colored pings in the server list.
- Add credits.
- Add first launch menu.
- Add AK-47 (Classic) attachments.
- Add HUD icon for night vision goggles.
### Changed
- Join when pressing enter in server list (request).
- Redesign and refactor all fullscreen menus.
- Increase weapon and configstring limit.
- Allow creating full crash dumps if wanted.
- Set default name from steam.
### Fixed
- Fix missing models on village.
- Fix custom server motd (request).
- Fix various memory leaks.
- Fix mouse pitch (request).
- Fix compatibility with B3 (request).
- Fix RCon bug (request).
- Fix dedicated server crash on linux.
- Fix crash in mod download.
- Fix peacekeeper reload sound.
- Fix cl_maxpackets 125 in settings (request).
- Fix deserteaglegold_mp icon.
### Known issues
- IW4x on Linux currently requires gnutls to be installed to access the Tor service via HTTPS.
## [0.3.1] - 2017-01-21
This is the second public Beta version.
### Added
- Add classic AK-47 to CAC.
- Add servers to favorites when ingame.
- Add delete favorites button in the serverlist.
### Changed
- Change maplist to a dynamic list.
### Fixed
- Fix list focus.
- Fix mod restart loop.
- Fix mod download status.
- Fix modelsurf crash.
- Fix floating AK-74u.
### Known issues
- IW4x on Linux currently requires gnutls to be installed to access the Tor service via HTTPS.
## [0.3.0] - 2017-01-14
This is the first public Beta version.
### Added
- Add com_logFilter dvar.
- Add peacekeeper.
- Add support for maps from DLC 8 (Recycled Pack)
- Chemical Plant (mp_storm_spring)
- Crash: Tropical (mp_crash_tropical)
- Estate: Tropical (mp_estate_tropical)
- Favela: Tropical (mp_fav_tropical)
- Forgotten City (mp_bloc_sh)
### Changed
- Improve node synchronization handling.
- Improve security by modifying GUIDs to allow 64-bit certificate fingerprints.
- Optimize fastfiles, they are now a lot smaller.
- Replace intro.
### Fixed
- Fix concurrent image loading bug.
- Fix issues when spawning more than one bot.
- Fix no ammo bug.
- Fix server crash on startup.
- Fix splash screen hang.
### Known issues
- IW4x on Linux currently requires gnutls to be installed to access the Tor service via HTTPS.
## [0.2.1] - 2016-12-14
This is the second public Alpha version.
### Added
- Add support for CoD:Online maps.
- Firing Range (mp_firingrange)
- Rust (mp_rust_long)
- Shipment (mp_shipment/mp_shipment_long)
- Add `sv_motd` Dvar for server owners to set custom motd (will be visible in the loadscreen).
- Add Zonebuilder support for sounds and fx.
- Add command setviewpos.
- Add high-definition loadscreens.
### Changed
- Rename Arctic Wet Work map to it's official name (Freighter).
- Complete redesign of the main menus.
- Allow `cl_maxpackets` to be set up to 125.
### Fixed
- Fix crash when using the Harrier killstreak.
- Disable code that downloads news/changelog when in zonebuilder mode.
- Fix freeze on game shutdown.
- Disable unlockstats while ingame to prevent a crash.
### Known issues
- IW4x on Linux currently requires gnutls to be installed to access the Tor service via HTTPS.
## [0.2.0] - 2016-10-09
This is the first public Alpha version.
### Added
- Support for CoD:Online maps.
- Arctic Wet Work (mp_cargoship_sh)
- Bloc (mp_bloc)
- Bog (mp_bog_sh)
- Crossfire (mp_cross_fire)
- Killhouse (mp_killhouse)
- Nuketown (mp_nuked)
- Wet Work (mp_cargoship)
### Fixed
- Fix techniques in Zonebuilder.
- Fix possible memory leak.
- Fix timeout bug when connecting to server via iw4x link.
- Partially fix deadlock in decentralized networking code.
### Known issues
- Running IW4x on Linux currently requires gnutls to be installed additional to Wine as it needs to access the Tor service via HTTPS.
## [0.1.1] - 2016-09-19
This version is an internal Pre-Alpha version.
### Added
- Add IW5 material embedding system.
### Changed
- Enhance mod download with detailed progress display.
### Fixed
- Fix and optimize network logging commands.
- Fix console not displaying command inputs properly.
- Fix crash when running multiple instances of the IW4x client from the same directory.
- Fix crash when the `securityLevel` command is used on a game server.
- Fix possible data corruption in code for decentralized networking.
- Fix possible deadlock during client shutdown.
## [0.1.0] - 2016-09-03
This version is an internal Pre-Alpha version.
### Added
- Add `banclient` command which will permanently ban a client from a server. The ban will persist across restarts.
- Add capabilities to save played games and replay them ("Theater").
- Add code for generating and sending minidumps for debugging purposes. This feature is meant to be used only during the Open Beta and will be removed once the code goes to stable release.
- Add commands that allow forwarding console and games log via UDP to other computers ("network logging").
- Add D3D9Ex.
- Add filters for server list.
- Add handling for `iw4x://` URLs ("connect protocol"). For example, if IW4x is properly registered in Windows as URL handler for `iw4x://` URLs you can type `iw4x://ip:port`. If possible, this will connect to the server in an already running IW4x client.
- Add lean support through new key bindings.
- Add native cursor as replacement for the sometimes laggy in-game cursor. This change can be reverted in the settings menu.
- Add news ticker.
- Add remote console ("RCon").
- Add support for BigBrotherBot.
- Add support for hosting game mods in order to allow players to just join modded servers out of the box ("mod download").
- Add Warfare2 text coloring.
- Add zone builder. For more information see the respective documentation.
- Implement a completely decentralized peering network.
- Implement playlists which can be used for flexible map and gametype rotation.
- Introduce security levels. This ensures that you need to "pay" with CPU power to verify your identity once before being able to join a server which reduces the interval at which people who get banned can circumvent server bans through using new identities. The default security level is 23.
- Move IW4x resource files into their own folder to prevent clogging up the main game directories.
- Reintroduce parties, now also available for dedicated servers ("lobby servers").
### Changed
- Move logs to `userraw` folder.
- Replace main menu background music.

33
iw4x/CODESTYLE.md Normal file
View File

@ -0,0 +1,33 @@
# Code Style
```c++
namespace SomeNamespace
{
class SomeClass
{
public:
int someVariable;
static int SomeStaticVariable;
void someMethod()
{
// [...]
}
static void SomeStaticFunction()
{
// [...]
}
};
}
void Main(int argument)
{
SomeNamespace::SomeClass someObject;
someObject.someVariable = 0;
someObject.someMethod();
SomeNamespace::SomeClass::SomeStaticVariable = 0;
SomeNamespace::SomeClass::SomeStaticFunction();
}
```

44
iw4x/README.md Normal file
View File

@ -0,0 +1,44 @@
![license](https://img.shields.io/github/license/iw4x/iw4x-client.svg)
[![build](https://github.com/iw4x/iw4x-client/workflows/Build/badge.svg)](https://github.com/iw4x/iw4x-client/actions)
# IW4x: Client
## Compile from source
- Clone the Git repo. Do NOT download it as ZIP, that won't work.
- Update the submodules and run `premake5 vs2022` or simply use the delivered `generate.bat`.
- Build via solution file in `build\iw4x.sln`.
## Premake arguments
| Argument | Description |
|:----------------------------|:-----------------------------------------------|
| `--copy-to=PATH` | Optional, copy the DLL to a custom folder after build, define the path here if wanted. |
| `--copy-pdb` | Copy debug information for binaries as well to the path given via --copy-to. |
| `--force-unit-tests` | Always compile unit tests. |
| `--disable-binary-check` | Do not perform integrity checks on the exe. |
## Command line arguments
| Argument | Description |
|:------------------------|:-----------------------------------------------|
| `-tests` | Perform unit tests. |
| `-entries` | Print to the console a list of every asset as they are loaded from zonefiles. |
| `-stdout` | Redirect all logging output to the terminal iw4x is started from, or if there is none, creates a new terminal window to write log information in. |
| `-console` | Allow the game to display its own separate interactive console window. |
| `-dedicated` | Starts the game as a headless dedicated server. |
| `-bigminidumps` | Include all code sections from loaded modules in the dump. |
| `-reallybigminidumps` | Include data sections from all loaded modules in the dump. |
| `-dump` | Write info of loaded assets to the raw folder as they are being loaded. |
| `-nointro` | Skip game's cinematic intro. |
| `-version` | Print IW4x build info on startup. |
| `-nosteam` | Disable friends feature and do not update Steam about the game's current status just like an invisible mode. |
| `-unprotect-dvars` | Allow the server to modify saved/archive dvars. |
| `-zonebuilder` | Start the interactive zonebuilder tool console instead of starting the game. |
## Disclaimer
This software has been created purely for the purposes of
academic research. It is not intended to be used to attack
other systems. Project maintainers are not responsible or
liable for misuse of the software. Use responsibly.

17
iw4x/SECURITY.md Normal file
View File

@ -0,0 +1,17 @@
## iw4x-client Security
We take security very seriously at XLabsProject. We welcome any peer review of our 100% free software source code to ensure nobody's IW4x clients or servers are ever compromised or hacked.
### Where should I report security issues?
In order to give the community time to respond and upgrade we strongly urge you report all security issues privately.
Please e-mail MauriceHeumann@gmail.com directly to provide details and repro steps.
### Other key people
In the exceptional case that you do not receive a response within a reasonable time frame from our lead developer, please contact any of the following people:
- Future/diamante0018: iw4x-sp@proton.me
We will try respond as soon as possible, but please note:
### This is an entirely free software project. It is maintained in our spare time.
### We cannot guarantee quick responses but we very much appreciate your discretion when reporting security vulnerabilities.

Binary file not shown.

BIN
iw4x/version/r4227/iw4x.dll Normal file

Binary file not shown.

View File

@ -0,0 +1,91 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// IW4x Lobby Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// For support visit us on discord discordapp.com/invite/sKeVmR3 //
::// //
::// Defualt Playlist Gamemode from myplaylists.info //
::// (If you change that file around. consider this list useless..) //
::// //
::// 0 iw4x DLC (bonus edit) //
::// 1 Team Deathmatch //
::// 2 Hardcore Team Deathmatch //
::// 3 Free-for-all //
::// 4 Hardcore Free-for-all //
::// 5 Domination //
::// 6 Hardcore: Domination //
::// 7 Search and Destory //
::// 8 Hardcore: Search and Destory //
::// 9 Demolition //
::// 10 Hardcore: Demolition //
::// 11 Capture the flag //
::// 12 Hardcore: Capture the flag //
::// 13 Headquarters //
::// 14 Hardcore: Headquarters //
::// 15 Sabotage //
::// 16 Hardcore: Sabotage //
::// 17 Ground War //
::// 18 Hardcore: Ground War //
::// //
::///////////////////////////////////////////////////////////////////////
::///////////////////////////////////////////////////////////////////////
::// Choose your gamemode of 0-22 of your choice above //
::///////////////////////////////////////////////////////////////////////
set PlaylistGameMode=1
::///////////////////////////////////////////////////////////////////////
::// Your Game Server Port. //
::// Make sure you Port Forward both UDP & TCP //
::///////////////////////////////////////////////////////////////////////
set GamePort=28960
::///////////////////////////////////////////////////////////////////////
::// Offline/Private LAN Party Mode //
::// 0 Disable (Send heartbeats to online serverlist) //
::// 1 Enable (Add to the Local serverlist. Unlisted from Public) //
::///////////////////////////////////////////////////////////////////////
set LANMode=0
::///////////////////////////////////////////////////////////////////////
::// Below edits are optional unless you run multiable servers or mods.//
::///////////////////////////////////////////////////////////////////////
::// Load a mod on your server //
::// Example: ModfolderName=mods/bots //
::// //
::// UNLOAD a mod on your server //
::// Example: ModfolderName= //
::///////////////////////////////////////////////////////////////////////
set ModFolderName=
::///////////////////////////////////////////////////////////////////////
::// Your edited Playlist in the "userraw" folder goes here (optional) //
::///////////////////////////////////////////////////////////////////////
set PlaylistFilename=myplaylists.info
::///////////////////////////////////////////////////////////////////////
::// Your edited partyserver.cfg in the "userraw" folder goes here //
::// This is were you edit your hostname, rcon, inactivity, etc //
::// (Optional) //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=partyserver.cfg
::///////////////////////////////////////////////////////////////////////
:://DONE!! WARNING! Don't mess with anything below this line. SEROUSLY!//
::///////////////////////////////////////////////////////////////////////
start iw4x.exe -dedicated +set fs_game "%ModFolderName%" +set sv_lanonly "%LANMode%" +set net_port "%GamePort%" +exec %ServerFilename% +set party_enable "1" +set playlistFilename "%PlaylistFilename%" +playlist "%playlistGameMode%"

View File

@ -0,0 +1,91 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// IW4x Lobby Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// For support visit us on discord discordapp.com/invite/sKeVmR3 //
::// //
::// Defualt Playlist Gamemode from myplaylists.info //
::// (If you change that file around. consider this list useless..) //
::// //
::// 0 iw4x DLC (bonus edit) //
::// 1 Team Deathmatch //
::// 2 Hardcore Team Deathmatch //
::// 3 Free-for-all //
::// 4 Hardcore Free-for-all //
::// 5 Domination //
::// 6 Hardcore: Domination //
::// 7 Search and Destory //
::// 8 Hardcore: Search and Destory //
::// 9 Demolition //
::// 10 Hardcore: Demolition //
::// 11 Capture the flag //
::// 12 Hardcore: Capture the flag //
::// 13 Headquarters //
::// 14 Hardcore: Headquarters //
::// 15 Sabotage //
::// 16 Hardcore: Sabotage //
::// 17 Ground War //
::// 18 Hardcore: Ground War //
::// //
::///////////////////////////////////////////////////////////////////////
::///////////////////////////////////////////////////////////////////////
::// Choose your gamemode of 0-22 of your choice above //
::///////////////////////////////////////////////////////////////////////
set PlaylistGameMode=1
::///////////////////////////////////////////////////////////////////////
::// Your Game Server Port. //
::// Make sure you Port Forward both UDP & TCP //
::///////////////////////////////////////////////////////////////////////
set GamePort=28960
::///////////////////////////////////////////////////////////////////////
::// Offline/Private LAN Party Mode //
::// 0 Disable (Send heartbeats to online serverlist) //
::// 1 Enable (Add to the Local serverlist. Unlisted from Public) //
::///////////////////////////////////////////////////////////////////////
set LANMode=1
::///////////////////////////////////////////////////////////////////////
::// Below edits are optional unless you run multiable servers or mods.//
::///////////////////////////////////////////////////////////////////////
::// Load a mod on your server //
::// Example: ModfolderName=mods/bots //
::// //
::// UNLOAD a mod on your server //
::// Example: ModfolderName= //
::///////////////////////////////////////////////////////////////////////
set ModFolderName=
::///////////////////////////////////////////////////////////////////////
::// Your edited Playlist in the "userraw" folder goes here (optional) //
::///////////////////////////////////////////////////////////////////////
set PlaylistFilename=myplaylists.info
::///////////////////////////////////////////////////////////////////////
::// Your edited partyserver.cfg in the "userraw" folder goes here //
::// This is were you edit your hostname, rcon, inactivity, etc //
::// (Optional) //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=partyserverlan.cfg
::///////////////////////////////////////////////////////////////////////
:://DONE!! WARNING! Don't mess with anything below this line. SEROUSLY!//
::///////////////////////////////////////////////////////////////////////
start iw4x.exe -dedicated +set fs_game "%ModFolderName%" +set sv_lanonly "%LANMode%" +set net_port "%GamePort%" +exec %ServerFilename% +set party_enable "1" +set playlistFilename "%PlaylistFilename%" +playlist "%playlistGameMode%"

View File

@ -0,0 +1,51 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// IW4x Dedicated Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// For support visit us on discord discordapp.com/invite/sKeVmR3 //
::// //
::// Your Game Server Port. //
::// Make sure you Port Forward both UDP & TCP //
::///////////////////////////////////////////////////////////////////////
set GamePort=28960
::///////////////////////////////////////////////////////////////////////
::// Offline/Private LAN Party Mode //
::// 0 Disable (Send heartbeats to online serverlist) //
::// 1 Enable (Add to the Local serverlist. Unlisted from Public) //
::///////////////////////////////////////////////////////////////////////
set LANMode=0
::///////////////////////////////////////////////////////////////////////
::// Below edits are optional unless you run multiable servers or mods.//
::///////////////////////////////////////////////////////////////////////
::// Load a mod on your server //
::// Example: ModfolderName=mods/bots //
::// //
::// UNLOAD a mod on your server //
::// Example: ModfolderName= //
::///////////////////////////////////////////////////////////////////////
set ModFolderName=
::///////////////////////////////////////////////////////////////////////
::// Your edited server.cfg in the "userraw" folder goes here... //
::// This is were you edit your hostname, rcon, inactivity, etc //
::// (Optional) //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=server.cfg
::///////////////////////////////////////////////////////////////////////
:://DONE!! WARNING! Don't mess with anything below this line. SEROUSLY!//
::///////////////////////////////////////////////////////////////////////
start iw4x.exe -dedicated +set fs_game "%ModFolderName%" +set sv_lanonly "%LANMode%" +set net_port "%GamePort%" +exec %ServerFilename% +set party_enable "0" +map_rotate

View File

@ -0,0 +1,54 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// IW4x Dedicated Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// For support visit us on discord discordapp.com/invite/sKeVmR3 //
::// //
::// Your Game Server Port. //
::// Make sure you Port Forward both UDP & TCP //
::///////////////////////////////////////////////////////////////////////
set GamePort=28960
::///////////////////////////////////////////////////////////////////////
::// Offline/Private LAN Party Mode //
::// 0 Disable (Send heartbeats to online serverlist) //
::// 1 Enable (Add to the Local serverlist. Unlisted from Public) //
::///////////////////////////////////////////////////////////////////////
set LANMode=1
::///////////////////////////////////////////////////////////////////////
::// Below edits are optional unless you run multiable servers or mods.//
::///////////////////////////////////////////////////////////////////////
::// Load a mod on your server //
::// Example: ModfolderName=mods/bots //
::// //
::// UNLOAD a mod on your server //
::// Example: ModfolderName= //
::///////////////////////////////////////////////////////////////////////
set ModFolderName=
::///////////////////////////////////////////////////////////////////////
::// Your edited server.cfg in the "userraw" folder goes here... //
::// This is were you edit your hostname, rcon, inactivity, etc //
::// (Optional) //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=serverlan.cfg
::///////////////////////////////////////////////////////////////////////
:://DONE!! WARNING! Don't mess with anything below this line. SEROUSLY!//
::///////////////////////////////////////////////////////////////////////
start iw4x.exe -dedicated +set fs_game "%ModFolderName%" +set sv_lanonly "%LANMode%" +set net_port "%GamePort%" +exec %ServerFilename% +set party_enable "0" +map_rotate

View File

@ -0,0 +1,2 @@
# IW4x Server Config for Dedicated Servers
This repo contains the IW4 Dedicated Server Config for IW4x

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,176 @@
///////////////////////////////////////////////////
/// IW4x Server Configuration file //
///////////////////////////////////////////////////
///////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
///////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 grey //
// ^0 Black //
// ^: Rainbow colors //
// //
///////////////////////////////////////////////////
set sv_hostname "^2IW4x^7 Default Lobby Server" // Sets the server hostname
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. leave blank for defualt intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website
set _Location "Earth" // Location
//////////////////////////////////////////////////
// Web Server Downloading (Optional) //
//////////////////////////////////////////////////
//set sv_wwwDownload "1" // Allow downloading maps and mods from different server instead of the game server.
//set sv_wwwBaseUrl "http://" // http-Redirect to usermaps & mods folder on a web server. https does NOT work!
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set rcon_password "" // Access to your server to change stuff remotely or ingame. empty disabled
set sv_securityLevel "23" // Configures the servers security level.
set sv_customTextColor "" // custom color for ^;
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_inactivity "380" // Enable auto kick feature for idle/AFK players
set g_inactivitySpectator "500" // Time in seconds before a spectator gets kicked
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end
set g_log "logs/lobby_games_mp.log" // Gamelog filename. If you edit this..make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_maxclients "18" // Max players in your server.
set party_maxplayers "18" // ^^Same as above for some weird reason^^^
set sv_maxPing "0" // Maximum ping allowed during connection, any higher and players will get kicked. ( If you get 'server is for low ping players only' which happens to custom dlc, set this back to 0)
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set com_logFilter "1" // Removes ~95% of unneeded lines from the log.
set sv_pure "0" // verifying cilent files
set sv_sayName "^7Console" // name server-side 'say' commands show up as
set sv_floodProtect "1" // Chat Spam Protection
set sv_kickBanTime "3600" // Kick Ban Duration. Time before player can re-join the server after getting kicked.
set sv_voice "1" // Allow Voice Chat (0 = Disable. 1 = Enabled (Teams only).)
set sv_voicequality "9" // Voice Chat Quality. (0-9) Default is 3 (= Steam/Console quality). Use 9 for the best quality.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
set scr_player_forcerespawn "1" // Players respawn automatically after being fragged
set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards
set scr_hardpoint_allowhelicopter "1" // Allow Attack Helicopters
set scr_hardpoint_allowuav "1" // Allow UAV
set scr_hardpoint_allowartillery "1" // Allow Airstrikes
set scr_game_perks "1" // Allow players to have perks
set scr_game_allowkillcam "1" // Allow Killcam.
set scr_nukeTimer "10" // Timer when nuke goes off
set scr_diehard "0" // die-hard mode. Teammates will have to relieve each other.
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide.
set scr_player_sprinttime "4" // Sprint time, duration a player can run.
set scr_game_killstreakdelay "8" // Delay your killstreaks
set scr_game_objectiveStreaks "1" // Enable Chopper, AC130 and Nuke
set scr_classic "0" // Enable old-school COD4 killstreaks. UAV, Air Strike, Heli Only.
set sv_allowAimAssist "1" // Enable Controller Aim-Assist.
set sv_allowColoredNames "1" // Allow Colors in Player Names.
set sv_randomMapRotation "0" // Randomize map rotation (takes maps and gamemodes from sv_maprotation and randomizes them).
set bg_elevators "1" // Elevator Glitch Settings (default: 1 (normal). 0 = off, 2 = easy).
set bg_rocketJump "0" // Enable CoD4 Rocket Jumps.
set bg_bounces "0" // Enable Bounces (default: 0 (disabled). 1 = enabled, 2 = double).
set bg_playerCollision "1" // Push intersecting players away from each other.
set bg_playerEjection "1" // Push intersecting players away from each other.
set bg_surfacePenetration "0" // Values greater than 0 override the surface penetration depth (ability to hit players through obstacles).
set bg_bulletRange "8192" // Maximum Range used when calculating the bullet end position.
//////////////////////////////////////////////////
// XP BOOST CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for XP config //
// by removing the // before each set dvar. //
// Change "war" gametype to your liking. //
// //
// DO NOT ABUSE! Some people like to rank. //
// DON'T BE A DICK! Warn HIGH XP via hostname. //
// Don't know what you doing? Don't touch it! //
//////////////////////////////////////////////////
//set scr_xpscale "2" // IW's way of Double XP.
//set scr_war_score_kill "0" // Amount of XP by each kill.
//set scr_war_score_headshot "0" // Amount of XP by each headshot.
//set scr_war_score_death "0" // Amount of XP by each death.
//set scr_war_score_suicide "0" // Amount of XP by each suicide.
//set scr_war_score_assist "0" // Amount of XP by each assist.
//////////////////////////////////////////////////
// AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_ac130 "3"
// set scr_airdrop_ammo "17"
// set scr_airdrop_counter_uav "15"
// set scr_airdrop_emp "1"
// set scr_airdrop_harrier_airstrike "7"
// set scr_airdrop_helicopter "7"
// set scr_airdrop_helicopter_flares "5"
// set scr_airdrop_helicopter_minigun "3"
// set scr_airdrop_nuke "0"
// set scr_airdrop_precision_airstrike "11"
// set scr_airdrop_predator_missile "12"
// set scr_airdrop_sentry "12"
// set scr_airdrop_stealth_airstrike "5"
// set scr_airdrop_uav "17"
//////////////////////////////////////////////////
// EMERGENCY AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_mega_ac130 "2"
// set scr_airdrop_mega_ammo "12"
// set scr_airdrop_mega_counter_uav "16"
// set scr_airdrop_mega_emp "0"
// set scr_airdrop_mega_harrier_airstrike "5"
// set scr_airdrop_mega_helicopter "5"
// set scr_airdrop_mega_helicopter_flares "3"
// set scr_airdrop_mega_helicopter_minigun "2"
// set scr_airdrop_mega_nuke "0"
// set scr_airdrop_mega_precision_airstrike "10"
// set scr_airdrop_mega_predator_missile "14"
// set scr_airdrop_mega_sentry "16"
// set scr_airdrop_mega_stealth_airstrike "3"
// set scr_airdrop_mega_uav "12"
//left alone. in case this missed your bat file. to view more game settings and map rotates check out your playlist.info file or use the right config for a cod4 style server.
set party_enable 1

View File

@ -0,0 +1,176 @@
///////////////////////////////////////////////////
/// IW4x Server Configuration file //
///////////////////////////////////////////////////
///////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
///////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 grey //
// ^0 Black //
// ^: Rainbow colors //
// //
///////////////////////////////////////////////////
set sv_hostname "^2IW4x^7 LAN Lobby" // Sets the server hostname
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. leave blank for defualt intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website
set _Location "Earth" // Location
//////////////////////////////////////////////////
// Web Server Downloading (Optional) //
//////////////////////////////////////////////////
//set sv_wwwDownload "1" // Allow downloading maps and mods from different server instead of the game server.
//set sv_wwwBaseUrl "http://127.0.0.1/IW4x/" // http-Redirect to usermaps & mods folder on a web server. https does NOT work!
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set rcon_password "" // Access to your server to change stuff remotely or ingame. empty disabled
set sv_securityLevel "23" // Configures the servers security level.
set sv_customTextColor "" // custom color for ^;
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_inactivity "0" // Enable auto kick feature for idle/AFK players
set g_inactivitySpectator "0" // Time in seconds before a spectator gets kicked
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end
set g_log "logs/lobbyLAN_games_mp.log" // Gamelog filename. If you edit this..make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_maxclients "18" // Max players in your server.
set party_maxplayers "18" // ^^Same as above for some weird reason^^^
set sv_maxPing "0" // Maximum ping allowed during connection, any higher and players will get kicked. ( If you get 'server is for low ping players only' which happens to custom dlc, set this back to 0)
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set com_logFilter "1" // Removes ~95% of unneeded lines from the log.
set sv_pure "0" // verifying cilent files
set sv_sayName "^7Console" // name server-side 'say' commands show up as
set sv_floodProtect "0" // Chat Spam Protection
set sv_kickBanTime "3600" // Kick Ban Duration. Time before player can re-join the server after getting kicked.
set sv_voice "1" // Allow Voice Chat (0 = Disable. 1 = Enabled (Teams only).)
set sv_voicequality "9" // Voice Chat Quality. (0-9) Default is 3 (= Steam/Console quality). Use 9 for the best quality.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
set scr_player_forcerespawn "1" // Players respawn automatically after being fragged
set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards
set scr_hardpoint_allowhelicopter "1" // Allow Attack Helicopters
set scr_hardpoint_allowuav "1" // Allow UAV
set scr_hardpoint_allowartillery "1" // Allow Airstrikes
set scr_game_perks "1" // Allow players to have perks
set scr_game_allowkillcam "1" // Allow Killcam.
set scr_nukeTimer "10" // Timer when nuke goes off
set scr_diehard "0" // die-hard mode. Teammates will have to relieve each other.
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide.
set scr_player_sprinttime "4" // Sprint time, duration a player can run.
set scr_game_killstreakdelay "8" // Delay your killstreaks
set scr_game_objectiveStreaks "1" // Enable Chopper, AC130 and Nuke
set scr_classic "0" // Enable old-school COD4 killstreaks. UAV, Air Strike, Heli Only.
set sv_allowAimAssist "1" // Enable Controller Aim-Assist.
set sv_allowColoredNames "1" // Allow Colors in Player Names.
set sv_randomMapRotation "0" // Randomize map rotation (takes maps and gamemodes from sv_maprotation and randomizes them).
set bg_elevators "1" // Elevator Glitch Settings (default: 1 (normal). 0 = off, 2 = easy).
set bg_rocketJump "0" // Enable CoD4 Rocket Jumps.
set bg_bounces "0" // Enable Bounces (default: 0 (disabled). 1 = enabled, 2 = double).
set bg_playerCollision "1" // Push intersecting players away from each other.
set bg_playerEjection "1" // Push intersecting players away from each other.
set bg_surfacePenetration "0" // Values greater than 0 override the surface penetration depth (ability to hit players through obstacles).
set bg_bulletRange "8192" // Maximum Range used when calculating the bullet end position.
//////////////////////////////////////////////////
// XP BOOST CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for XP config //
// by removing the // before each set dvar. //
// Change "war" gametype to your liking. //
// //
// DO NOT ABUSE! Some people like to rank. //
// DON'T BE A DICK! Warn HIGH XP via hostname. //
// Don't know what you doing? Don't touch it! //
//////////////////////////////////////////////////
set scr_xpscale "2" // IW's way of Double XP.
//set scr_war_score_kill "0" // Amount of XP by each kill.
//set scr_war_score_headshot "0" // Amount of XP by each headshot.
//set scr_war_score_death "0" // Amount of XP by each death.
//set scr_war_score_suicide "0" // Amount of XP by each suicide.
//set scr_war_score_assist "0" // Amount of XP by each assist.
//////////////////////////////////////////////////
// AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_ac130 "3"
// set scr_airdrop_ammo "17"
// set scr_airdrop_counter_uav "15"
// set scr_airdrop_emp "1"
// set scr_airdrop_harrier_airstrike "7"
// set scr_airdrop_helicopter "7"
// set scr_airdrop_helicopter_flares "5"
// set scr_airdrop_helicopter_minigun "3"
// set scr_airdrop_nuke "0"
// set scr_airdrop_precision_airstrike "11"
// set scr_airdrop_predator_missile "12"
// set scr_airdrop_sentry "12"
// set scr_airdrop_stealth_airstrike "5"
// set scr_airdrop_uav "17"
//////////////////////////////////////////////////
// EMERGENCY AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_mega_ac130 "2"
// set scr_airdrop_mega_ammo "12"
// set scr_airdrop_mega_counter_uav "16"
// set scr_airdrop_mega_emp "0"
// set scr_airdrop_mega_harrier_airstrike "5"
// set scr_airdrop_mega_helicopter "5"
// set scr_airdrop_mega_helicopter_flares "3"
// set scr_airdrop_mega_helicopter_minigun "2"
// set scr_airdrop_mega_nuke "0"
// set scr_airdrop_mega_precision_airstrike "10"
// set scr_airdrop_mega_predator_missile "14"
// set scr_airdrop_mega_sentry "16"
// set scr_airdrop_mega_stealth_airstrike "3"
// set scr_airdrop_mega_uav "12"
//left alone. in case this missed your bat file. to view more game settings and map rotates check out your playlist.info file or use the right config for a cod4 style server.
set party_enable 1

View File

@ -0,0 +1,486 @@
///////////////////////////////////////////////////
/// IW4x Server Configuration file //
///////////////////////////////////////////////////
///////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
///////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 grey //
// ^0 Black //
// ^: Rainbow colors //
// //
///////////////////////////////////////////////////
set sv_hostname "^2IW4x^7 Default Server" // Sets the server hostname
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. leave blank for defualt intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website
set _Location "Earth" // Location
//////////////////////////////////////////////////
// Web Server Downloading (Optional) //
//////////////////////////////////////////////////
//set sv_wwwDownload "1" // Allow downloading maps and mods from different server instead of the game server.
//set sv_wwwBaseUrl "http://" // http-Redirect to usermaps & mods folder on a web server. https does NOT work!
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set rcon_password "" // Access to your server to change stuff remotely or ingame. empty disabled
set sv_securityLevel "23" // Configures the servers security level.
set sv_enableBounces "0" // Enables bouncing on the server.
set sv_customTextColor "" // custom color for ^;
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_inactivity "300" // Enable auto kick feature for idle/AFK players
set g_inactivitySpectator "500" // Time in seconds before a spectator gets kicked
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end. Recommended to stay on for b3 and IW4MAdmin
set g_log "logs/games_mp.log" // Gamelog filename. If you edit this, Make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_maxclients "18" // Max players in your server.
set party_maxplayers "18" // ^^Same as above for some weird reason^^^
set sv_maxPing "0" // Maximum ping allowed during connection, any higher and players will get kicked. ( If you get 'server is for low ping players only' which happens to custom dlc, set this back to 0)
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "4" // How many times you can try to reconnect
set com_logFilter "1" // Removes ~95% of unneeded lines from the log.
set sv_pure "0" // verifying cilent files
set sv_sayName "^7Console" // name server-side 'say' commands show up as
set sv_floodProtect "1" // Chat Spam Protection
set sv_kickBanTime "3600" // Kick Ban Duration. Time before player can re-join the server after getting kicked.
set set party_enable "0" // Lobby Mode Server. Read the wiki more about this. If you want sv_maprotation & control your gametype settings. Leave this at 0.
set sv_voice "1" // Allow Voice Chat (0 = Disable. 1 = Enabled (Teams only).)
set sv_voicequality "9" // Voice Chat Quality. (0-9) Default is 3 (= Steam/Console quality). Use 9 for the best quality.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
// //
// war - Team Deathmatch //
// dm - Free-for-all //
// dom - Domination //
// koth - Headquarters //
// sab - Sabotage //
// sd - Search and Destroy //
// arena - Arena //
// dd - Demolition //
// ctf - Capture the Flag //
// oneflag - One-Flag CTF //
// gtnw - Global Thermo-Nuclear War //
// //
//////////////////////////////////////////////////
set g_gametype "war" // Default gametype in case map rotation doesn't have any gametypes. Choose a gametype from the list above.
set scr_player_forcerespawn "1" // Players respawn automatically after being fragged
set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards
set scr_hardpoint_allowhelicopter "1" // Allow Attack Helicopters
set scr_hardpoint_allowuav "1" // Allow UAV
set scr_hardpoint_allowartillery "1" // Allow Airstrikes
set scr_game_perks "1" // Allow players to have perks
set scr_game_allowkillcam "1" // Allow Killcam.
set scr_nukeTimer "10" // Timer when nuke goes off
set scr_diehard "0" // die-hard mode. Teammates will have to relieve each other.
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide.
set scr_player_sprinttime "4" // Sprint time, duration a player can run.
set scr_game_killstreakdelay "8" // Delay your killstreaks
set scr_game_objectiveStreaks "1" // Enable Chopper, AC130 and Nuke
set scr_classic "0" // Enable old-school COD4 killstreaks. UAV, Air Strike, Heli Only.
set sv_allowAimAssist "1" // Enable Controller Aim-Assist.
set sv_allowColoredNames "1" // Allow Colors in Player Names.
set sv_randomMapRotation "0" // Randomize map rotation (takes maps and gamemodes from sv_maprotation and randomizes them).
set bg_elevators "1" // Elevator Glitch Settings (default: 1 (normal). 0 = off, 2 = easy).
set bg_rocketJump "0" // Enable CoD4 Rocket Jumps.
set bg_bounces "0" // Enable Bounces (default: 0 (disabled). 1 = enabled, 2 = double).
set bg_playerCollision "1" // Push intersecting players away from each other.
set bg_playerEjection "1" // Push intersecting players away from each other.
set bg_surfacePenetration "0" // Values greater than 0 override the surface penetration depth (ability to hit players through obstacles).
set bg_bulletRange "8192" // Maximum Range used when calculating the bullet end position.
//////////////////////////////////////////////////
// XP BOOST CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for XP config //
// by removing the // before each set dvar. //
// Change "war" gametype to your liking. //
// //
// DO NOT ABUSE! Some people like to rank. //
// DON'T BE A DICK! Warn HIGH XP via hostname. //
// Don't know what you doing? Don't touch it! //
//////////////////////////////////////////////////
//set scr_xpscale "2" // IW's way of Double XP.
//set scr_war_score_kill "0" // Amount of XP by each kill.
//set scr_war_score_headshot "0" // Amount of XP by each headshot.
//set scr_war_score_death "0" // Amount of XP by each death.
//set scr_war_score_suicide "0" // Amount of XP by each suicide.
//set scr_war_score_assist "0" // Amount of XP by each assist.
//////////////////////////////////////////////////
// HARDCORE CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for some hardcore //
// by removing the // before each set dvar. //
//////////////////////////////////////////////////
// set g_hardcore "1" // Enable hardcore mode
// set scr_hardcore "1" // Enable hardcore mode again...
// set ui_hud_hardcore "1" // Removes Heads up display which can be used both regular and HC
// set scr_game_deathpointloss "0" // Points Loss on death XP.
// set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots.
// set scr_player_maxhealth "30" // Percent of Health players will have on Respawn. (100 is normal. 30 is hardcore)
// set scr_team_fftype "1" // Enable or Disable Friendly Fire. (1 on, 2 reflect, 3 shared)
// set scr_player_healthregentime "0" // Time it takes you to recover damage. (5 is normal, 0 is hardcore)
// set scr_team_kickteamkillers "5" // Anyone who team kills, gets kicked automatically if you enable this feature.
// set scr_team_teamkillspawndelay "20" // Team Killer gets a respawn penalty of specified seconds (20).
//////////////////////////////////////////////////
// AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_ac130 "3"
// set scr_airdrop_ammo "17"
// set scr_airdrop_counter_uav "15"
// set scr_airdrop_emp "1"
// set scr_airdrop_harrier_airstrike "7"
// set scr_airdrop_helicopter "7"
// set scr_airdrop_helicopter_flares "5"
// set scr_airdrop_helicopter_minigun "3"
// set scr_airdrop_nuke "0"
// set scr_airdrop_precision_airstrike "11"
// set scr_airdrop_predator_missile "12"
// set scr_airdrop_sentry "12"
// set scr_airdrop_stealth_airstrike "5"
// set scr_airdrop_uav "17"
//////////////////////////////////////////////////
// EMERGENCY AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_mega_ac130 "2"
// set scr_airdrop_mega_ammo "12"
// set scr_airdrop_mega_counter_uav "16"
// set scr_airdrop_mega_emp "0"
// set scr_airdrop_mega_harrier_airstrike "5"
// set scr_airdrop_mega_helicopter "5"
// set scr_airdrop_mega_helicopter_flares "3"
// set scr_airdrop_mega_helicopter_minigun "2"
// set scr_airdrop_mega_nuke "0"
// set scr_airdrop_mega_precision_airstrike "10"
// set scr_airdrop_mega_predator_missile "14"
// set scr_airdrop_mega_sentry "16"
// set scr_airdrop_mega_stealth_airstrike "3"
// set scr_airdrop_mega_uav "12"
//////////////////////////////////////////////////
// FREE FOR ALL GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dm_scorelimit "1500" // Score limit to win the game.
set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dm_playerrespawndelay "-1" // How long player will wait until respawn.
set scr_dm_numlives "0" // Number of lives per player. 0 for unlimited.
set scr_dm_roundlimit "1" // Rounds per game.
set scr_dm_winlimit "1" // amount of wins needed to win a round-based game
set scr_dm_promode "0"
//////////////////////////////////////////////////
// TEAM DEATHMATCH GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_war_scorelimit "25000" // Score limit to win the game.
set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_war_playerrespawndelay "-1" // How long player will wait until respawn.
set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_war_numlives "0" // Number of lives per player 0 for unlimited.
set scr_war_roundlimit "1" // Rounds per game.
set scr_war_winlimit "1" // amount of wins needed to win a round-based game
set scr_war_promode "0"
//////////////////////////////////////////////////
// DOMINATION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dom_scorelimit "200" // Score limit to win the game.
set scr_dom_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dom_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dom_roundlimit "1" // Rounds per game
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game
set scr_dom_promode "0"
//////////////////////////////////////////////////
// DEMOLITION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dd_scorelimit "1" // Score limit needed to win.
set scr_dd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dd_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dd_roundswitch "1" // Rounds before the teams switch the sides.
set scr_dd_bombtimer "45" // Time the bomb takes to detonate.
set scr_dd_defusetime "5" // Time taken to defuse the bomb.
set scr_dd_planttime "5" // Time it takes to plant a bomb in seconds.
set scr_dd_roundlimit "3" // Rounds the game is limited to, if there are no winners.
set scr_dd_promode "0"
//////////////////////////////////////////////////
// SEARCH AND DESTROY GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sd_scorelimit "1" // Score limit required to win the game.
set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sd_numlives "1" // Number of lives per player per game.
set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sd_winlimit "4" // amount of wins needed to win a round-based game.
set scr_sd_roundswitch "3" // after X rounds, switch sides.
set scr_sd_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sd_defusetime "5" // Time taken to defuse the bomb.
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'.
set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'.
set scr_sd_promode "0"
//////////////////////////////////////////////////
// SABOTAGE GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sab_scorelimit "0" // Score limit to win the match.
set scr_sab_timelimit "20" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sab_bombtimer "30" // Duration in seconds the bomb takes to detonate.
set scr_sab_defusetime "5" // Time taken to defuse the bomb.
set scr_sab_hotpotato "0" // One bomb that the teams must fight over. One defending and one have to plant at the site.
set scr_sab_numlives "0" // Number of lives per player per game.
set scr_sab_planttime "2.5" // Time taken to plant the bomb.
set scr_sab_playerrespawndelay "7.5 // Time before respawn.
set scr_sab_roundlimit "1" // Rounds per game.
set scr_sab_roundswitch "1" // Rounds needed to be played before the teams switch sides.
set scr_sab_waverespawndelay "0" // Time delay for first respawn before the game.
set scr_sab_promode "0"
//////////////////////////////////////////////////
// CAPTURE THE FLAG GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_ctf_scorelimit "0" // Target score before the round ends.
set scr_ctf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_ctf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_ctf_halftime "1" // Half-Time
set scr_ctf_roundlimit "1" // How many rounds match would last.
set scr_ctf_returntime "30" // How many seconds before flag returns to base without nobody touching it.
set scr_ctf_playerrespawndelay "0" // Respawn wait in seconds.
set scr_ctf_waverespawndelay "10" // Time delay for first respawn before the game.
set scr_ctf_promode "0"
//////////////////////////////////////////////////
// ONE FLAG GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_oneflag_scorelimit "1" // Target score before the round ends.
set scr_oneflag_timelimit "3" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_oneflag_numlives "0" // number of lives per player 0 for unlimited.
set scr_oneflag_playerrespawndelay "0" // Respawn wait in seconds.
set scr_oneflag_roundlimit "1" // How many rounds match would last.
set scr_oneflag_roundswitch "1" // Rounds before the teams switch sides.
set scr_oneflag_waverespawndelay "0" // First respawn delay for each round.
set scr_oneflag_promode "0"
//////////////////////////////////////////////////
// HEADQUARTERS GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_koth_scorelimit "250" // Score limit to win the game.
set scr_koth_timelimit "15" // Duration in minutes the game will continue if the score isn't reached.
set scr_koth_numlives "0" // Number of lives per game. 0 for unlimited.
set scr_koth_playerrespawndelay "0" // Players respawn wait.
set scr_koth_roundlimit "1" // Rounds to be played.
set scr_koth_roundswitch "1" // Rounds to be played before teams switch sides.
set scr_koth_winlimit "1" // rounds per game
set scr_koth_waverespawndelay "0" // First respawn delay for each round.
set scr_koth_promode "0"
//////////////////////////////////////////////////
// ARENA GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_arena_scorelimit "1" // Score limit to win the game.
set scr_arena_timelimit "2.5" // Duration in minutes the game will continue if the score isn't reached.
set scr_arena_numlives "1" // Number of lives per game 0 for unlimited.
set scr_arena_roundlimit "0" // Rounds to be played.
set scr_arena_roundswitch "3" // Rounds before the teams switch sides.
set scr_arena_winlimit "4" // rounds per game
set scr_arena_promode "0"
//////////////////////////////////////////////////
// GLOBAL THERMONUCLEAR WAR GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_gtnw_scorelimit "101" // Score limit to win the game.
set scr_gtnw_timelimit "10" // Duration in minutes the game will continue if the score isn't reached.
set scr_gtnw_numlives "0" // Number of lives per game 0 for unlimited.
set scr_gtnw_playerrespawndelay "0" // Players respawn wait.
set scr_gtnw_roundlimit "1" // Rounds to be played.
set scr_gtnw_roundswitch "0" // Rounds before the teams switch sides.
set scr_gtnw_winlimit "1" // rounds per game
set scr_gtnw_waverespawndelay "0" // First respawn delay for each round.
set scr_gtnw_promode "0"
////////////////////////////////////////////////////////
// MAP SHORT NAMES ROTATION LIST //
////////////////////////////////////////////////////////
// //
// mp_afghan - Afghan //
// mp_derail - Derail //
// mp_estate - Estate //
// mp_favela - Favela //
// mp_highrise - Highrise //
// mp_invasion - Invasion //
// mp_checkpoint - Karachi //
// mp_quarry - Quarry //
// mp_rundown - Rundown //
// mp_rust - Rust //
// mp_boneyard - Scrapyard //
// mp_nightshift - Skidrow //
// mp_subbase - Sub Base //
// mp_terminal - Terminal //
// mp_underpass - Underpass //
// mp_brecourt - Wasteland //
// //
//// DLC1 STIMULUS /////////////////////////////////////
// //
// mp_complex - Bailout //
// mp_crash - Crash //
// mp_overgrown - Overgrown //
// mp_compact - Salvage //
// mp_storm - Storm //
// //
//// DLC2 RESURGENCE ///////////////////////////////////
// //
// mp_abandon - Carnival //
// mp_fuel2 - Fuel //
// mp_strike - Strike //
// mp_trailerpark - Trailer Park //
// mp_vacant - Vacant //
// //
//// DLC3 NUKETOWN /////////////////////////////////////
// //
// mp_nuked - Nuketown //
// //
/// DLC4 CLASSICS 1 ////////////////////////////////////
// //
// mp_cross_fire - Crossfire //
// mp_bloc - Bloc //
// mp_cargoship - Cargoship //
// //
/// DLC5 CLASSICS 2 ////////////////////////////////////
// //
// mp_killhouse - Killhouse //
// mp_bog_sh - Bog //
// //
/// DLC6 FREIGHTER /////////////////////////////////////
// //
// mp_cargoship_sh - Freighter //
// //
/// DLC7 RESURRECTION //////////////////////////////////
// //
// mp_shipment - Shipment //
// mp_shipment_long - Long:Shipment //
// mp_rust_long - Long: Rust //
// mp_firingrange - Firing Range //
// //
/// DLC8 RECYCLED //////////////////////////////////////
// //
// mp_storm_spring - Chemical Plant //
// mp_fav_tropical - Tropical: Favela //
// mp_estate_tropical - Tropical: Estate //
// mp_crash_tropical - Tropical: Crash //
// mp_bloc_sh - Forgotten City //
// //
// //
/// SP MAPS to MP //////////////////////////////////////
// //
// oilrig - Oilrig //
// iw4_credits - Test map //
// co_hunted - Village //
// //
// Example: //
// sv_maprotation "map mp_rust map mp_nuked" //
// //
// Example 24/7 Map: //
// sv_maprotation "map mp_highrise" //
// //
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// GAMETYPE ROTATION LIST (OPTIONAL) //
////////////////////////////////////////////////////////////////////////
// //
// List of gametypes you can use on sv_maprotation to mix gametypes. //
// or skip this if you plan on hosting 1 gametype only server. //
// //
// war - Team Deathmatch //
// dm - Free-for-all //
// dom - Domination //
// koth - Headquarters //
// sab - Sabotage //
// sd - Search and Destroy //
// arena - Arena //
// dd - Demolition //
// ctf - Capture the Flag //
// oneflag - One-Flag CTF //
// gtnw - Global Thermo-Nuclear War //
// //
// Example for mix gametype & map rotation: //
// sv_maprotation "gametype dm map mp_rust gametype sd map mp_crash" //
// //
// You can add additional maps to the certain gametype until it reach //
// the next gametype command. //
// //
////////////////////////////////////////////////////////////////////////
set sv_maprotation "map mp_highrise map mp_terminal map mp_firingrange map mp_trailerpark map mp_boneyard map mp_quarry map mp_killhouse map mp_rundown map mp_rust_long map mp_nightshift map mp_afghan map mp_abandon map mp_estate_tropical map mp_crash_tropical map mp_bloc_sh map mp_checkpoint map mp_invasion map mp_storm_spring map mp_fav_tropical map mp_rust map mp_nuked map mp_shipment map mp_strike map mp_cargoship_sh map co_hunted map mp_underpass map oilrig map mp_cross_fire map mp_brecourt map mp_crash map mp_fuel2 map mp_cargoship map mp_vacant map mp_subbase map mp_storm map mp_complex map mp_favela map mp_shipment map mp_derail map mp_compact map mp_overgrown map mp_estate map mp_derail map mp_shipment_long"

View File

@ -0,0 +1,484 @@
///////////////////////////////////////////////////
/// IW4x Server Configuration file //
///////////////////////////////////////////////////
///////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
///////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 grey //
// ^0 Black //
// ^: Rainbow colors //
// //
///////////////////////////////////////////////////
set sv_hostname "^2IW4x^7 LAN Server" // Sets the server hostname
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. leave blank for defualt intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website
set _Location "Earth" // Location
//////////////////////////////////////////////////
// Web Server Downloading (Optional) //
//////////////////////////////////////////////////
//set sv_wwwDownload "1" // Allow downloading maps and mods from different server instead of the game server.
//set sv_wwwBaseUrl "http://127.0.0.1/IW4x/" // http-Redirect to usermaps & mods folder on a web server. https does NOT work!
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set rcon_password "" // Access to your server to change stuff remotely or ingame. empty disabled
set sv_securityLevel "23" // Configures the servers security level.
set sv_customTextColor "" // custom color for ^;
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_inactivity "0" // Enable auto kick feature for idle/AFK players
set g_inactivitySpectator "0" // Time in seconds before a spectator gets kicked
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end
set g_log "logs/localgame_mp.log" // Gamelog filename. If you edit this..make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_maxclients "18" // Max players in your server.
set party_maxplayers "18" // ^^Same as above for some weird reason^^^
set sv_maxPing "0" // Maximum ping allowed during connection, any higher and players will get kicked. ( If you get 'server is for low ping players only' which happens to custom dlc, set this back to 0)
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set com_logFilter "1" // Removes ~95% of unneeded lines from the log.
set sv_pure "0" // verifying cilent files
set sv_sayName "^7Console" // name server-side 'say' commands show up as
set sv_floodProtect "0" // Chat Spam Protection
set sv_kickBanTime "3600" // Kick Ban Duration. Time before player can re-join the server after getting kicked.
set set party_enable "0" // Lobby Mode Server. Read the wiki more about this. If you want sv_maprotation & control your gametype settings. Leave this at 0.
set sv_voice "1" // Allow Voice Chat (0 = Disable. 1 = Enabled (Teams only).)
set sv_voicequality "9" // Voice Chat Quality. (0-9) Default is 3 (= Steam/Console quality). Use 9 for the best quality.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
// //
// war - Team Deathmatch //
// dm - Free-for-all //
// dom - Domination //
// koth - Headquarters //
// sab - Sabotage //
// sd - Search and Destroy //
// arena - Arena //
// dd - Demolition //
// ctf - Capture the Flag //
// oneflag - One-Flag CTF //
// gtnw - Global Thermo-Nuclear War //
// //
//////////////////////////////////////////////////
set g_gametype "war" // Default gametype in case map rotation doesn't have any gametypes. Choose a gametype from the list above.
set scr_player_forcerespawn "1" // Players respawn automatically after being fragged
set scr_thirdperson "0" // third-person mode
set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards
set scr_hardpoint_allowhelicopter "1" // Allow Attack Helicopters
set scr_hardpoint_allowuav "1" // Allow UAV
set scr_hardpoint_allowartillery "1" // Allow Airstrikes
set scr_game_perks "1" // Allow players to have perks
set scr_game_allowkillcam "1" // Allow Killcam.
set scr_nukeTimer "10" // Timer when nuke goes off
set scr_diehard "0" // die-hard mode. Teammates will have to relieve each other.
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set scr_player_suicidespawndelay "0" // Wait before you respawn if you committed suicide.
set scr_player_sprinttime "4" // Sprint time, duration a player can run.
set scr_game_killstreakdelay "8" // Delay your killstreaks
set scr_game_objectiveStreaks "1" // Enable Chopper, AC130 and Nuke
set scr_classic "0" // Enable old-school COD4 killstreaks. UAV, Air Strike, Heli Only.
set sv_allowAimAssist "1" // Enable Controller Aim-Assist.
set sv_allowColoredNames "1" // Allow Colors in Player Names.
set sv_randomMapRotation "0" // Randomize map rotation (takes maps and gamemodes from sv_maprotation and randomizes them).
set bg_elevators "1" // Elevator Glitch Settings (default: 1 (normal). 0 = off, 2 = easy).
set bg_rocketJump "0" // Enable CoD4 Rocket Jumps.
set bg_bounces "0" // Enable Bounces (default: 0 (disabled). 1 = enabled, 2 = double).
set bg_playerCollision "1" // Push intersecting players away from each other.
set bg_playerEjection "1" // Push intersecting players away from each other.
set bg_surfacePenetration "0" // Values greater than 0 override the surface penetration depth (ability to hit players through obstacles).
set bg_bulletRange "8192" // Maximum Range used when calculating the bullet end position.
//////////////////////////////////////////////////
// XP BOOST CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for XP config //
// by removing the // before each set dvar. //
// Change "war" gametype to your liking. //
// //
// DO NOT ABUSE! Some people like to rank. //
// DON'T BE A DICK! Warn HIGH XP via hostname. //
// Don't know what you doing? Don't touch it! //
//////////////////////////////////////////////////
set scr_xpscale "2" // IW's way of Double XP.
//set scr_war_score_kill "0" // Amount of XP by each kill.
//set scr_war_score_headshot "0" // Amount of XP by each headshot.
//set scr_war_score_death "0" // Amount of XP by each death.
//set scr_war_score_suicide "0" // Amount of XP by each suicide.
//set scr_war_score_assist "0" // Amount of XP by each assist.
//////////////////////////////////////////////////
// HARDCORE CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for some hardcore //
// by removing the // before each set dvar. //
//////////////////////////////////////////////////
// set g_hardcore "1" // Enable hardcore mode
// set scr_hardcore "1" // Enable hardcore mode again...
// set ui_hud_hardcore "1" // Removes Heads up display in hardcore mode.
// set scr_game_deathpointloss "0" // Points Loss on death XP.
// set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots.
// set scr_player_maxhealth "30" // Percent of Health players will have on Respawn.
// set scr_team_fftype "1" // Enable or Disable Friendly Fire. 1 on, 2 reflect, 3 shared
// set scr_player_healthregentime "0" // Time it takes you to recover damage.
// set scr_team_kickteamkillers "5" // Anyone who team kills, gets kicked automatically if you enable this feature.
// set scr_team_teamkillspawndelay "20" // Team Killer gets a respawn penalty of specified seconds (20).
//////////////////////////////////////////////////
// AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_ac130 "3"
// set scr_airdrop_ammo "17"
// set scr_airdrop_counter_uav "15"
// set scr_airdrop_emp "1"
// set scr_airdrop_harrier_airstrike "7"
// set scr_airdrop_helicopter "7"
// set scr_airdrop_helicopter_flares "5"
// set scr_airdrop_helicopter_minigun "3"
// set scr_airdrop_nuke "0"
// set scr_airdrop_precision_airstrike "11"
// set scr_airdrop_predator_missile "12"
// set scr_airdrop_sentry "12"
// set scr_airdrop_stealth_airstrike "5"
// set scr_airdrop_uav "17"
//////////////////////////////////////////////////
// EMERGENCY AIRDROP CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for airdrop config //
// by removing the // before each set dvar. //
// //
// Weight (1->1000) //
// Selection is weighted random //
// higher weights increase selection chance //
//////////////////////////////////////////////////
// set scr_airdrop_mega_ac130 "2"
// set scr_airdrop_mega_ammo "12"
// set scr_airdrop_mega_counter_uav "16"
// set scr_airdrop_mega_emp "0"
// set scr_airdrop_mega_harrier_airstrike "5"
// set scr_airdrop_mega_helicopter "5"
// set scr_airdrop_mega_helicopter_flares "3"
// set scr_airdrop_mega_helicopter_minigun "2"
// set scr_airdrop_mega_nuke "0"
// set scr_airdrop_mega_precision_airstrike "10"
// set scr_airdrop_mega_predator_missile "14"
// set scr_airdrop_mega_sentry "16"
// set scr_airdrop_mega_stealth_airstrike "3"
// set scr_airdrop_mega_uav "12"
//////////////////////////////////////////////////
// FREE FOR ALL GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dm_scorelimit "1500" // Score limit to win the game.
set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dm_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dm_numlives "0" // Number of lives per player 0 for unlimited.
set scr_dm_roundlimit "1" // Rounds per game.
set scr_dm_winlimit "1" // amount of wins needed to win a round-based game
set scr_dm_promode "0"
//////////////////////////////////////////////////
// TEAM DEATHMATCH GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_war_scorelimit "15000" // Score limit to win the game.
set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_war_playerrespawndelay "0" // How long player will wait until respawn.
set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_war_numlives "0" // Number of lives per player 0 for unlimited.
set scr_war_roundlimit "1" // Rounds per game.
set scr_war_winlimit "1" // amount of wins needed to win a round-based game
set scr_war_promode "0"
//////////////////////////////////////////////////
// DOMINATION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dom_scorelimit "200" // Score limit to win the game.
set scr_dom_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dom_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dom_roundlimit "1" // Rounds per game
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game
set scr_dom_promode "0"
//////////////////////////////////////////////////
// DEMOLITION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dd_scorelimit "1" // Score limit needed to win.
set scr_dd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dd_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dd_roundswitch "1" // Rounds before the teams switch the sides.
set scr_dd_bombtimer "45" // Time the bomb takes to detonate.
set scr_dd_defusetime "5" // Time taken to defuse the bomb.
set scr_dd_planttime "5" // Time it takes to plant a bomb in seconds.
set scr_dd_roundlimit "3" // Rounds the game is limited to, if there are no winners.
set scr_dd_promode "0"
//////////////////////////////////////////////////
// SEARCH AND DESTROY GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sd_scorelimit "1" // Score limit required to win the game.
set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sd_numlives "1" // Number of lives per player per game.
set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sd_winlimit "4" // amount of wins needed to win a round-based game.
set scr_sd_roundswitch "3" // after X rounds, switch sides.
set scr_sd_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sd_defusetime "5" // Time taken to defuse the bomb.
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'.
set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'.
set scr_sd_promode "0"
//////////////////////////////////////////////////
// SABOTAGE GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sab_scorelimit "0" // Score limit to win the match.
set scr_sab_timelimit "20" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sab_bombtimer "30" // Duration in seconds the bomb takes to detonate.
set scr_sab_defusetime "5" // Time taken to defuse the bomb.
set scr_sab_hotpotato "0" // One bomb that the teams must fight over. One defending and one have to plant at the site.
set scr_sab_numlives "0" // Number of lives per player per game.
set scr_sab_planttime "2.5" // Time taken to plant the bomb.
set scr_sab_playerrespawndelay "7.5 // Time before respawn.
set scr_sab_roundlimit "1" // Rounds per game.
set scr_sab_roundswitch "1" // Rounds needed to be played before the teams switch sides.
set scr_sab_waverespawndelay "0" // Time delay for first respawn before the game.
set scr_sab_promode "0"
//////////////////////////////////////////////////
// CAPTURE THE FLAG GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_ctf_scorelimit "0" // Target score before the round ends.
set scr_ctf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_ctf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_ctf_halftime "1" // Half-Time
set scr_ctf_roundlimit "1" // How many rounds match would last.
set scr_ctf_returntime "30" // How many seconds before flag returns to base without nobody touching it.
set scr_ctf_playerrespawndelay "0" // Respawn wait in seconds.
set scr_ctf_waverespawndelay "10" // Time delay for first respawn before the game.
set scr_ctf_promode "0"
//////////////////////////////////////////////////
// ONE FLAG GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_oneflag_scorelimit "1" // Target score before the round ends.
set scr_oneflag_timelimit "3" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_oneflag_numlives "0" // number of lives per player 0 for unlimited.
set scr_oneflag_playerrespawndelay "0" // Respawn wait in seconds.
set scr_oneflag_roundlimit "1" // How many rounds match would last.
set scr_oneflag_roundswitch "1" // Rounds before the teams switch sides.
set scr_oneflag_waverespawndelay "0" // First respawn delay for each round.
set scr_oneflag_promode "0"
//////////////////////////////////////////////////
// HEADQUARTERS GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_koth_scorelimit "250" // Score limit to win the game.
set scr_koth_timelimit "15" // Duration in minutes the game will continue if the score isn't reached.
set scr_koth_numlives "0" // Number of lives per game. 0 for unlimited.
set scr_koth_playerrespawndelay "0" // Players respawn wait.
set scr_koth_roundlimit "1" // Rounds to be played.
set scr_koth_roundswitch "1" // Rounds to be played before teams switch sides.
set scr_koth_winlimit "1" // rounds per game
set scr_koth_waverespawndelay "0" // First respawn delay for each round.
set scr_koth_promode "0"
//////////////////////////////////////////////////
// ARENA GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_arena_scorelimit "1" // Score limit to win the game.
set scr_arena_timelimit "2.5" // Duration in minutes the game will continue if the score isn't reached.
set scr_arena_numlives "1" // Number of lives per game 0 for unlimited.
set scr_arena_roundlimit "0" // Rounds to be played.
set scr_arena_roundswitch "3" // Rounds before the teams switch sides.
set scr_arena_winlimit "4" // rounds per game
set scr_arena_promode "0"
//////////////////////////////////////////////////
// GLOBAL THERMONUCLEAR WAR GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_gtnw_scorelimit "101" // Score limit to win the game.
set scr_gtnw_timelimit "10" // Duration in minutes the game will continue if the score isn't reached.
set scr_gtnw_numlives "0" // Number of lives per game 0 for unlimited.
set scr_gtnw_playerrespawndelay "0" // Players respawn wait.
set scr_gtnw_roundlimit "1" // Rounds to be played.
set scr_gtnw_roundswitch "0" // Rounds before the teams switch sides.
set scr_gtnw_winlimit "1" // rounds per game
set scr_gtnw_waverespawndelay "0" // First respawn delay for each round.
set scr_gtnw_promode "0"
//////////////////////////////////////////////////
// MAP SHORT NAMES ROTATION LIST //
//////////////////////////////////////////////////
// //
// mp_afghan - Afghan //
// mp_derail - Derail //
// mp_estate - Estate //
// mp_favela - Favela //
// mp_highrise - Highrise //
// mp_invasion - Invasion //
// mp_checkpoint - Karachi //
// mp_quarry - Quarry //
// mp_rundown - Rundown //
// mp_rust - Rust //
// mp_boneyard - Scrapyard //
// mp_nightshift - Skidrow //
// mp_subbase - Sub Base //
// mp_terminal - Terminal //
// mp_underpass - Underpass //
// mp_brecourt - Wasteland //
// //
//// DLC1 STIMULUS ///////////////////////////////
// //
// mp_complex - Bailout //
// mp_crash - Crash //
// mp_overgrown - Overgrown //
// mp_compact - Salvage //
// mp_storm - Storm //
// //
//// DLC2 RESURGENCE /////////////////////////////
// //
// mp_abandon - Carnival //
// mp_fuel2 - Fuel //
// mp_strike - Strike //
// mp_trailerpark - Trailer Park //
// mp_vacant - Vacant //
// //
//// DLC3 NUKETOWN ///////////////////////////////
// //
// mp_nuked - Nuketown //
// //
/// DLC4 CLASSICS 1 //////////////////////////////
// //
// mp_cross_fire - Crossfire //
// mp_bloc - Bloc //
// mp_cargoship - Cargoship //
// //
/// DLC5 CLASSICS 2 //////////////////////////////
// //
// mp_killhouse - Killhouse //
// mp_bog_sh - Bog //
// //
/// DLC6 FREIGHTER ///////////////////////////////
// //
// mp_cargoship_sh - Freighter //
// //
/// DLC7 RESURRECTION ////////////////////////////
// //
// mp_shipment - Shipment //
// mp_shipment_long - Long:Shipment //
// mp_rust_long - Long: Rust //
// mp_firingrange - Firing Range //
// //
/// DLC8 RECYCLED ////////////////////////////////
// //
// mp_storm_spring - Chemical Plant //
// mp_fav_tropical - Tropical: Favela //
// mp_estate_tropical - Tropical: Estate //
// mp_crash_tropical - Tropical: Crash //
// mp_bloc_sh - Forgotten City //
// //
/// SP MAPS to MP ////////////////////////////////
// //
// oilrig - Oilrig //
// iw4_credits - Test map //
// co_hunted - Village //
// //
// Example: //
// sv_maprotation "map mp_rust map mp_nuked" //
// //
// Example 24/7 Map: //
// sv_maprotation "map mp_highrise" //
// //
//////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
// GAMETYPE ROTATION LIST (OPTIONAL) //
////////////////////////////////////////////////////////////////////////
// //
// List of gametypes you can use on sv_maprotation to mix gametypes. //
// or skip this if you plan on hosting 1 gametype only server. //
// //
// war - Team Deathmatch //
// dm - Free-for-all //
// dom - Domination //
// koth - Headquarters //
// sab - Sabotage //
// sd - Search and Destroy //
// arena - Arena //
// dd - Demolition //
// ctf - Capture the Flag //
// oneflag - One-Flag CTF //
// gtnw - Global Thermo-Nuclear War //
// //
// Example for mix gametype & map rotation: //
// sv_maprotation "gametype dm map mp_rust gametype sd map mp_crash" //
// //
// You can add additional maps to the certain gametype until it reach //
// the next gametype command. //
// //
////////////////////////////////////////////////////////////////////////
set sv_maprotation "map mp_highrise map mp_terminal map mp_firingrange map mp_trailerpark map mp_boneyard map mp_quarry map mp_killhouse map mp_rundown map mp_rust_long map mp_nightshift map mp_afghan map mp_abandon map mp_estate_tropical map mp_crash_tropical map mp_bloc_sh map mp_checkpoint map mp_invasion map mp_storm_spring map mp_fav_tropical map mp_rust map mp_nuked map mp_shipment map mp_strike map mp_cargoship_sh map co_hunted map mp_underpass map oilrig map mp_cross_fire map mp_brecourt map mp_crash map mp_fuel2 map mp_cargoship map mp_vacant map mp_subbase map mp_storm map mp_complex map mp_favela map mp_shipment map mp_derail map mp_compact map mp_overgrown map mp_estate map mp_derail map mp_shipment_long"

View File

@ -0,0 +1,11 @@
@echo off
:: Either put the batch in the Ghosts install dir, or change the value below to the Ghosts install dir
set GHOSTS_INSTALL=%~dp0
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=iw6-mod.exe
start %GAME_EXE%

View File

@ -0,0 +1,19 @@
@echo off
set ServerFilename=server.cfg
:://///////////////////////////////////////////////////////////////////////////
::// What port do you want the server to run on? //
::// You must port forward this port & allow it through your firewall //
:://///////////////////////////////////////////////////////////////////////////
set port=27016
:: Either put the batch in the Ghosts install dir, or change the value below to the Ghost install dir
set GHOSTS_INSTALL=%~dp0
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=iw6-mod.exe
start %GAME_EXE% -dedicated +set net_port "%port%" +exec %ServerFilename% +map_rotate

View File

@ -0,0 +1,19 @@
@echo off
set ServerFilename=server_zm.cfg
:://///////////////////////////////////////////////////////////////////////////
::// What port do you want the server to run on? //
::// You must port forward this port & allow it through your firewall //
:://///////////////////////////////////////////////////////////////////////////
set port=27016
:: Either put the batch in the Ghosts install dir, or change the value below to the Ghost install dir
set GHOSTS_INSTALL=%~dp0
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=iw6-mod.exe
start %GAME_EXE% -dedicated +set zombiesMode 1 +set net_port "%port%" +exec %ServerFilename% +map_rotate

View File

@ -0,0 +1,5 @@
# IW6 Server Configs
This repo contains the IW6 Dedicated Server Config for IW6x.
Tutorials on how to use them can be found on:
* [xlabs.dev](https://xlabs.dev/support_iw6x_server.html)

View File

@ -0,0 +1,366 @@
///////////////////////////////////////////////////
/// IW6 Server Configuration //
///////////////////////////////////////////////////
///////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
///////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 grey //
// ^0 Black //
// ^: Rainbow colors //
// //
///////////////////////////////////////////////////
set sv_hostname "IW6 Default Server" // Sets the server hostname.
name "[IW6] server" // Currently sets the say name
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website. (IW4MAdmin uses this.)
set _Location "Earth" // Location
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set sv_maxclients "18" // Max players in your server.
set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled)
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_deadChat "0" // Toggle allowing dead players to chat with living players. (0 (default) or 1)
set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity. (range 0 - 10000)
set sv_kickBanTime "3600" // Time in seconds for a player temporary ban. (on kick/tempban) (range 0 - 3600)
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands.
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions.
set sv_reconnectlimit "3" // How many times you can try to reconnect.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
// //
// blitz - Blitz //
// conf - Kill Confirmed //
// cranked - Cranked //
// dm - Free-for-all //
// dom - Domination //
// grind - Grind //
// grnd - Drop Zone //
// gun - Gun Game //
// horde - Safeguard //
// infect - Infected //
// sd - Search and Destroy //
// siege - Reinforce //
// sotf - Hunted //
// sotf_ffa - Hunted FFA //
// sr - Search and Rescue //
// war - Team Deathmatch //
// //
//////////////////////////////////////////////////
//GAMETYPE CURRENTLY HAS TO BE SET VIA THE MAP ROTATION
set scr_game_allowkillcam "1" // Allow Killcam.
set team_rebalance "1" // Auto Balance teams?
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set sv_checkMinPlayers "0"
set scr_game_graceperiod "0"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "0"
set scr_game_suicidepointloss "0"
set scr_team_teamkillpointloss "1"
set scr_game_perks "1"
set scr_game_forceuav "0"
set scr_game_hardpoints "1"
set scr_nukeTimer "10"
set scr_nukeCancelMode "0"
set scr_default_maxagents "5"
set scr_disableClientSpawnTraces "0"
set scr_hardpoint_allowartillery "1"
set scr_hardpoint_allowuav "1"
set scr_hardpoint_allowhelicopter "1"
set scr_team_respawntime "0"
set scr_player_numlives "0"
set scr_player_respawndelay "0"
set scr_player_suicidespawndelay "0"
set scr_player_forcerespawn "1"
set scr_player_sprinttime "4"
set scr_explBulletMod "1"
set scr_maxPerPlayerExplosives "2"
//////////////////////////////////////////////////
// HARDCORE CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for some hardcore //
// by removing the // before each set dvar. //
//////////////////////////////////////////////////
// set g_hardcore "1" // Enable hardcore mode.
// set scr_hardcore "1" // Enable hardcore mode again...
// set ui_hud_hardcore "1" // Removes Heads up display which can be used both regular and HC.
// set scr_player_maxhealth "30" // Percent of Health players will have on Respawn. (100 is normal. 30 is hardcore)
// set scr_team_fftype "1" // Enable or Disable Friendly Fire. (1 on, 2 reflect, 3 shared)
// set scr_player_healthregentime "0" // Time it takes you to recover damage. (5 is normal, 0 is hardcore)
// set scr_team_teamkillspawndelay "20"
// set scr_team_kickteamkillers "0"
//////////////////////////////////////////////////
// TEAM DEATHMATCH GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_war_scorelimit "75" // Score limit to win the game.
set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_war_playerrespawndelay "0" // How long player will wait until respawn.
set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_war_numlives "0" // Number of lives per player 0 for unlimited.
set scr_war_roundlimit "1" // Rounds per game.
set scr_war_winlimit "1" // Amount of wins needed to win a round-based game
set scr_war_promode "0"
//////////////////////////////////////////////////
// FREE FOR ALL GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dm_scorelimit "30" // Score limit to win the game.
set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dm_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dm_numlives "0" // Number of lives per player. 0 for unlimited.
set scr_dm_roundlimit "1" // Rounds per game.
set scr_dm_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_dm_promode "0"
//////////////////////////////////////////////////
// DOMINATION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dom_scorelimit "200" // Score limit to win the game.
set scr_dom_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dom_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dom_roundlimit "1" // Rounds per game.
set scr_dom_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_dom_promode "0"
//////////////////////////////////////////////////
// SEARCH AND DESTROY GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sd_scorelimit "1" // Score limit required to win the game.
set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sd_numlives "1" // Number of lives per player per game.
set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sd_winlimit "4" // Amount of wins needed to win a round-based game.
set scr_sd_roundswitch "3" // After X rounds, switch sides.
set scr_sd_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sd_defusetime "5" // Time taken to defuse the bomb.
set scr_sd_multibomb "0" // Allow multiple people to 'have the bomb'.
set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'.
set scr_sd_promode "0"
//////////////////////////////////////////////////
// SEARCH AND RESCUE GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sr_scorelimit "1" // Score limit required to win the game.
set scr_sr_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sr_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sr_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sr_numlives "1" // Number of lives per player per game.
set scr_sr_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sr_winlimit "4" // amount of wins needed to win a round-based game.
set scr_sr_roundswitch "3" // After X rounds, switch sides.
set scr_sr_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sr_defusetime "5" // Time taken to defuse the bomb.
set scr_sr_multibomb "0" // allow multiple people to 'have the bomb'.
set scr_sr_planttime "5" // How long will it take player to 'plant the bomb'.
set scr_sr_promode "0"
//////////////////////////////////////////////////
// KILL CONFIRMED GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_conf_scorelimit "65" // Score limit to win the game.
set scr_conf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_conf_playerrespawndelay "0" // How long player will wait until respawn.
set scr_conf_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_conf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_conf_roundlimit "1" // Rounds per game.
set scr_conf_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_conf_promode "0"
//////////////////////////////////////////////////
// INFECTED DRAFT GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_infect_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_infect_playerrespawndelay "0" // How long player will wait until respawn.
set scr_infect_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_infect_numlives "0" // Number of lives per player 0 for unlimited.
set scr_infect_roundlimit "1" // Rounds per game.
set scr_infect_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_infect_promode "0"
//////////////////////////////////////////////////
// GRIND GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_grind_scorelimit "65" // Score limit to win the game.
set scr_grind_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_grind_playerrespawndelay "0" // How long player will wait until respawn.
set scr_grind_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_grind_numlives "0" // Number of lives per player 0 for unlimited.
set scr_grind_roundlimit "1" // Rounds per game.
set scr_grind_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_grind_promode "0"
//////////////////////////////////////////////////
// DROP ZONE GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_grnd_scorelimit "7500" // Score limit to win the game.
set scr_grnd_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_grnd_dropTime "15" // Time it takes for the care packages to drop.
set scr_grnd_numlives "0" // Number of lives per player 0 for unlimited.
set scr_grnd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_grnd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_grnd_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_grnd_zoneSwitchTime "60" // Amount of time before the zone switches.
set scr_grnd_promode "0"
//////////////////////////////////////////////////
// BLITZ GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_blitz_scorelimit "16" // Score limit to win the game.
set scr_blitz_timelimit "5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_blitz_playerrespawndelay "0" // How long player will wait until respawn.
set scr_blitz_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_blitz_numlives "0" // Number of lives per player 0 for unlimited.
set scr_blitz_roundlimit "2" // Rounds per game.
set scr_blitz_roundswitch "1" // Switching sides.
set scr_blitz_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_blitz_scoredelay "10"
set scr_blitz_promode "0"
//////////////////////////////////////////////////
// CRANKED GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_cranked_scorelimit "100" // Score limit to win the game.
set scr_cranked_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_cranked_playerrespawndelay "0" // How long player will wait until respawn.
set scr_cranked_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_cranked_numlives "0" // Number of lives per player 0 for unlimited.
set scr_cranked_roundlimit "1" // Rounds per game.
set scr_cranked_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_cranked_teambased "1" // Cranked in Team mode instead of Free-for-all.
set scr_cranked_scorelimit_ffa "60" // Score limit to win the game on FFA mode if teambased is set to 0.
set scr_cranked_promode "0"
//////////////////////////////////////////////////
// SAFEGUARD GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_horde_scorelimit "0" // Score limit to win the game.
set scr_horde_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_horde_roundlimit "1" // Rounds per game.
set scr_horde_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_horde_numlives "1" // Number of lives per player 0 for unlimited.
set scr_horde_playerrespawndelay "0" // How long player will wait until respawn.
set scr_horde_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_horde_promode "0"
set scr_horde_maxagents "24"
set scr_horde_difficulty "3"
//////////////////////////////////////////////////
// HUNTED GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sotf_scorelimit "65" // Score limit to win the game.
set scr_sotf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sotf_roundlimit "1" // Rounds per game.
set scr_sotf_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_sotf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_sotf_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sotf_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sotf_promode "0"
//////////////////////////////////////////////////
// HUNTED (FFA) GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sotf_ffa_scorelimit "25" // Score limit to win the game.
set scr_sotf_ffa_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sotf_ffa_roundlimit "1" // Rounds per game.
set scr_sotf_ffa_winlimit "1" // Amount of wins needed to win a round-based game.
set scr_sotf_ffa_numlives "0" // Number of lives per player 0 for unlimited.
set scr_sotf_ffa_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sotf_ffa_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sotf_ffa_promode "0"
////////////////////////////////////////////////////////
// MAP SHORT NAMES ROTATION LIST //
////////////////////////////////////////////////////////
// //
// Prision Break - mp_prisonbreak //
// Octane - mp_dart //
// Tremor - mp_lonestar //
// Freight - mp_frag //
// Whiteout - mp_snow //
// Stormfront - mp_fahrenheit //
// Siege - mp_hashima //
// Warhawk - mp_warhawk //
// Sovereign - mp_sovereign //
// Overload - mp_zebra //
// Stonehaven - mp_skeleton //
// Chasm - mp_chasm //
// Flooded - mp_flooded //
// Strikezone - mp_strikezone //
// Free Fall - mp_descent_new //
// //
/// DEVASTATION DLC ////////////////////////////////////
// //
// Unearthed - mp_dome_ns //
// Collision - mp_ca_impact //
// Behemoth - mp_ca_behemoth //
// Ruins - mp_battery3 //
// //
/// INVASION DLC ///////////////////////////////////////
// //
// Pharaoh - mp_dig //
// Favela - mp_favela_iw6 //
// Mutiny - mp_pirate //
// Departed - mp_zulu //
// //
/// NEMESIS DLC ////////////////////////////////////////
// //
// Dynasty - mp_conflict //
// Goldrush - mp_mine //
// Showtime - mp_shipment_ns //
// Subzero - mp_zerosub //
// //
/// ONSLAUGHT DLC //////////////////////////////////////
// //
// Ignition - mp_boneyard_ns //
// Containment - mp_ca_red_river //
// Bayview - mp_ca_rumble //
// Fog - mp_swamp //
// //
////////////////////////////////////////////////////////
set sv_maprotation "gametype war map mp_prisonbreak map mp_dart map mp_lonestar map mp_frag map mp_snow map mp_fahrenheit map mp_hashima map mp_warhawk map mp_sovereign map mp_zebra map mp_skeleton map mp_chasm map mp_flooded map mp_strikezone map mp_descent_new map mp_dome_ns map mp_ca_impact map mp_ca_behemoth map mp_battery3 map mp_dig map mp_favela_iw6 map mp_pirate map mp_conflict map mp_mine map mp_shipment_ns map mp_zerosub map mp_boneyard_ns map mp_ca_red_river map mp_ca_rumble map mp_swamp"

View File

@ -0,0 +1,129 @@
///////////////////////////////////////////////////
/// IW6 Server Configuration //
///////////////////////////////////////////////////
///////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
///////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 grey //
// ^0 Black //
// ^: Rainbow colors //
// //
///////////////////////////////////////////////////
set sv_hostname "IW6 Default Server" // Sets the server hostname.
name "[IW6] server" // Currently sets the say name
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website. (IW4MAdmin uses this.)
set _Location "Earth" // Location
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set sv_maxclients "4" // Max players in your server.
set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled)
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set g_deadChat "0" // Toggle allowing dead players to chat with living players. (0 (default) or 1)
set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity. (range 0 - 10000)
set sv_kickBanTime "3600" // Time in seconds for a player temporary ban. (on kick/tempban) (range 0 - 3600)
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands.
set sv_timeout "20" // Timeout time period. You will timeout after (20) seconds when attempting to connect or if you are getting connection interruptions.
set sv_reconnectlimit "3" // How many times you can try to reconnect.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
// //
// aliens - Extinction (CO-OP MODE) //
// //
//////////////////////////////////////////////////
//GAMETYPE CURRENTLY HAS TO BE SET VIA THE MAP ROTATION
set scr_game_allowkillcam "1" // Allow Killcam.
set team_rebalance "1" // Auto Balance teams?
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set sv_checkMinPlayers "0"
set scr_game_graceperiod "0"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "0"
set scr_game_suicidepointloss "0"
set scr_team_teamkillpointloss "1"
set scr_game_perks "1"
set scr_game_forceuav "0"
set scr_game_hardpoints "1"
set scr_nukeTimer "10"
set scr_nukeCancelMode "0"
set scr_default_maxagents "5"
set scr_disableClientSpawnTraces "0"
set scr_hardpoint_allowartillery "1"
set scr_hardpoint_allowuav "1"
set scr_hardpoint_allowhelicopter "1"
set scr_team_respawntime "0"
set scr_player_numlives "0"
set scr_player_respawndelay "0"
set scr_player_suicidespawndelay "0"
set scr_player_forcerespawn "1"
set scr_player_sprinttime "4"
set scr_explBulletMod "1"
set scr_maxPerPlayerExplosives "2"
//////////////////////////////////////////////////
// EXTINCTION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_aliens_scorelimit "2500"
set scr_aliens_timelimit "0"
set scr_aliens_roundlimit "1"
set scr_aliens_winlimit "1"
set scr_aliens_numlives "0"
set scr_aliens_playerrespawndelay "0"
set scr_aliens_waverespawndelay "0"
set scr_aliens_promode "0"
set scr_aliens_maxagents "24"
set scr_chaos_mode "0" // Extinction chaos game mode.
////////////////////////////////////////////////////////
// MAP SHORT NAMES ROTATION LIST //
////////////////////////////////////////////////////////
/// Maps only work with Aliens Game Mode Set //
////////////////////////////////////////////////////////
// //
// Point of Contact - mp_alien_town //
// //
// ONSLAUGHT DLC ///////////////////////////////////////
// //
// Nightfall - mp_alien_armory //
// //
// DEVASTATION DLC /////////////////////////////////////
// //
// Mayday - mp_alien_beacon //
// //
// INVASION DLC ////////////////////////////////////////
// //
// Awakening - mp_alien_dlc3 //
// //
// NEMESIS DLC /////////////////////////////////////////
// //
// Exodus - mp_alien_last //
// //
////////////////////////////////////////////////////////
set sv_maprotation "gametype aliens map mp_alien_town map mp_alien_armory map mp_alien_beacon map mp_alien_dlc3 map mp_alien_last"

View File

@ -0,0 +1,19 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// S1x Client Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// This config best view with Notepad++ or other non-windows notepad //
::///////////////////////////////////////////////////////////////////////
:: Either put the batch in the S1x install dir, or change the value below to the S1x install dir
set XLABS_AW_INSTALL=%~dp0
:: Remove this line, if automatic updates on start should be disabled
start /W xlabs.exe -update
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=%localappdata%\xlabs\data\s1x\s1x.exe
start %GAME_EXE%

View File

@ -0,0 +1,34 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// S1x Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// This config best view with Notepad++ or other non-windows notepad //
::///////////////////////////////////////////////////////////////////////
::// Your edited server.cfg in the "main" folder goes here //
::// This is were you edit your hostname, map & gamemodes from. //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=server_horde.cfg
:://///////////////////////////////////////////////////////////////////////////
::// What port do you want the server to run on? //
::// You must port forward this port & allow it through your firewall //
:://///////////////////////////////////////////////////////////////////////////
set port=27016
:: Either put the batch in the S1x install dir, or change the value below to the S1x install dir
set XLABS_AW_INSTALL=%~dp0
:: Remove this line, if automatic updates on start should be disabled
start /W xlabs.exe -update
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=%localappdata%\xlabs\data\s1x\s1x.exe
start %GAME_EXE% -dedicated +survival 1 +set net_port "%port%" +exec %ServerFilename% +map_rotate

View File

@ -0,0 +1,34 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// S1x Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// This config best view with Notepad++ or other non-windows notepad //
::///////////////////////////////////////////////////////////////////////
::// Your edited server.cfg in the "main" folder goes here //
::// This is were you edit your hostname, map & gamemodes from. //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=server.cfg
:://///////////////////////////////////////////////////////////////////////////
::// What port do you want the server to run on? //
::// You must port forward this port & allow it through your firewall //
:://///////////////////////////////////////////////////////////////////////////
set port=27016
:: Either put the batch in the S1x install dir, or change the value below to the S1x install dir
set XLABS_AW_INSTALL=%~dp0
:: Remove this line, if automatic updates on start should be disabled
start /W xlabs.exe -update
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=%localappdata%\xlabs\data\s1x\s1x.exe
start %GAME_EXE% -dedicated +set net_port "%port%" +exec %ServerFilename% +map_rotate

View File

@ -0,0 +1,34 @@
@echo off
::///////////////////////////////////////////////////////////////////////
::/// S1x Server Configuration start-up file ///
::///////////////////////////////////////////////////////////////////////
::// This config best view with Notepad++ or other non-windows notepad //
::///////////////////////////////////////////////////////////////////////
::// Your edited server.cfg in the "main" folder goes here //
::// This is were you edit your hostname, map & gamemodes from. //
::///////////////////////////////////////////////////////////////////////
set ServerFilename=server_zm.cfg
:://///////////////////////////////////////////////////////////////////////////
::// What port do you want the server to run on? //
::// You must port forward this port & allow it through your firewall //
:://///////////////////////////////////////////////////////////////////////////
set port=27016
:: Either put the batch in the S1x install dir, or change the value below to the S1x install dir
set XLABS_AW_INSTALL=%~dp0
:: Remove this line, if automatic updates on start should be disabled
start /W xlabs.exe -update
::///////////////////////////////////////////////////////////////////////
:://You're done!! WARNING!!! Don't mess with anything below this line //
::///////////////////////////////////////////////////////////////////////
set GAME_EXE=%localappdata%\xlabs\data\s1x\s1x.exe
start %GAME_EXE% -dedicated +zombiesMode 1 +set net_port "%port%" +exec %ServerFilename% +map_rotate

View File

@ -0,0 +1,2 @@
@echo off
xlabs.exe -update

View File

@ -0,0 +1,5 @@
# S1x Server Configs
This repo contains the S1x Dedicated Server Config for S1x.
Tutorials on how to use them can be found on:
* [xlabs.dev](https://xlabs.dev/support_s1x_server.html)

View File

@ -0,0 +1,255 @@
//////////////////////////////////////////////////
/// S1X Server Configuration //
//////////////////////////////////////////////////
//////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
//////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 Yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 Grey //
// ^0 Black //
// ^: Rainbow colors //
// //
//////////////////////////////////////////////////
set sv_hostname "S1X Default Server" // Sets the server hostname.
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. Leave blank for default intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website. (IW4MAdmin uses this.)
set _Location "Earth" // Location
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set scr_game_high_jump 1 // Disable Exos?
set party_maxplayers "18" // Max players in your server.
set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled)
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set sv_privateClients "0" // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
set sv_privatePassword "" // Password for reserved slots.
set sv_voice "2" // Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
set g_allowVote "1" // Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
set g_deadChat "0" // Toggle allowing dead players to chat with living players (0 (default) or 1)
set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
set sv_kickBanTime "3600" // Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_timeout "60" // Timeout time period. You will timeout after (60) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set sv_pure "1" // verifying cilent files
set sv_floodProtect "1" // Chat Spam Protection
set sv_sayName "console" // name server-side 'say' commands show up as
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end. Recommended to stay on for b3 and IW4MAdmin
set g_log "s1x/logs/games_mp.log" // Gamelog filename. If you edit this, Make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
//////////////////////////////////////////////////
// BASE GAME CONFIGURATION //
//////////////////////////////////////////////////
// //
// dm - Free-for-all //
// war - Team Deathmatch //
// twar - Momentum //
// ball - Uplink //
// sd - Search and Destroy //
// sr - Search and Rescue //
// dom - Domination //
// conf - Kill Confirmed //
// ctf - Capture the Flag //
// hp - Hardpoint //
// infect - Infected //
// //
//////////////////////////////////////////////////
set g_gametype "war" // Default gametype in case map rotation doesn't have any gametypes. Choose a gametype from the list above.
set scr_game_allowkillcam "1" // Allow Killcam
set team_rebalance "1" // Auto Balance teams?
set scr_teambalance "1" // Enable or Disable auto balance.
set scr_game_spectatetype "2" // Allow Spectators. 0 Disabled, 1 Team/Player only, 2 Free
set scr_thirdPerson "0" // third-person mode
set scr_game_hardpoints "1" // Enable/Disable Killstreak rewards
set scr_game_perks "1" // Allow players to have perks
set scr_nukeTimer "10" // Timer when nuke goes off
set scr_game_killstreakdelay "12" // Delay killstreak from the start of the round.
//////////////////////////////////////////////////
// HARDCORE CONFIGURATION //
//////////////////////////////////////////////////
// uncomment below commands for some hardcore //
// by removing the // before each set dvar. //
//////////////////////////////////////////////////
// set g_hardcore "1" // Enable hardcore mode
// set scr_hardcore "1" // Enable hardcore mode again...
// set ui_hud_hardcore "1" // Removes Heads up display which can be used both regular and HC
// set scr_player_maxhealth "30" // Percent of Health players will have on Respawn. (100 is normal. 30 is hardcore)
// set scr_team_fftype "1" // Enable or Disable Friendly Fire. (1 on, 2 reflect, 3 shared)
// set scr_player_healthregentime "0" // Time it takes you to recover damage. (5 is normal, 0 is hardcore)
// set scr_game_onlyheadshots "0" // Enable/Disable Only Headshots mode. You can only kill players by taking headshots.
//////////////////////////////////////////////////
// FREE FOR ALL GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dm_scorelimit "30" // Score limit to win the game.
set scr_dm_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dm_playerrespawndelay "-1" // How long player will wait until respawn.
set scr_dm_numlives "0" // Number of lives per player. 0 for unlimited.
set scr_dm_roundlimit "1" // Rounds per game.
set scr_dm_winlimit "1" // amount of wins needed to win a round-based game
set scr_dm_promode "0"
//////////////////////////////////////////////////
// TEAM DEATHMATCH GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_war_scorelimit "75" // Score limit to win the game.
set scr_war_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_war_playerrespawndelay "0" // How long player will wait until respawn.
set scr_war_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_war_numlives "0" // Number of lives per player 0 for unlimited.
set scr_war_roundlimit "1" // Rounds per game.
set scr_war_winlimit "1" // amount of wins needed to win a round-based game
set scr_war_promode "0"
//////////////////////////////////////////////////
// SEARCH AND DESTROY GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sd_scorelimit "1" // Score limit required to win the game.
set scr_sd_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sd_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sd_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sd_numlives "1" // Number of lives per player per game.
set scr_sd_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sd_winlimit "4" // amount of wins needed to win a round-based game.
set scr_sd_roundswitch "3" // after X rounds, switch sides.
set scr_sd_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sd_defusetime "5" // Time taken to defuse the bomb.
set scr_sd_multibomb "0" // allow multiple people to 'have the bomb'.
set scr_sd_planttime "5" // How long will it take player to 'plant the bomb'.
set scr_sd_promode "0"
//////////////////////////////////////////////////
// SEARCH AND RESCUE GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_sr_scorelimit "1" // Score limit required to win the game.
set scr_sr_timelimit "2.5" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_sr_playerrespawndelay "0" // How long player will wait until respawn.
set scr_sr_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_sr_numlives "1" // Number of lives per player per game.
set scr_sr_roundlimit "0" // Rounds the game is limited to 0 for unlimited.
set scr_sr_winlimit "4" // amount of wins needed to win a round-based game.
set scr_sr_roundswitch "3" // after X rounds, switch sides.
set scr_sr_bombtimer "45" // Time taken for the bomb to detonate.
set scr_sr_defusetime "5" // Time taken to defuse the bomb.
set scr_sr_multibomb "0" // allow multiple people to 'have the bomb'.
set scr_sr_planttime "5" // How long will it take player to 'plant the bomb'.
set scr_sr_promode "0"
//////////////////////////////////////////////////
// DOMINATION GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_dom_scorelimit "200" // Score limit to win the game.
set scr_dom_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_dom_playerrespawndelay "0" // How long player will wait until respawn.
set scr_dom_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_dom_numlives "0" // Number of lives per player per game. 0 is unlimited.
set scr_dom_roundlimit "1" // Rounds per game
set scr_dom_winlimit "1" // amount of wins needed to win a round-based game
set scr_dom_promode "0"
//////////////////////////////////////////////////
// KILL CONFIRMED GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_conf_scorelimit "65" // Score limit to win the game.
set scr_conf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_conf_playerrespawndelay "0" // How long player will wait until respawn.
set scr_conf_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_conf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_conf_roundlimit "1" // Rounds per game.
set scr_conf_winlimit "1" // amount of wins needed to win a round-based game
set scr_conf_promode "0"
//////////////////////////////////////////////////
// CAPTURE THE FLAG GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_ctf_scorelimit "0" // Target score before the round ends.
set scr_ctf_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_ctf_numlives "0" // Number of lives per player 0 for unlimited.
set scr_ctf_halftime "1" // Half-Time
set scr_ctf_roundlimit "1" // How many rounds match would last.
set scr_ctf_returntime "30" // How many seconds before flag returns to base without nobody touching it.
set scr_ctf_playerrespawndelay "0" // Respawn wait in seconds.
set scr_ctf_waverespawndelay "10" // Time delay for first respawn before the game.
set scr_ctf_promode "0"
//////////////////////////////////////////////////
// INFECTED GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_infect_timelimit "10" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_infect_playerrespawndelay "0" // How long player will wait until respawn.
set scr_infect_waverespawndelay "0" // Duration is seconds before the first respawn in each round.
set scr_infect_numlives "0" // Number of lives per player 0 for unlimited.
set scr_infect_roundlimit "1" // Rounds per game.
set scr_infect_winlimit "1" // amount of wins needed to win a round-based game
set scr_infect_promode "0"
//////////////////////////////////////////////////////////
// MAP SHORT NAMES ROTATION LIST //
//////////////////////////////////////////////////////////
// //
// Ascend - mp_refraction //
// Bio Lab - mp_lab2 //
// Comeback - mp_comeback //
// Defender - mp_laser2 //
// Detroit - mp_detroit //
// Greenband - mp_greenband //
// Horizon - mp_levity //
// Instinct - mp_instinct //
// Recovery - mp_recovery //
// Retreat - mp_venus //
// Riot - mp_prison //
// Solar - mp_solar //
// Terrace - mp_terrace //
// //
// Atlas Gorge - mp_dam //
// Chop Shop - mp_spark //
// Climate - mp_climate_3 //
// Compound - mp_sector17 //
// Core - mp_lost //
// Drift - mp_torqued //
// Fracture - mp_fracture //
// Kremlin - mp_kremlin //
// Overload - mp_lair //
// Parliament - mp_bigben2 //
// Perplex - mp_perplex_1 //
// Quarantine - mp_liberty //
// Sideshow - mp_clowntown3 //
// Site 244 - mp_blackbox //
// Skyrise - mp_highrise2 //
// Swarm - mp_seoul2 //
// Urban - mp_urban //
// //
//////////////////////////////////////////////////////////
set sv_maprotation "gametype war map mp_refraction map mp_lab2 map mp_comeback map mp_laser2 map mp_detroit map mp_greenband map mp_levity map mp_instinct map mp_recovery map mp_venus map mp_prison map mp_solar map mp_terrace map mp_dam map mp_torqued map mp_clowntown3 map mp_lost map mp_urban map mp_blackbox map mp_climate_3 map mp_perplex_1 map mp_kremlin map mp_bigbend map mp_sector17 map mp_fracture map mp_lair map mp_liberty map mp_seoul2"

View File

@ -0,0 +1,107 @@
//////////////////////////////////////////////////
/// S1X Server Configuration //
//////////////////////////////////////////////////
//////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
//////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 Yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 Grey //
// ^0 Black //
// ^: Rainbow colors //
// //
//////////////////////////////////////////////////
set sv_hostname "S1X Default Server" // Sets the server hostname.
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. Leave blank for default intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website. (IW4MAdmin uses this.)
set _Location "Earth" // Location
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set party_maxplayers "4" // Max players in your server.
set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled)
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set sv_privateClients "0" // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
set sv_privatePassword "" // Password for reserved slots.
set sv_voice "2" // Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
set g_allowVote "1" // Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
set g_deadChat "0" // Toggle allowing dead players to chat with living players (0 (default) or 1)
set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
set sv_kickBanTime "3600" // Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_timeout "60" // Timeout time period. You will timeout after (60) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set sv_pure "1" // verifying cilent files
set sv_floodProtect "1" // Chat Spam Protection
set sv_sayName "console" // name server-side 'say' commands show up as
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end. Recommended to stay on for b3 and IW4MAdmin
set g_log "s1x/logs/games_h.log" // Gamelog filename. If you edit this, Make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
//////////////////////////////////////////////////
// EXO SURVIVAL GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_horde_scorelimit "0" // Target score before the round ends.
set scr_horde_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_horde_numlives "1" // Number of lives per player 0 for unlimited.
set scr_horde_promode "0"
//////////////////////////////////////////////////////////
// EXO SURVIVAL ROTATION LIST //
//////////////////////////////////////////////////////////
// //
// TIER 1 //
// //
// Bio Lab - mp_lab2 //
// Retreat - mp_venus //
// Detroit - mp_detroit //
// Ascend - mp_refraction //
// //
// TIER 2 //
// //
// Horizon - mp_levity //
// Comeback - mp_comeback //
// Terrace - mp_terrace //
// Instinct - mp_instinct //
// //
// TIER 3 //
// //
// Greenband - mp_greenband //
// Solar - mp_solar //
// Recovery - mp_recovery //
// Defender - mp_laser2 //
// //
// TIER 4 //
// //
// Riot - mp_prison //
// //
// BONUS //
// //
// Sideshow - mp_clowntown3 //
// Core - mp_lost //
// Drift - mp_torqued //
// Urban - mp_urban //
// //
//////////////////////////////////////////////////////////
set sv_maprotation "gametype horde map mp_lab2 mp_venus mp_detroit mp_refraction mp_levity mp_comeback mp_terrace mp_instinct mp_greenband mp_solar mp_recovery mp_laser2 mp_prison mp_clowntown3 mp_lost mp_torqued mp_urban"

View File

@ -0,0 +1,80 @@
//////////////////////////////////////////////////
/// S1X Server Configuration //
//////////////////////////////////////////////////
//////////////////////////////////////////////////
// SERVER NAME & COLORS TIPS //
//////////////////////////////////////////////////
// //
// ^1 Red //
// ^2 Green //
// ^3 Yellow //
// ^4 Blue //
// ^5 Cyan //
// ^6 Pink //
// ^7 White //
// ^8 Depends on the team colors playing. //
// ^9 Grey //
// ^0 Black //
// ^: Rainbow colors //
// //
//////////////////////////////////////////////////
set sv_hostname "S1X Default Server" // Sets the server hostname.
set sv_motd "" // Sets a custom motd which is shown on the intel message loadscreen when a player joins. Leave blank for default intel messages.
//////////////////////////////////////////////////
// ADMIN INFO (Optional) //
//////////////////////////////////////////////////
set _Admin "" // Your username.
set _Email "" // E-mail address. you can leave blank
set _Website "" // Website. (IW4MAdmin uses this.)
set _Location "Earth" // Location
//////////////////////////////////////////////////
// NON-GAMEPLAY CONFIGURATION //
//////////////////////////////////////////////////
set party_maxplayers "4" // Max players in your server.
set rcon_password "" // Access to your server to change stuff remotely or ingame. (Empty = disabled)
set g_password "" // Password Protected Server. Leave blank if you want players to join or set password if you want to keep public out.
set sv_privateClients "0" // Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
set sv_privatePassword "" // Password for reserved slots.
set sv_voice "2" // Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
set g_allowVote "1" // Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
set g_deadChat "0" // Toggle allowing dead players to chat with living players (0 (default) or 1)
set g_inactivity "420" // Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
set sv_kickBanTime "3600" // Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
set sv_allowClientConsole "1" // Enable or Disable players ability to access server commands
set sv_timeout "60" // Timeout time period. You will timeout after (60) seconds when attempting to connect or if you are getting connection interruptions
set sv_reconnectlimit "3" // How many times you can try to reconnect
set sv_pure "1" // verifying cilent files
set sv_floodProtect "1" // Chat Spam Protection
set sv_sayName "console" // name server-side 'say' commands show up as
set logfile "2" // Enable loging 1-2? enable. 0 disable. Leave it on if you plan on using B3 or IW4MAdmin.
set g_logSync "1" // 1 always flush games_mp.log, 0 only flush on game end. Recommended to stay on for b3 and IW4MAdmin
set g_log "s1x/logs/games_zm.log" // Gamelog filename. If you edit this, Make sure you change B3.xml if you have bigbrotherbot. IW4MAdmin auto-detects however.
//////////////////////////////////////////////////
// EXO ZOMBIES GAMETYPE SETTINGS //
//////////////////////////////////////////////////
set scr_zombies_scorelimit "0" // Target score before the round ends.
set scr_zombies_timelimit "0" // Duration in minutes for the game to end if the score limit isn't reached.
set scr_zombies_numlives "1" // Number of lives per player 0 for unlimited.
set scr_zombies_promode "0"
//////////////////////////////////////////////////////////
// EXO ZOMBIE ROTATION LIST //
//////////////////////////////////////////////////////////
// //
// Outbreak - mp_zombie_lab //
// Infection - mp_zombie_brg //
// Carrier - mp_zombie_ark //
// Descent - mp_zombie_h2o //
// //
//////////////////////////////////////////////////////////
set sv_maprotation "gametype zombies map mp_zombie_ark map mp_zombie_brg map mp_zombie_h2o map mp_zombie_lab"

1
website Submodule

@ -0,0 +1 @@
Subproject commit f7acfb1ae8d12039e3b7c0b453a60b3ef7f796bb