Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Override drop and pickup sounds
Author Message
BestBG
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2017
Reputation: 0



Post: #1
Override drop and pickup sounds
How can I change sounds like when moving something in my backpack? I've tried:

ON=@ItemDropOn_Self
sound blah blah
return 1

But returning 1 only allows me to pick it up, when placing the item it just goes back to its original spot.

Thanks
06-14-2017 04:40 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: Override drop and pickup sounds
to override the item drop sound you must set DROPSOUND=123 on the item created ingame or directly on the item script

there's no way to override pickup sound, but that's a nice idea. Since someone can need it and this can be done in just some seconds, I'll take a look on the code to check if it can be added on next commits
06-14-2017 07:05 PM
Find all posts by this user Like Post Quote this message in a reply
BestBG
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2017
Reputation: 0



Post: #3
RE: Override drop and pickup sounds
Yeah that works, but I was looking for just changing the dropsound in the players backpack, when i use dropsound on an item it also plays the same sound when they drop it on the ground.

And I would have to add this new dropsound to every single item on my server?

Thanks man, that all worked perfect. Is there also a way to change pickup sound? And also, when I heal and my bloody bandages go into my backpack it makes the wrong sound. I've tried

ON=@ItemCreate
ARGO.DROPSOUND=

the above works, but the server gets an error "Undefined keyword 'ARGO.DROPSOUND'". Dont know why its doing that when its working.
(This post was last modified: 06-15-2017 02:45 PM by BestBG.)
06-15-2017 01:51 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)