Counter-Strike 1.6 implementation in TypeScript utilizing state of the art browser APIs.
Used https://github.com/MathiasVP/CS as the base.
- Parses and renders .bsp files (version 30) containing map data
- Parses and renders .mdl files (version 10) with textures
- Camera movement, yaw and pitch fully implemented
- Collision detection implemented
- Naive gravity implemented
Please note: No actual data (maps, models, textures, etc.) is included in the project, due to copyright reasons!
-
Copy
cstrike
folder from yourCounter-Strike
into root folder of this project -
Install dependencies
npm install
- Then start webpack
npm start