Не воспроизводит звуки в плагине CWAPI

Сообщения
34
Реакции
1
Помог
1 раз(а)
Ошибка
Не воспроизводит звуки в плагине CWAPI
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5271
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.8.0.711-dev
Build date: 13:13:38 Feb 6 2021 (2492)
Build from: https://github.com/dreamstalker/rehlds/commit/722e19d
ReGamedll
ReGameDLL version: 5.20.0.492-dev
Build date: 15:26:35 Jan 4 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/aae507c
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5271 ini Start ANY
[ 2] ReAPI RUN - reapi_amxx_i386.so v5.19.0.211-dev pl1 ANY Never
[ 3] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 4] MySQL RUN - mysql_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 5] CSX RUN - csx_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 6] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 7] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5271 pl1 ANY ANY
[ 8] ReCSDM RUN - csdm_amxx_i386.so v3.6 pl1 ANY ANY
8 plugins, 8 running
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.9.0.5271 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.9.0.5271 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.9.0.5271 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.9.0.5271 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.9.0.5271 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.9.0.5271 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.9.0.5271 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.9.0.5271 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.9.0.5271 AMXX Dev Team mapsmenu.amxx running
[ 10] Plugin Menu 1.9.0.5271 AMXX Dev Team pluginmenu.amxx running
[ 11] Admin Chat 1.9.0.5271 AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.9.0.5271 AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.9.0.5271 AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.9.0.5271 AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.9.0.5271 AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.9.0.5271 AMXX Dev Team nextmap.amxx running
[ 17] Nextmap Chooser 1.9.0.5271 AMXX Dev Team mapchooser.amxx running
[ 18] TimeLeft 1.9.0.5271 AMXX Dev Team timeleft.amxx running
[ 19] Pause Plugins 1.9.0.5271 AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.9.0.5271 AMXX Dev Team statscfg.amxx running
[ 21] CSStatsX SQL 0.7.4+2 serfreeman1337 csstatsx_sql.am debug
[ 22] AES: StatsX 0.5+1 serfreeman1337 aes_statsx_cstr debug
[ 23] [H] Tools 1.0.0 fl0wer h-tools.amxx debug
[ 24] Sentry Guns 1.0.0 fl0wer h-sentryguns.am debug
[ 25] Laser Mines 1.0.0 fl0wer h-lasermines.am debug
[ 26] Dispenser 1.0.0 fl0wer h-dispenser.amx debug
[ 27] Simple Damager 2.1.0 fl0wer h-damager.amxx debug
[ 28] Re Lite Rank System Alpha AcE literank.amxx running
[ 29] HGRP 1.0 PurposeLess hook.amxx running
[ 30] ReCSDM Main 3.6 ReCSDM Team csdm_main.amxx running
[ 31] ReCSDM Spawns 3.6 ReCSDM Team csdm_spawn_pres running
[ 32] ReCSDM Misc 3.6 ReCSDM Team csdm_misc.amxx running
[ 33] ReCSDM Stripper 3.6 KWo csdm_stripper.a running
[ 34] ReCSDM Protection 3.6 BAILOPAN csdm_protection running
[ 35] Custom Weapons API 0.6.0-beta ArKaNeMaN CustomWeaponsAP running
[ 36] [CWAPI] Shop 1.0.1 ArKaNeMaN CWAPI_Shop.amxx running
[ 37] [CWAPI][Test] Abil Par 1.0.0 ArKaNeMaN CWAPI_Test_Abil running
[ 38] [CWAPI][Ability] Test 1.0 ArKaNeMaN CWAPI_Test_Hook running
[ 39] [CWAPI][Test] Search 1.0.0 ArKaNeMaN CWAPI_Test_Sear running
39 plugins, 39 running
Автор плагина
ArKaNeMaN
Версия плагина
0.6.0-beta
Исходный код
Файл прикреплен
Добрый день
Поставил модельку нового glock18, модель заменилась, характеристики оружия меняются, но звуки не заменяются, либо не воспроизводятся точно не знаю
И так же нет звука, когда достаешь оружие и нет звука перезарядки

{
"DefaultName": "glock18",
"ClipSize": 25,
"MaxAmmo": 250,
"Models": {
"v": "models/glock18_1/v_glock18_1.mdl",
"p": "models/glock18_1/p_glock18_1.mdl",
"w": "models/glock18_1/w_glock18_1.mdl"
},
"Sounds": {
"OnlyPrecache": [
"weapons/glock18_1/glock_clipin.wav",
"weapons/glock18_1/glock_clipout.wav",
"weapons/glock18_1/glock_draw.wav",
"weapons/glock18_1/glock_slideback.wav",
"weapons/glock18_1/glock_sliderelease.wav"
]
},
"DamageMult": 1.15,
"Price": 100
}

