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

Eliminate jumping through levels #16

Closed
d3m37r4 opened this issue Dec 7, 2023 · 0 comments · Fixed by #28
Closed

Eliminate jumping through levels #16

d3m37r4 opened this issue Dec 7, 2023 · 0 comments · Fixed by #28

Comments

@d3m37r4
Copy link
Owner

d3m37r4 commented Dec 7, 2023

In a situation where 1 kill (for example, a kill with a knife) gives more points than needed for the level, the player can skip.

Example based on standard level config:

standard level config [GRENADE] weapon=weapon_glock18

[LEVEL]
title=Deagle
weapon=weapon_deagle
points=2
mod=100

[LEVEL]
title=USP
weapon=weapon_usp
points=2
mod=100

[LEVEL]
title=Glock-18
weapon=weapon_glock18
points=2
mod=100

[LEVEL]
title=M4A1
weapon=weapon_m4a1
points=3
mod=100

[LEVEL]
title=AK-47
weapon=weapon_ak47
points=3
mod=100

[LEVEL]
title=Scout
weapon=weapon_scout
points=2
mod=100

[LEVEL]
title=AWP
weapon=weapon_awp
points=2
mod=100

[LEVEL]
title=Hegrenade
weapon=weapon_hegrenade
points=1
mod=50

[LEVEL]
title=Knife
weapon=weapon_knife
points=1
mod=33

Player has a level 'AWP', where you need to get 2 points before moving to next level. Having 0 points, and having committed a murder with a knife, we get 3 points, thereby jumping over the level with a grenade.

It may be more profitable to count points in integer format.

@d3m37r4 d3m37r4 linked a pull request Dec 23, 2023 that will close this issue
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 a pull request may close this issue.

1 participant