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

New features & fixes #13

Closed
wants to merge 9 commits into from
Closed

New features & fixes #13

wants to merge 9 commits into from

Conversation

emvaized
Copy link

@emvaized emvaized commented Aug 19, 2021

  • Fix to don't start duel when bomb was planted
  • Added 'random weapon' switch. When duel_random_weapon is set to 1 (default 0), duelist will get only one random weapon from duel_weapon, instead of all at once
  • Increased DropWeapons() counter to 12 in order to also drop healthshots (and maybe other slots between 5 and 12, which were previously ignored)
  • Removed check GetIntCookie(i, g_SoundsCookie) == 0 in PlaySoundAll(), which was causing sounds to not be played at all for me (and it seems, for some other users as well). Replaced it with !IsFakeClient(i) check instead, which ensures that sounds will not be played for bot clients
  • Added duel_speed_award cvar to increase speed for duel's winner. By default equals to 0.0, which means no speed award

Version number is the same (4.0.9)

- Added 'random weapon' switch. When "duel_random_weapon" is set to 1 (default 0), duelist will get only one random weapon from duel_weapon, instead of all at once
- Increased DropWeapons() counter to 12 in order to also drop healthshots (and maybe other slots between 5 and 12, which were previously ignored)
- removed check for "GetIntCookie(i, g_SoundsCookie) == 0" in "PlaySoundAll", which were causing sounds to not be played at all for me (and it seems, for some other users as well). Replaced it with "!IsFakeClient(i)" check instead, which ensures music will not be played for bot clients
@emvaized emvaized changed the title Fix to don't start duel when bomb was planted New features & fixes Aug 21, 2021
@abnerfs
Copy link
Owner

abnerfs commented Jan 8, 2023

I implemented the bomb plant check in https://github.com/abnerfs/abner_duel/releases/tag/4.0.10, thanks for the idea, I also moved the prefix to the translation file so people can change it without recompiling the plugin, about the random weapon thing I don't quite want to add it right now so closing this, thanks for the contribution

@abnerfs abnerfs closed this Jan 8, 2023
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

2 participants