Skip to content

Coop patch for Counter-Strike: Condition Zero campaign with YaPB support

Notifications You must be signed in to change notification settings

MuxaJlbl4/Condition-Zero-Coop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Header

Counter-Strike: Condition Zero Cooperative Patch

Cooperative patches for Counter-Strike: Condition Zero. Enables cooperative play for Tour of Duty missions and allows to play with Yet Another POD-Bots.

Coop.mp4
  • Left side: Admin 192.168.124.1
  • Right side: Player 192.168.124.160
  • Added extra enemy bots on Player join

Features

  • 🏃‍♀️ Compatibility with Yet Another POD-Bot (YaPB)
  • 🎮 Maximum slots and spawns for extra players
  • 😎 Singleplayer and custom campaign support
  • ➕ Extra bots addition for each joined player
  • 🍰 Simplified survival and in-a-row tasks
  • 🎫 Fixed restart and continue messages
  • 🧊 Decreased freeze time
  • 🔦 Enabled flashlights
  • 🦘 No jump slowdown
  • 🗝️ No passwords
  • ⏳ No pauses

Requirements

Installation and Usage

  • Admin: Install Condition-Zero-Coop.exe to your Half-Life folder and start any career mission
  • Teammates: Connect to Admin by connect <IP> or Find Servers -> Lan

CVars

All settings should be configured via coop.cfg file:

Variables

CVar Default Value Description
bots_custom_ai 0 Custom bots AI:
1 - YaPB; 0 - zBot (default AI)
bots_per_player 3 Extra bots on player join
Adds the specified number of enemy bots with campaign difficulty skill
motd_restart 1 Show MotD on mission restart:
1 - on; 0 - off
simple_hostages 1 Hostage tasks can be completed by:
1 - players & YaPB bots; 0 - players only
simple_survival 1 Simplified survival and in-a-row tasks. Task fails when:
1 - all players are dead; 0 - any player is dead

Auxiliary

CVar Description
bot_difficulty Extra bots and YaPB difficulty:
0 - Easy/Newbie; 1 - Medium/Average; 2 - Hard/Normal;
3 - Expert/Professional; 4 - Expert/Godlike (YaPB)
mp_friendlyfire Allow friendly fire:
1 - on; 0 - off

Commands

Command Description
map_info Show map name and spawn count
player_kill Kill all players (non-bots)

Notes

Limitations

  • 🔄 Mission change requires teammates reconnection
  • 👀 Teammates can't view tasks
  • 👯‍♀ Max players = 32

Manual Building

  1. Install:
  2. Copy (with replace) repository content to your Half-Life folder
  3. Replace hex bytes 3B F0 0F 4C F0 A1 to BE 20 00 00 00 A1 in your Half-Life\hw.dll file
  4. Compile Condition Zero Coop with Half-Life\czero\addons\amxmodx\scripting\cz_coop.bat
  5. Compile Autospawnpoints with Half-Life\czero\addons\amxmodx\scripting\autospawnpoints.bat
  6. Compile No Slow Down with Half-Life\czero\addons\amxmodx\scripting\noslowdown.bat
  7. Compile Half-Life\Condition-Zero-Coop.iss with Inno Setup to make installer

Special Thanks