Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sergeyshorokhov/serverside_smokenade_amxx
☁️ AMXModX plugin to improve smoke grenades in Counter-Strike 1.6
https://github.com/sergeyshorokhov/serverside_smokenade_amxx
amxmodx amxx colored competitive counter-strike gameplay grenade plugin server-side smoke
Last synced: 30 days ago
JSON representation
☁️ AMXModX plugin to improve smoke grenades in Counter-Strike 1.6
- Host: GitHub
- URL: https://github.com/sergeyshorokhov/serverside_smokenade_amxx
- Owner: SergeyShorokhov
- License: mit
- Created: 2023-10-05T23:04:16.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-31T16:56:42.000Z (about 2 months ago)
- Last Synced: 2024-11-15T08:38:19.986Z (about 1 month ago)
- Topics: amxmodx, amxx, colored, competitive, counter-strike, gameplay, grenade, plugin, server-side, smoke
- Language: Pawn
- Homepage:
- Size: 9.76 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: .github/README.md
- License: LICENSE
Awesome Lists containing this project
README
Is an AMXModX plugin that enhances the smoke grenade effects in Counter-Strike 1.6 (and CS: Condition Zero).## About
This plugin recreates smoke grenade effects (puffs of smoke) on the server side,
provides a more realistic look to smoke grenades in the game
(as it was changed in later iterations of the game such as CS:S, CS:GO, CS2).### Why is it needed
The default smoke sprite (`sprites/gas_puff_01.spr`) is too transparent
and doesn't allow you to take advantage of the smoke grenade in gameplay.### Advantages over standard game smoke
- Improved transparency of the smoke cloud;
- Fixed poor smoke density in 16-bit video game mode;
- Smoke doesn't disappear on HLTV;
- Smoke can't be abused by reconnecting to the server;
- Smoke is always created (even if the client has a congested network channel);
- Ability to change the visual look of the smoke cloud.### Advantages to other similar plugins:
- Ability to set any custom sprite to display smoke;
- Client FPS doesn't drop much;
- Server FPS doesn't drop much;
- The server doesn't flood the client's network channel to display the smoke cloud;
- Doesn't break compatibility with the game:
- Bots understand where smoke is located;
- Cannot see nickname through smoke (mp_playerid);
- Hostages can react to smoke grenade;
- Overview map can show smokes.
- Easy to adjust the color, duration and performance of the smoke cloud;
- No render bugs when positioning the smoke cloud on water;
- Smoke cloud has a very close to the original visual appearance (authenticity);
- Smoke cloud doesn't stay in a new round;
- Cannot be abused with the client command `fastsprites`;
- Smoke doesn't disappear before its lifetime expires;
- Smoke doesn't disappear if the player's internet connection is poor;
- Smoke doesn't disappear if you move away from it.
- Smoke doesn't flicker.### How it works
The plugin blocks the sending of the event to the game client
and recreates smoke clubs using server-side entities,
exactly repeating the shape and animation of the standard smoke.### Important note
> If the smoke effect is fully recreated (`amx_smokegren_replacemode` == `3`), the server load is increased 2x.> Using full smoke grenade recreation (3) is not recommended for servers
that have more than 10 players online (e.g. servers with 32\32 players online).> Also be careful with setting the parameter `amx_smokegren_pieces`,
it directly affects the shape and quality of the smoke grenade,
affecting the server load when using smoke grenades.> In special cases it may be necessary to set a larger number of allocated edicts
using the startup parameter `-num_edicts` (at least `2000`).### Calculations
With standard parameters:
- amx_smokegren_replacemode `1`
- amx_smokegren_pieces `8`One smoke cloud will create `17` entities.
At maximum parameters:
- amx_smokegren_replacemode `3`
- amx_smokegren_pieces `10`One smoke cloud will create `41` entities.
## Acknowledgements:
- [ReGameDLL_CS](https://github.com/s1lentq/ReGameDLL_CS) authors;
- To everyone who has previously tried custom smoke and their code examples;
- To the Counter-Strike developers (for their bugs, including);
- Community https://Dev-CS.ru/ (the most friendly and experienced team of developers).## TODO:
- Correct the remaining visual inaccuracies.
- Implement API;
- Improve integration with GameDLL;
- Optimize sprite;## Known bugs:
- If the smoke duration changes, the grenade entity may not match the smoke duration.
- Tell me## Downloads
- [Release builds](https://github.com/wopox1337/ServerSide_SmokeNade/releases)
- [Dev builds](https://github.com/wopox1337/ServerSide_SmokeNade/actions/workflows/CI.yml)## Contacts
- https://dev-cs.ru/members/4/