Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add natives from: IsInsideCloudSmoke & IsLineBlockedBySmoke #251

Open
RauliTop opened this issue Mar 16, 2022 · 0 comments
Open

Add natives from: IsInsideCloudSmoke & IsLineBlockedBySmoke #251

RauliTop opened this issue Mar 16, 2022 · 0 comments

Comments

@RauliTop
Copy link
Contributor

RauliTop commented Mar 16, 2022

With this natives, more features can be used by customized smokegrenades.

https://github.com/s1lentq/ReGameDLL_CS/blob/f57d28fe721ea4d57d10c010d15d45f05f2f5bad/regamedll/game_shared/bot/bot_manager.cpp#L306-L336

https://github.com/s1lentq/ReGameDLL_CS/blob/f57d28fe721ea4d57d10c010d15d45f05f2f5bad/regamedll/game_shared/bot/bot_manager.cpp#L338-L461

For example,

  • Gas/Heal Smoke: check if player is inside the smoke and take him damage or heal him.
  • Shield Smoke: smoke not penetrable to bullets.
  • Invisible Player Smoke: set players invisible when touch/inside smoke.
  • more and more ideas...

IsLineBlockedBySmoke has already ported to amxx pawn: https://dev-cs.ru/threads/222/page-9#post-81227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant