Skip to content

implement env_rain & env_snow like the original CS#346

Merged
a1batross merged 1 commit into
Velaron:mainfrom
hasandramali:particleman
May 18, 2026
Merged

implement env_rain & env_snow like the original CS#346
a1batross merged 1 commit into
Velaron:mainfrom
hasandramali:particleman

Conversation

@hasandramali
Copy link
Copy Markdown
Contributor

I know you guys don't like me, so i won't get into personal stuff here.
The rain and snow effects in PC CS added a lot to the game's atmosphere; I think it would be great if you included small details like that so i think it's definitely worth working on...

particleman prototype:
IMG_20260516_233552

8mb.video-3od-IyDIeOyf.mp4

@a1batross
Copy link
Copy Markdown
Collaborator

Can you remove old rain code too?

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

Before creating the PR, could you clean up the unnecessary commits?

You created a file, added some code, and then removed it again later. I don't really see why that was necessary.

@a1batross
Copy link
Copy Markdown
Collaborator

Before creating the PR, could you clean up the unnecessary commits?

You created a file, added some code, and then removed it again later. I don't really see why that was necessary.

yeah, agree here. In the worst case it can be squash merged, so none of this is going to be in history.

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

@hasandramali Do you know how to use git?

You should have used git reset --soft HEAD~N, where N is the number of your commits, to roll back while keeping the changes.

Then you could make a new commit, or a few commits related to integrating particleman for weather effects.

After that, run git push -u origin <your-branch> --force to force-push your branch with a cleaned-up commit history.

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

Also, commit messages should be formatted like this: folder: file: commit message or file: commit message. You can check our commit history as an example.

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

I still see the old commits in your branch.
Screenshot_20260517_140307_GitHub.jpg

@hasandramali hasandramali force-pushed the particleman branch 2 times, most recently from 35a3927 to 784663a Compare May 17, 2026 10:02
@hasandramali
Copy link
Copy Markdown
Contributor Author

Sorry about that, this is my first time making a pull request. Did it work now?

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

Sorry about that, this is my first time making a pull request. Did it work now?

You also changed the commit message for the mainui_cpp submodule, which shouldn’t have been modified. You should have only committed your changes.

Copy link
Copy Markdown
Collaborator

@a1batross a1batross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, it seems particleman and environment logic has been taken from halflife-updated and hlsdk-featureful.

It would be nice to add proper attribution for the authors for this code.

Copy link
Copy Markdown
Collaborator

@a1batross a1batross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, drop all changes in 3rdparty.

@hasandramali
Copy link
Copy Markdown
Contributor Author

I was late in fixing the PR due to sudden internet outages. is it okay now?

Copy link
Copy Markdown
Collaborator

@a1batross a1batross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me. Need some cleanup, but I think it can be done later.

What's your thoughts @Vladislav4KZ?

The particleman code was taken from the halflife-featureful repository.
@hasandramali
Copy link
Copy Markdown
Contributor Author

Apologies, I missed updating a few minor values for snow distance & snow rate. Everything is all set now.

@Vladislav4KZ
Copy link
Copy Markdown
Contributor

@a1batross I think it can be merged.

@a1batross
Copy link
Copy Markdown
Collaborator

Once build finishes, I will merge it.

@hasandramali thanks, good job!

@a1batross a1batross merged commit 8b7db69 into Velaron:main May 18, 2026
9 checks passed
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.

3 participants