Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

Звук в аддонах, Sound2DId


Guest Hamaus
 Share

Recommended Posts

Guest Hamaus

Привет всем.

Я недавно начал изучать аддоны для аллодов. Не смог найти достаточно информации по использованию sfx.

ID sfx можно получить с помощью функции GetAddonRelatedSound( name). Name: string -- идентификатор звука.

А как можно получить name?

В мануале написанно: "В настоящее время идентификатор звука - идентификатор его ресурса в базе.". Можно как-то узнать идентификаторы в базе?

Если возможно, напишите простенький пример.

Спасибо за ответ.

Link to comment
Share on other sites

в ResourceSystem/SampleDefaultExt.(UIAddon).xdb есть такие строчки:

<sounds href="" />

<soundsGroups>

<Item>

<groupName />

<sounds href="" />

</Item>

</soundsGroups>

но я таким же способом хотел прикрутить текстуры, но обломался. игра просто не грузится(

Link to comment
Share on other sites

Мы просто не знаем как правильно добавлять звук в игру. В каком он должен быть формате, что должно быть в описателях и т.д.

Текстуры - знаем. Благо в свое время конвертер работал, а сейчас работает TextureViewer от SLA.

Link to comment
Share on other sites

Someone asked this on the NA forums a while back, we couldn't figure it out either. The best I could figure out is this.

http://en.wikipedia.org/wiki/Fmod

The discussion was here http://allods-forum.gpotato.com/viewtopic.php?f=55&t=37403.

The SFX/Voice folder has .bev, .bsb, .fsb files. The last being an FMOD type. My suggestions previously are posted. Some new ones could be <soundItem href=""/> or something similar, since <resource../> didn't work out. There could be some .xdb in betweens which would make discovery a lot more difficult too.

I don't personally desire to implement sounds so I don't want to test this and such. I suggest using some of the sound files from the packs though.

Link to comment
Share on other sites

Obviously. I don't remember saying the idea was that you just slap a single file in there.. My information was what to put into the .xdb for testing...

There's a reason I linked the discussion; so I could skip that information.

Link to comment
Share on other sites

Well there are rumours that people in allodsdatabase.com could get all the models and textst and item desxriptions from the game, duno how, but like a year ago they had best allods database ever (despite the fact that they had "Aion database" header in russsian translation...)

Maybe it's agood idea to ask around there...

Sry didnt read tht discussion, don't have much time.

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use