Dreu Noctem


Reply to this topicStart new topicStart Poll

> Loot Sounds
arQon
Posted: Oct 14 2017, 12:10 PM
Quote Post


EMS creator and DN Offical Bug Manager


Group: DN Design Lead
Posts: 4842
Member No.: 297
Joined: 14-September 04



when looting a dead Shael tongue.gif you can get a LOT of pots (i think i just got *9* of them!). which is fine, but the pot sound plays all 9 times on top of each other. probably worth tweaking the autoloot code to uniquify sound effects.


--------------------
azmaveth> so, for my first stint as a dm, I feel the need to spawn a dragon or two on a party of babies...
dave> go find Kev when he makes his next baby :p
dave> he prolly kill it
PM
Top
arQon
Posted: Oct 14 2017, 04:38 PM
Quote Post


EMS creator and DN Offical Bug Manager


Group: DN Design Lead
Posts: 4842
Member No.: 297
Joined: 14-September 04



armors (possibly only +5 ones, tho i doubt it) are giving ?shield? sound effects when looted. happened with both Full Plate and Leather.


--------------------
azmaveth> so, for my first stint as a dm, I feel the need to spawn a dragon or two on a party of babies...
dave> go find Kev when he makes his next baby :p
dave> he prolly kill it
PM
Top
dave
Posted: Oct 14 2017, 08:08 PM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14377
Member No.: 78
Joined: 30-March 03



We've found a few discrepancies in the loot sound FX. We think Katanas don't sound heavy enough, and there's a couple more reports from Kev over here:

http://www.dreunoctem.com/index.php?showto...t=0&#entry41688

The code picking which sound to use is in dn_inc_soundfx:

CODE

// o - object to get the sound type from; sound is cross-referenced from 2da files
//
string DN_GetObjectInventorySoundType( object o );
string DN_GetObjectInventorySoundType( object o )
{
   if( ! GetIsObjectValid( o ) )
       return "";

   if( OBJECT_TYPE_ITEM != GetObjectType( o ) )
       return "";

   int nRef = StringToInt( Get2DACache( "baseitems", "InvSoundType", GetBaseItemType( o ) ) );
   string sRef = Get2DACache( "inventorysnds", "InventorySound", nRef );

   // 2014/05/30 - lookup working as intended; sound fx are unreliable though
   //DN_Debug_SpeakString( "[dn_inc_soundfx] DN_GetObjectInventorySoundType() returns: " + sRef );

   return sRef;
}



So, "baseitems.2da" has a reference per line into "inventorysnds.2da". We've definitely customized the former, but probably not for sounds, and I don't thin we've touched teh latter. Anyway, we can chase stuff that bugs us in those 2das for updates.

/will come back to this later - busy'ish parenting. tongue.gif

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
dave
Posted: Oct 15 2017, 04:39 AM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14377
Member No.: 78
Joined: 30-March 03



QUOTE (arQon @ Oct 14 2017, 11:38 AM)
armors (possibly only +5 ones, tho i doubt it) are giving ?shield? sound effects when looted. happened with both Full Plate and Leather.

All armors are the same base item type, and it looks like they get "Misc Medium" sound.

Different shields are different base item types, they have as follows:

*small shield - small wood
*large shield - generic medium
*tower shield - plate armor

I've poked the sound effect selection code to try and differentiate the armors by AC to pick a more appropriate sound for the next patch.

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
dave
Posted: Oct 15 2017, 04:40 AM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14377
Member No.: 78
Joined: 30-March 03



QUOTE (arQon @ Oct 14 2017, 07:10 AM)
when looting a dead Shael tongue.gif you can get a LOT of pots (i think i just got *9* of them!). which is fine, but the pot sound plays all 9 times on top of each other. probably worth tweaking the autoloot code to uniquify sound effects.

For now I spaced out the sounds by 0.5 seconds for the next patch, instead of the current 0.2 seconds. There's a constant we can tweak in dn_inc_soundfx for this, and it's less work than nuking dupe sounds (me /lazy). smile.gif

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
arQon
Posted: Oct 15 2017, 01:27 PM
Quote Post


EMS creator and DN Offical Bug Manager


Group: DN Design Lead
Posts: 4842
Member No.: 297
Joined: 14-September 04



grue corpses with finger+HK+gold are now making ?heavy shield? pickup sounds on autoloot (can't tell which item is at fault).


--------------------
azmaveth> so, for my first stint as a dm, I feel the need to spawn a dragon or two on a party of babies...
dave> go find Kev when he makes his next baby :p
dave> he prolly kill it
PM
Top
dave
Posted: Oct 16 2017, 02:58 AM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14377
Member No.: 78
Joined: 30-March 03



QUOTE (arQon @ Oct 15 2017, 08:27 AM)
grue corpses with finger+HK+gold are now making ?heavy shield? pickup sounds on autoloot (can't tell which item is at fault).

Healer's Kits play "it_genericsmall".

Grue fingers/misc small items play "it_generic_tiny".

Gold sounds right from when its the only thing we find.

We did add redundant base item types for the Misc categories so I could add more icons; those InventorySounds did NOT match the corresponding BW base item types - they were all set to "it_genericsmall".

Some will now reference "it_generictiny" and "it_genericmedium", to better match the original base item types, as of the next patch.

This change doesn't impact the stuff you reported though. sad.gif

-Dave


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
dave
Posted: Oct 17 2017, 03:50 AM
Quote Post


shad but true


Group: DN Design Lead
Posts: 14377
Member No.: 78
Joined: 30-March 03



Ug, I'm wrong. Potion sound has changed.

Easy place to test: Notus Mountain. smile.gif

-Dave


EDIT: Fixed. smile.gif

This post has been edited by dave on Oct 17 2017, 05:00 AM


--------------------
Dreu Noctem
- featuring arQon's EMS Spell system
- DN Bug reports go here or here!


[12:32] <arQon> i can design a munchkin in 2 minutes, but it takes me hours to pick a name :P
PMUsers Website
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | The Shifting Sands - Bug & Exploit Reports | Next Newest »

Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0302 ]   [ 12 queries used ]   [ GZIP Enabled ]