Home » MODDING HQ 1.13 » v1.13 Modding, Customising, Editing » v1.13 Modding, Customising, Editing » How to connect sounds with tiles?
How to connect sounds with tiles?[message #357967] Mon, 26 August 2019 04:43 Go to previous message
Kitty

 
Messages:271
Registered:October 2017
Location: Germany
I'd like to add a new openable object and give it an also new sound for opening.

I found quite a lot regarding weapon-sounds, but couldn't find anything about sounds connected with tiles. What I mean are sound like opening a crate, opening a fridge, etc.

- How does the game know, that a openable tile is a fridge and not a crate? (Being openable is "told" by jsd, but being fridge or crate apparently not)

- How does sounds.xml work? Is it "just" a list where existing sound must be filled in? Or is there more about it? Wasn't able to find information about it, any hint?


In jsd's i found animated tiles (like the rocks with floating water arround), but the openable objects are just generic/openable, no hint to anything sound-related found there.
So I assume that the definition for e.g. a fridge being a fridge and therefore play the sound for opening a fridge is stored somewhere else.
I could find the sound for opening fridge in sounds-folder and an entry in sounds.xml, but couldn't find the place where those get connected with the on-map-action of opening the fridge.
And since just putting a wav/ogg in sounds-folder and making an entry in sounds.xml won't do, I ended up in deadend.

Is this doable at all in externalized or is this hardcoded?

Thx.



How to get: latest 1.13, 7609 and more | 7609 SCI (eng) | Compiling+SVN

I need more details. (Didi Hallervorden)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to edit merc bio?
Next Topic: Bobby Ray's Shipment Drop Zone
Goto Forum:
  


Current Time: Wed Jan 27 03:42:20 EET 2021

Total time taken to generate the page: 0.01292 seconds