Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MuxaJlbl4/Condition-Zero-Coop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 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)
  • 🎁 25th Anniversary and Legacy versions support
  • 🎮 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
  • ♟️ Play as bot after death
  • 🧊 Decreased freeze time
  • 🔦 Custom game config
  • 🦘 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 plugin 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 current tasks
  • 👯‍♀ Max players = 32

Manual Building

  1. Install:

    For ReGameDLL_CS build Release Play version with Visual Studio 2015 Update 3 and modified line in regamedll\dlls\hostage\hostage.cpp:

    cvar_t cv_hostage_ai_enable = { "hostage_ai_enable", "1", 0, 1.0f, nullptr };
  2. Copy (with replace) repository content to your Half-Life folder

  3. For maxplayers patch, replace hex bytes in your Half-Life\hw.dll file and update corresponding dlls:

  4. Build plugins:

  5. Check mp.dll with Signatures.asm and edit Orpheu config files if it's required

  6. Build Condition-Zero-Coop.iss with Inno Setup to make the installer

Special Thanks