Author Topic: [DONE][SUGGESTION] Priming grenades sound  (Read 2809 times)

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • I know a lot about the law and other lawyerings.
    • View Profile
[DONE][SUGGESTION] Priming grenades sound
« on: April 26, 2021, 06:50:01 am »
Howdy!

I'd like to make a (i hope) small suggestion for a new addition: a priming sound for grenades (battleType: 4)!
My ideas for it are basically having a small "ping!" when you prime a Frag, a tic-tac sound on a TNT pack or a lighter starting fire on the cloth of a Molotov!

Example below

Code: [Select]
items:
  - type: STR_GRENADE
    explosionHitSound: 50
    primeSound: 51
    tuPrime: 20

I hope this may be useful for other modders besides me and i hope this may be easy to implement. Thanks in advance!
« Last Edit: January 02, 2022, 06:04:20 pm by Meridian »

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [SUGGESTION] Priming grenades sound
« Reply #1 on: September 15, 2021, 10:48:14 am »
As grenade type items can also be unprimed please also allow for each item to play its own custom unprime sound as well if you implement custom grenade priming sounds.

Code: [Select]
items:
  - type: STR_GRENADE
    explosionHitSound: 50
    primeSound: 51
    unprimeSound: 52
    tuPrime: 20
    tuUnprime: 20



Offline BlackStaff

  • Colonel
  • ****
  • Posts: 336
    • View Profile
Re: [SUGGESTION] Priming grenades sound
« Reply #2 on: September 15, 2021, 02:13:19 pm »
Very good idea...  ;)

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9104
    • View Profile
Re: [SUGGESTION] Priming grenades sound
« Reply #3 on: January 02, 2022, 06:04:05 pm »
Done.
Can be a single sound, or a list of sounds.

Code: [Select]
items:
  - type: STR_GRENADE
    primeSound: 52
    unprimeSound: 52
    unprimeActionName: STR_UNPRIME_GRENADE

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • I know a lot about the law and other lawyerings.
    • View Profile
Re: [DONE][SUGGESTION] Priming grenades sound
« Reply #4 on: January 05, 2022, 04:27:26 am »
Thank you so much, Meridian! :D