Daniel Maixner c5918e851b Tuning
2023-09-02 12:36:43 +02:00
cu
2023-06-13 13:24:17 +02:00
2023-08-29 14:55:41 +02:00
2023-04-01 18:16:50 +02:00
2023-08-31 18:32:26 +02:00
2023-08-31 18:32:26 +02:00
2023-09-02 12:36:43 +02:00
2022-12-13 16:00:03 +01:00
2023-05-13 17:23:31 +02:00
cu
2023-06-13 13:24:17 +02:00
2022-10-17 11:49:05 +02:00
2022-10-17 11:49:05 +02:00
2023-04-01 18:16:50 +02:00

Counter-Strike: Football Tests

Competitive multiplayer game where two football fans teams, each team have 5 players, fights in 30 rounds with goal to win more rounds than opponents team. Teams are Attackers and Defenders. Defenders team has goal of protecting their fan base sanctuary every round from desecrate by attackers using their graffiti bomb ball.

promo

Defenders win round by:

  • eliminated all attackers players before bomb planted (touchdown)
  • defusing bomb before it blows (graffiti fireworks)
  • at least one player survive round time and no bomb is planted

Attackers win round by:

  • eliminated all defenders players before round time ends
  • planted bomb (touchdown) before round time ends and don't allow defenders to defuse it

If attackers deploy graffiti bomb before round time ends, then round clock countdown is set to 40 sec and defenders has 30 sec (or 35 sec in case of using defuse kit) to defuse bomb.

This is low violence game so there is no red blood or similar violence visuals.

Setup

Client

Download executable binary for your platform from the latest release, or build latest locally from project source folder.

cd electron/
npm install
npm run dev

Or you can play using modern Web Browser - just open www/index.html in your favorite browser, but for that you will also need WebSocket UDP bridge.

php cli/udp-ws-bridge.php 8081 # will start WebSocket listener on localhost:8081

CORS policy might require web server running.

php -S localhost:9000 -t www/
open http://localhost:9000

Server

Currently, there is no official public server available (as match making service is also WIP), but you can run server yourself (or somebody can host it for you).

composer install -a --no-dev
php cli/server.php 2 # will start server waiting for 2 players to connect

Enabling PHP's JIT compilation should give performance boost so we recommend that.

TODO

Actually not so many hard math things. Mostly just polishing. If you know html/css/js/php languages or 3D modeling/texturing you can join project and help us improve project quicker.

NOT going to implement

  • burst fire and guns with absurd fire rate
  • different players model hit boxes (same hit boxes for all players, only visual clothing design change)
  • player breath animation or any player animation beside walking, crouching, jumping and look movement
  • lag compensation - when you lag it is your problem - your disadvantage

To Be Decided (maybe)

  • aim punch (body shot without kevlar and headshot)
  • aim spread
Description
Multiplayer FPS game - Counter-Strike: Football 🏉
Readme WTFPL 34 MiB
Languages
PHP 82.7%
JavaScript 15.4%
CSS 1.4%
HTML 0.5%