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

Client: Server: Implement fog #225

Merged
merged 9 commits into from
May 28, 2024
Merged

Client: Server: Implement fog #225

merged 9 commits into from
May 28, 2024

Conversation

ScriptedSnark
Copy link
Contributor

@ScriptedSnark ScriptedSnark commented May 28, 2024

Adds fog support and implements "Fog" usermsg which is also the same as in CS. Can be disabled by typing gl_fog 0 in console.

Based on ReGameDLL code.

Showcase (zm_infect_click21):
fog_hl

@Safety1st
Copy link

Yep, modern hardware must be utilized better 👍😜

src/game/client/fog.h Outdated Show resolved Hide resolved
src/game/client/hud_msg.cpp Show resolved Hide resolved
src/game/client/view.cpp Outdated Show resolved Hide resolved
src/game/client/fog.h Outdated Show resolved Hide resolved
src/game/server/effects.h Outdated Show resolved Hide resolved
src/game/server/player.cpp Outdated Show resolved Hide resolved
src/game/server/player.cpp Outdated Show resolved Hide resolved
src/game/server/triggers.cpp Show resolved Hide resolved
@tmp64 tmp64 merged commit 7538c9e into tmp64:master May 28, 2024
4 checks passed
@rtxa
Copy link

rtxa commented May 28, 2024

Finally gonna be able to see fog in those maps with env_fogs in HL :)

@Safety1st
Copy link

Safety1st commented May 28, 2024

Could a fog be seen only by players with BHL? Could it be disabled on client side?

@ScriptedSnark
Copy link
Contributor Author

Could a fog be seen only by players with BHL? Could it be disabled on client side?

Unfortunately it's only for BHL players. Can be disabled by typing gl_fog 0.

@Safety1st
Copy link

Owners of Zombie servers will be not satisfied 🙂

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

Successfully merging this pull request may close these issues.

None yet

4 participants