Skip to content

iw4Strike v0.3.0 alpha (Windows, Linux untested)

Pre-release
Pre-release

Choose a tag to compare

@Gh4zi Gh4zi released this 08 Oct 07:24
· 275 commits to main since this release

Alpha update of iw4Strike: Counter-Strike gameplay on Call of Duty: Modern Warfare 2 maps, built on IW4L.

Alpha. This release brings the Defusal mode with the CS C4, money and the buy menu. The game is now iw4strike.exe (your settings carry over).

New: a Linux build (iw4Strike-v0.3.0-linux.tar.gz). It hasn't been tested yet: it is built automatically, but no one has played it on Linux. Please report what doesn't work.

What you need

  • Call of Duty: Modern Warfare 2 (2009) on Steam
  • Counter-Strike: Source on Steam (weapon models, sounds, HUD and the buy menu are read from your install). Without it you can select a Counter-Strike 1.6 install instead.

No game files are included.

How to play

Windows

  1. Download iw4Strike-v0.3.0-windows.zip and extract it to a folder you can write to (for example Desktop or Documents, not Program Files).
  2. Run iw4strike.exe. If SmartScreen warns you, click More info > Run anyway.
  3. The game folders window shows what was found. MW2 and CS:S are found through Steam automatically; if not, press Browse... and select the folder. To play with CS 1.6 instead of CS:S, untick CS:S's Use box. Then press Play.
  4. For the bomb mode, Create Game > Search and Destroy. Press B to buy. Press **** (the key under Esc) for the console, for example bot add 3`.

Linux (not tested yet)

  1. Install MW2 in Steam through Steam Play: in its Properties > Compatibility, tick Force the use of a specific Steam Play compatibility tool, then install it. iw4Strike only reads its files. The native Linux CS:S works.
  2. Download iw4Strike-v0.3.0-linux.tar.gz and extract it, for example to ~/Games: tar xzf iw4Strike-v0.3.0-linux.tar.gz.
  3. Run ./iw4strike from that folder. MW2 and CS:S are found in your Steam libraries (normal, Flatpak and Snap Steam). Browse... needs zenity or kdialog. You need a Vulkan graphics driver and Ubuntu 22.04 or newer (or a similar distribution).
  4. Then the same as on Windows: game folders window, Play, Create Game > Search and Destroy.

New in v0.3.0

Defusal (Search and Destroy as Counter-Strike's bomb mode, CS2 match format)

  • First to 13 rounds, 1:55 rounds. The sides switch once, after round 12; that round end freezes everyone like the freeze time.
  • 6 second freeze time at the start of each round: look around, buy and drop weapons for teammates, no moving or shooting.
  • Survivors keep their weapons and armor, restocked with full ammo like CS2. Everyone else respawns with the knife and their side's pistol (Terrorists a Glock, Counter-Terrorists a USP).
  • The round ends 7 seconds after it is decided. You can still fight, run from the bomb and save your gun. A team wiped out ends the round at once.
  • CS radio voice at the end of every round ("Terrorists win!", "Counter-Terrorists win!", "Round draw!").
  • Killcams are off for now. No escort, bomb or site markers float in the world.
  • Round-end banner in the look you pick (Options > Multiplayer Options, or cl_roundbanner css|cs16|mw2): the CS:S win panel, CS 1.6's centre message, or MW2's round outcome.

The C4

  • The Terrorist who picks up the bomb carries the CS C4 on slot 5 (CS:S model in your hands and in third person, green C4 icon on the HUD). G drops it for a teammate.
  • Hold left click with the C4 in a bomb site to plant: 3 seconds, standing still, with the C4's keypad animation and CS:S's progress bar.
  • The planted bomb is CS:S's, beeps like CS (from the bomb, louder and faster as it runs down) and blows up for 500 damage after 40 seconds. "The bomb has been planted" on the radio; the round timer goes away.
  • Counter-Terrorists hold E on it to defuse: 10 seconds, or 5 with a defuse kit ($200, equipment menu or buy defuser, kept while you survive).
  • Like CS 1.6, you can still plant (and defuse) in the pause after a round is decided; it doesn't change that round's result or money.

Money

  • CS 1.6 economy in Defusal: $800 to start, $300 per kill, round rewards and the losing-streak bonus, $16000 at most, with the CS:S money panel.
  • Free-for-all and team deathmatch buy for free and hide the money panel.

Buy menu (B)

  • The game's own buy window, read from your install: the CS:S buy menu, or the CS 1.6 one when you play with CS 1.6. Point at a gun to see its picture and numbers. Pick with the mouse or the number keys.
  • _vgui_menus 0 switches to CS 1.6's old numbered text menu (_vgui_menus 1 back). Saved with your settings.
  • In Defusal you buy near your side's spawn during the freeze time and the 20 seconds after it. Each side sells its own guns.
  • A gun bought over one in the same slot drops the old one (buy for a teammate), and a better gun comes up in your hand like CS.
  • buy <name> in the console no longer needs cheats and takes CS 1.6's short names (fn57, elites, hegren).
  • Autobuy (F1) and rebuy (F2), also as menu buttons and console commands. Ammo, night vision and the shield are no longer sold (guns come with full ammo), and the CS:S bargain button is gone.

Movement

  • mv_mode csgo is now CS:GO's own movement (the default): CS:GO stamina, crouch-spam fatigue, CS:GO ground acceleration and speed clamp, the 1.1x bunny-hop cap and slower ladders. Built from the measurements and technical reference of CSMovementRust.
  • mv_mode csgo64 / mv_mode csgo128: the same movement stepped like a 64 or 128 tick server (jump heights and bhop timing match those servers).
  • The previous default is now mv_mode css. surf, mmod and cs16 are unchanged.

Also new

  • Linux build (not tested yet): finds Steam on Linux, links MW2 next to the game, and uses your desktop's folder picker.
  • Other players hold the CS:S weapon models in third person (and so do you in thirdperson).
  • CS ladder sounds instead of MW2's.
  • Mouse wheel switches weapons by default. To jump with it like in CS: bind MWHEELDOWN +jump.
  • E only defuses: guns are picked up by walking over them, and the MW2 "swap weapon" prompt is gone.
  • No hitmarker (the X and its sound).
  • Round timer warning only in the last 10 seconds (no one-minute warning); set its volume in Options > Audio > Round Timer Warning.
  • Create Game lists Free-for-all, Team Deathmatch and Search and Destroy; MW2's other modes are hidden.
  • No medal chime and no killstreak announcer after kills.
  • A flashbang behind you now gives a short light flash instead of nothing.
  • Counter-Strike scoreboard on TAB, in the CS:S look (or CS 1.6's).
  • Weapon switching at CS deploy times (0.75 s, AWP 1.45 s, Scout 1.25 s).
  • HE grenade explosion sound from CS:S or CS 1.6, and CS 1.6's "Fire in the hole!".
  • Faster game logic with bots: the script engine speed-up from IW4L pull request #72 by neptune (about 15-25% more fps with 12 bots on our test machine).
  • Game folders window: a Use box for Counter-Strike: Source and for CS 1.6. Untick CS:S to play with CS 1.6 even when CS:S is installed; with both ticked, CS:S is used. Your folders are kept either way.
  • The game is iw4strike.exe (was iw4l.exe); settings in iw4l-artifacts carry over.

Fixes

  • Third person: your body no longer shakes against the camera while moving fast or bunny hopping.
  • Search and Destroy no longer kicks you after a few rounds, and both teams' scores count every round.
  • Round money now pays the bomb bonuses (planted, exploded, defused).
  • Buying works during the freeze time.
  • No more god mode during the end of a round, and the round-end voice plays once.
  • Use triggers with a hint (every plant and defuse spot) could never be used with E: an engine bug, fixed.
  • Radio voice pitch: "Terrorists win", "Bomb planted" and the other announcements no longer play at odd pitches now and then.
  • Red barrels (Afghan and others) no longer explode while destructibles are off (sv_destructibles 0, the default).

Everything from v0.2.5 is still in: 24 CS guns with CS:S models and CS 1.6 damage, spread and recoil, silencers, burst fire, scopes, knife, HE / flashbang / smoke, kevlar and helmet, 100 Hz tick, the CS:S HUD with the MW2 minimap as radar, and the game folders window.

All controls and console commands: README

Known issues

  • The Linux build hasn't been tested yet.
  • Bots don't carry, plant or defuse the bomb yet.
  • Without CS:S the HUD uses a fallback font and has no icons; a CS 1.6 HUD is planned.
  • Guns lying on the ground are still MW2 models. With only CS 1.6 installed, other players also still hold the MW2 gun in third person.
  • mv_mode isn't synced to other players yet, so everyone should use the same mode.
  • Smoke grenades go off twice so the cloud lasts about 18 seconds like CS:S; the smoke timer will be reworked.
  • Terminal: broken glass can turn red from some angles. Favela has rendering issues and low FPS.
  • Very loud gunfire can clip (distort).

Credits

Built on IW4L (Apache 2.0). Gameplay references: Momentum Mod, ReGameDLL_CS, hlsdk-portable, Source SDK 2013 and CSMovementRust. See the README.

MW2 belongs to Activision. Counter-Strike belongs to Valve. iw4Strike isn't affiliated with either.