Jump to content
Korean Random

[Замена звуков / Sound changing] Звуки на различные события


Recommended Posts

У кого есть список Events что -за что отвечает?
С фрагами, временем, озвучкой экипажа и музыкой я разобрался.
Мне надо событие, когда, к примеру, остался один без союзников. 
Или это событие надо прописывать в скрипте?

Link to comment
Short link
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Hi all! 

 

Got question about "fragAnnouncer". Is it working propertly? 
- created SM_frags bank
- added to "sounds.xc" with cfg path
- other banks with enemy killed, reloaded etc are working fine but only this fragAnnouncer is not playing sound...

Link to comment
Short link
Share on other sites

@night_dragon_on добрый день.Извиняюсь за надоевший наверно Вам вопрос о подрыве БК у противника.Может Вы напишете скрипт,что бы проигрывался звук  с помощью XVM.Ещё раз извиняюсь:hiding:

Link to comment
Short link
Share on other sites

  • 2 weeks later...
On 2/5/2021 at 6:54 PM, night_dragon_on said:

 

Did you build your bank on your own based on an example project from (my Wwise theme).

Or was the file taken from the archive with the addition?


Builded own sounds based on an example project from yours wwise theme... 
Did a same thing with SM_enemy_killed and this works fine. 

Link to comment
Short link
Share on other sites

On 2/21/2021 at 8:58 AM, night_dragon_on said:

 

Try to download the updated project and rebuild your bank again.


Downloaded and created bank with sounds from the project for tests. Aaaaaand still no frags sound. 


In sounds.xc I added this on soundmapping section: 
"xvm_frags_1": "SM_frags_1",
"xvm_frags_2": "SM_frags_2",
"xvm_frags_3": "SM_frags_3",
"xvm_frags_4": "SM_frags_4",
"xvm_frags_5": "SM_frags_5",
"xvm_frags_6": "SM_frags_6",
"xvm_frags_7": "SM_frags_7",
"xvm_frags_8": "SM_frags_8",
"xvm_frags_9": "SM_frags_9",
"xvm_frags_10": "SM_frags_10",
"xvm_frags_11": "SM_frags_11",
"xvm_frags_12": "SM_frags_12",
"xvm_frags_13": "SM_frags_13",
"xvm_frags_14": "SM_frags_14",
"xvm_frags_15": "SM_frags_15",

 

I'm also using SM_enemy_killed bank. Maybe this bank wont work together with SM_frags? 

 

Link to comment
Short link
Share on other sites

5 часов назад, homer_ сказал:

Maybe this bank wont work together with

 

No, banks are independent from each other.
Attach to message the project you put together with your sounds.

 

21.02.2021 в 12:33, homer_ сказал:

Did a same thing with SM_enemy_killed and this works fine.

 

And this one too.

Link to comment
Short link
Share on other sites

55 minutes ago, night_dragon_on said:

 

No, banks are independent from each other.
Attach to message the project you put together with your sounds.

 

 

And this one too.

 

Project is a same as yours (updated version project). Downloaded from here. 

I only changed wave files, thats all. 

Edited by homer_
Link to comment
Short link
Share on other sites

12.02.2021 в 12:47, S.N сказал:

@night_dragon_on добрый день.Извиняюсь за надоевший наверно Вам вопрос о подрыве БК у противника.Может Вы напишете скрипт,что бы проигрывался звук  с помощью XVM.Ещё раз извиняюсь:hiding:

По поводу написания скриптов спец @ktulho . На крайний случай есть мод.

Link to comment
Short link
Share on other sites

Озвучка взрыва БК противника:

Добавить в конфиг:

"soundMapping": {
  ...
  "xvm_enemy_blownup": "youEvent",
  ...
}

Где youEvent - ваше событие

Edited by night_dragon_on
✂ Обновление вложений ...
  • Upvote 4
Link to comment
Short link
Share on other sites

Доброе утро @night_dragon_on ,что то не работает,выдаёт такую ошибку:

 

2021-03-06 08:01:28.797: INFO: 2021-03-06 08:01:28: [ERROR] mods/xfw_libraries/xfw/events.pyc
2021-03-06 08:01:28.797: ERROR: Traceback (most recent call last):
2021-03-06 08:01:28.797: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2021-03-06 08:01:28.797: ERROR:   File "./xfw/events.py", line 24, in fire
2021-03-06 08:01:28.798: ERROR:   File "res_mods/configs/xvm/py_macro\xvm_enemy_blownup.py", line 24, in onHealthChanged
2021-03-06 08:01:28.798: ERROR:     onHealthChanged(newHealth, attackerID)
2021-03-06 08:01:28.798: ERROR:   File "res_mods/configs/xvm/py_macro\xvm_enemy_blownup.py", line 35, in onHealthChanged
2021-03-06 08:01:28.798: ERROR:     if blownup and isPlayer and config.get('sounds/enabled'):
2021-03-06 08:01:28.798: ERROR: NameError: global name 'config' is not defined

Link to comment
Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...