|
||
|
|||||||
| Script Support Get support for modifying RunUO Scripts, or writing your own! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
Join Date: Aug 2006
Age: 25
Posts: 13
|
Alright, well I got alot of the ugly buisiness out of the way concerning graphics (still have to create an animation for the gun, god damn thats gonna suck) but now I have a sound issue.
I added my sound to the sound.mul using MULPatcher, but it doesnt play in game, I assume I need to do something with sound.def. What do I do? I see " 1426 {-1} 0 " and I'm not sure what it's asking me. This is for my Ghetto UO project, and I need to add firing sounds, and like I've said I got the weapons gump in, the weapons tile, fixed the max attack speed on weapons from 5 ticks to 1 tick, need the animations now, and need to fix the sound. |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: May 2005
Age: 29
Posts: 949
|
First of all: It's totaly possible, that the client doesn't use sound with such high numbers. The last slot used here is 0x5CF. There are more than one seemingly "random" restrictions in the client when it comes to IDs. Of course, this is just an idea, but try to patch the sound in a lower ID.
I don't have any idea, what the sound.def really does. In does not seem to redirect sound-IDs and changing the number in the brackets doesn't seem to change anything with the sound. Strange file. |
|
|
|
|
|
#8 (permalink) |
|
Forum Newbie
Join Date: Aug 2006
Age: 25
Posts: 13
|
Can't be that... I just checked (Running AOS) and my sound file 1488 (I tried a moment ago) is next in line, but will not play.
Take note that the files in MULPatcher have actual names, where as I check to see what mine are called, and they're simple decimal. What's up with that? Missing something here... Last edited by Calimaw; 08-09-2006 at 10:54 AM. |
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
Join Date: May 2005
Age: 29
Posts: 949
|
Nope, that's not it.
I tried to patch a sound (which I saved from 0x5CF before) into 0x358. It doesn't show a name, just a number, but it plays fine (exactly the same as 0x5CF, of course). Patching it into 0x5D0 doesn't work, though, so I suppose the problem is, that the client doesn't read beyong 0x5CF. |
|
|
|
|
|
#10 (permalink) |
|
Forum Newbie
Join Date: Aug 2006
Age: 25
Posts: 13
|
Then... I must ask the question, are you using AOS?
Because I am using AOS, and it does seem 0x5CF is the last one on their, but then what about the new sounds in Samurai Empires??? Edit: NM they are in there. This can't be it! I refuse to accept that it just simpley doesnt read beyond 0x5CF That number doesnt have any special interest for it to be stopped at (correct me if I'm wrong, but I mean... Why stop there? Is there some reason not to go into 5D0?) Last edited by Calimaw; 08-09-2006 at 11:18 AM. |
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
Join Date: May 2005
Age: 29
Posts: 949
|
"Why stop there?" Don't know. It's (or "It was") OSI. Their client was never meant to be customized. I can just guess that the client doesn't read beyond 0x5CF, but I can't be sure if that's really the case or why it is.
|
|
|
|
|
|
#12 (permalink) |
|
Forum Newbie
Join Date: Aug 2006
Age: 25
Posts: 13
|
I wish some one would pop in here and give me a quick fix :P
I've tried toying around with the sample rating & fidelity of the sounds, I figure if ANYTHING is gonna work, it's going to be the exact same thing they use; stereo 11025 16-bit pcm. Well then I tried putting the wav in the very next sequence to avoid any read gaps, that still doesnt work, the sounds.def doesnt line up either, nor is there an explanation of what the hell these other values are in there. So, deduction suggests I try to find out what sounds.def has to do with this garbage, and WHY it doesnt contain a definition for all the wavs. Meh, I'm out of cigarettes, Im tired, I think I just wanna kill some one and then go to sleep... |
|
|
|
|
|
#13 (permalink) |
|
Forum Newbie
Join Date: Aug 2006
Age: 25
Posts: 13
|
Alright well, I got some rest and some cigarettes :P Im ready to give this a go again.
Does any one know for a fact Irian is correct? I hope it's not the case, I'd be forced to go ahead and start breaking the muls to do what I need. |
|
|
|
|
|
#15 (permalink) |
|
Forum Newbie
Join Date: Aug 2006
Age: 25
Posts: 13
|
Well, hopefully it can be fixed easily with a new client or something, some one else confirmed this as well, so you were right all along, but I suspect at one point or another I'll be delete all the OSI sounds save for sounds in use by retained scripts.
Now I just need to find a parterner to help with my GhettoUO project ![]() |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|