Так же пробовал декомпилировать модель и заменить путь к звукам в самой модели

/*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2
2003, Kratisto. Based on code from Valve's HL SDK.

v_glock18_1.mdl

Original internal name:
"v_glock18.mdl"

==============================================================================
*/

$modelname "v_glock18_1.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "bodypart0" "body0_0"

$body "bodypart1" "body1_0"


// 8 hit box(es)
$hbox 0 "bone1" -3.799515 -1.080000 -1.870000 5.637817 0.980000 9.243799
$hbox 0 "bone2" -1.410000 -0.610000 -0.470000 0.000000 0.490000 0.570000
$hbox 0 "bone18" -3.799512 -1.230000 -1.780000 0.160000 0.800000 1.930000
$hbox 0 "bone19" -1.330000 -0.620000 -0.630000 0.000000 0.570000 0.400000
$hbox 0 "bone34" -2.580000 -2.190000 -0.620000 0.530000 2.400000 2.160000
$hbox 0 "bone35" -2.430000 -2.480000 -1.910000 0.610000 2.110000 0.850000
$hbox 0 "bone36" -0.440000 -1.750465 -1.860000 0.830000 2.700000 6.150000
$hbox 0 "bone38" -0.330000 -0.040000 -0.930000 0.730000 4.270000 1.080000

// 14 animation sequence(s)
$sequence "sequence13_1" "sequence13_1" fps 0
$sequence "sequence1" "sequence1" fps 25
$sequence "sequence2" "sequence2" fps 25
$sequence "sequence3" "sequence3" fps 23 {
{ event 5001 0 "11" }
{ event 5001 2 "11" }
{ event 5001 4 "11" }
}
$sequence "sequence4" "sequence4" fps 23 {
{ event 5001 0 "11" }
{ event 5001 2 "11" }
{ event 5001 4 "11" }
}
$sequence "sequence5" "sequence5" fps 30 { event 5001 0 "11" }
$sequence "sequence6" "sequence6" fps 35 { event 5001 0 "11" }
$sequence "sequence7" "sequence7" fps 26 {
{ event 5004 10 "weapons/glock18_1/glock_clipout.wav" }
{ event 5004 20 "weapons/glock18_1/glock_clipin.wav" }
{ event 5004 34 "weapons/glock18_1/glock_slideback.wav" }
{ event 5004 39 "weapons/glock18_1/glock_sliderelease.wav" }
}
$sequence "sequence8" "sequence8" fps 26 {
{ event 5004 0 "weapons/glock18_1/glock_draw.wav" }
{ event 5004 10 "weapons/glock18_1/glock_slideback.wav" }
{ event 5004 14 "weapons/glock18_1/glock_sliderelease.wav" }
}
$sequence "sequence9" "sequence9" fps 25
$sequence "sequence10" "sequence10" fps 20
$sequence "sequence11" "sequence11" fps 26 {
{ event 5004 0 "weapons/glock18_1/glock_draw.wav" }
{ event 5004 10 "weapons/glock18_1/glock_slideback.wav" }
{ event 5004 14 "weapons/glock18_1/glock_sliderelease.wav" }
}
$sequence "sequence12" "sequence12" fps 26 {
{ event 5004 10 "weapons/glock18_1/glock_clipout.wav" }
{ event 5004 20 "weapons/glock18_1/glock_clipin.wav" }
{ event 5004 34 "weapons/glock18_1/glock_slideback.wav" }
{ event 5004 39 "weapons/glock18_1/glock_sliderelease.wav" }
}
$sequence "sequence13_2" "sequence13_2" fps 0

// End of QC script.
16 Фев 2021
Файл
16 Фев 2021
Файл
 

Вложения

ArKaNeMaN

Квалифицированный специалист по VipModular
Сообщения
434
Реакции
296
Помог
5 раз(а)
lemonztree,
И так же нет звука, когда достаешь оружие и нет звука перезарядки
Про звуки доставания и перезарядки ничего не могу сказать... Плагин за них никак не отвечает, только кидает в прекеш.

А вот про звуки стрельбы знаю, но пока не нашёл решение... Когда-то тут создавал тему по этой проблеме, но подходящего решения не нашёл.

Если кто-то подскажет как нормально сделать звуки выстрелов, буду благодарен.
 
Сообщения
1,560
Реакции
1,573
Помог
2 раз(а)
А я вот скажу в чём проблема )
Посмотри как привязаны звуки в определённых событиях "idle1" "reload" "draw"

$sequence "idle1" "idle1" fps 30 loop { event 5004 1 "weapons/buffaug_idle.wav" }
$sequence "reload" "reload" fps 18 { event 5004 1 "weapons/buffaug_reload.wav" }
$sequence "draw" "draw" fps 35 { event 5004 1 "weapons/buffaug_draw.wav" }


А у тебя...ну сам понял как )))
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу