Skip to content

Remove dumb gun cheese#86232

Open
RenechCDDA wants to merge 1 commit intoCleverRaven:masterfrom
RenechCDDA:remove_more_stupid_fucking_cheese
Open

Remove dumb gun cheese#86232
RenechCDDA wants to merge 1 commit intoCleverRaven:masterfrom
RenechCDDA:remove_more_stupid_fucking_cheese

Conversation

@RenechCDDA
Copy link
Copy Markdown
Member

@RenechCDDA RenechCDDA commented Apr 3, 2026

Summary

None

Purpose of change

People refuse to just play the fucking game

Describe the solution

Remove more dumb infinite training cheese

Standing on a tree/rooftop/ledge and shooting a zombie does not work as an infinite training dummy.

Describe alternatives you've considered

I would really like to use the "times_combatted" stat here but for various reasons related to how the shooting function is structured, we only know what is hit inside of a much earlier for-loop.

Testing

Additional context

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels Apr 3, 2026
@RenechCDDA RenechCDDA force-pushed the remove_more_stupid_fucking_cheese branch from 07a3b86 to 71de305 Compare April 3, 2026 23:32
@RenechCDDA RenechCDDA marked this pull request as ready for review April 3, 2026 23:32
@RenechCDDA RenechCDDA force-pushed the remove_more_stupid_fucking_cheese branch from 71de305 to 58106f5 Compare April 3, 2026 23:35
@Aimless-dude
Copy link
Copy Markdown
Contributor

The commenting is slightly confusing here. Does this mean that any shots from different z levels won't train? Or is it only when a zombie is both very near and on a differnt z level?

@Termineitor244
Copy link
Copy Markdown
Contributor

The commenting is slightly confusing here. Does this mean that any shots from different z levels won't train? Or is it only when a zombie is both very near and on a differnt z level?

The comment in the code is more descriptive:

// Marksmanship and gun skills only train for attacks taking place at least 2 tiles away, or on the same z-level.

So you can still gain skill by shooting from different Z-levels, as long as they are not literally just in front of you.

@Tiareth
Copy link
Copy Markdown
Contributor

Tiareth commented Apr 4, 2026

Where's the cheese? Shooting costs ammo, and zombies evolve, eventually turning into something that can reach a player standing on a roof. Your fix won't fix the cheese, it'll just make it little harder to execute. brainless and crawling zombies are excellent targets for training, and you don't need to hide on the roof from them. For regular zombies, you can find or build a chainlink fence and herd the zombie in. Zombies usually have poor vision at night, which can be used to set up night shooting ranges. Those with good night vision should be finished off, and those with poor vision should be left for reviving.

@anoobindisguise
Copy link
Copy Markdown
Contributor

anoobindisguise commented Apr 4, 2026

This highly specific bandaid won't fix the majority of situations where you can cheese enemies with a gun.
For example, shooting a zombie behind reinforced glass with a .22 trains guns. Unloading infinite bullets into a very slow regenerating sludge crawler trains guns. There are too many cases for whack-a-mole patching like this to be sufficient.
We can definifely try to whack every mole but it feels like a more comprehensive approach would accomplish your goal better.

@RenechCDDA
Copy link
Copy Markdown
Member Author

Thanks, I'm more than happy to whack as many moles as I can. I would be happy to whack them all at once if you've got a reasonable idea though.

@RenechCDDA
Copy link
Copy Markdown
Member Author

Thanks, that did get me thinking. I've used times_combatted_player now to completely close off all avenues of cheese.

@RenechCDDA RenechCDDA force-pushed the remove_more_stupid_fucking_cheese branch from 58106f5 to 7b74dec Compare April 5, 2026 00:12
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Apr 5, 2026
@DeinonychusDiscord

This comment was marked as abuse.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 5, 2026

Hi @DeinonychusDiscord, welcome to CleverRaven! We see that this is your first time commenting here. Check out how development works and be sure to follow the code of conduct! We hope to see you around!

@Standing-Storm
Copy link
Copy Markdown
Contributor

Standing-Storm commented Apr 5, 2026

Thanks, that did get me thinking. I've used times_combatted_player now to completely close off all avenues of cheese.

Is using a creature as a training dummy more effective than making an aim spot and using that as a training dummy?

(I have no idea of the answer, I haven't used guns in DDA in a while)

Edit: Looks like an actual moving target is about twice as effective.

@RenechCDDA
Copy link
Copy Markdown
Member Author

Edit: Looks like an actual moving target is about twice as effective.

Yes, that is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants