Do Not Click On The Honey Pot !

Let the players choose the shot sounds

General discussions about the tennis games Tennis Elbow
Forum rules
Speak English and don't hijack topics, troll, use profanities nor insults

Let the players choose the shot sounds

Postby matservant » 03 Jun 2026, 17:32

Hello,

Would it be possible to add a way for the players to choose manually the shot sounds they want on any court ?
By default, it could be the shot sounds we defined in the mod, on each surface, but players could in the menu, override it and select any shot sounds from the Sounds folder

Thanks !
XKT modder (2D Courts, Sounds)
User avatar
matservant
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 251
Gaming Since: 22 Jun 2015, 14:24
Location: Paris

Re: Let the players choose the shot sounds

Postby manutoo » 04 Jun 2026, 05:48

Hello,

you can do it => viewtopic.php?p=299687#p299687 .

Add an option in the menus using StringCfg -1 Your1stFolderName Your2ndFolderName etc.
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 21070
Gaming Since: 24 Jan 2004, 15:38
Location: France

Re: Let the players choose the shot sounds

Postby matservant » 04 Jun 2026, 13:16

Oh great, thanks. Where do I add "StringCfg -1 Your1stFolderName Your2ndFolderName" ?
XKT modder (2D Courts, Sounds)
User avatar
matservant
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 251
Gaming Since: 22 Jun 2015, 14:24
Location: Paris

Re: Let the players choose the shot sounds

Postby manutoo » 05 Jun 2026, 05:13

In the Audio or 3D match settings, I guess.
Actually, the folder names aren't put after StringCfg ; check how StringCfg is used in other menu files (ie: you'll have to add the folder name into lang_English.txt ).
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 21070
Gaming Since: 24 Jan 2004, 15:38
Location: France

Re: Let the players choose the shot sounds

Postby matservant » 05 Jun 2026, 19:58

Thanks for help, I just tried and it works perfectly. But I have to exit the current game to go back to main menu, and resume the current game to hear the new hit sounds I selected in the menu. Could you add an engine action like "UpdateHits", like UpdateUmpire, so the change is instantly applied ?
XKT modder (2D Courts, Sounds)
User avatar
matservant
crazy of the little yellow ball
crazy of the little yellow ball
 
Messages: 251
Gaming Since: 22 Jun 2015, 14:24
Location: Paris

Re: Let the players choose the shot sounds

Postby manutoo » 06 Jun 2026, 05:43

No, sorry, it's working well enough as it is, so I'm not touching it... :fear:
ManuTOO
== Mana Games ==

>> I don't answer Private Message, except if it's really a _Private_ topic <<
User avatar
manutoo
Game Author
 
Messages: 21070
Gaming Since: 24 Jan 2004, 15:38
Location: France


Return to Tennis Elbow 4

Who is online

Users browsing this forum: ClaudeBot and 8 guests