Author Topic: Sound effects  (Read 1948 times)

Sound effects
« on: March 11, 2014, 01:02:19 pm »
Does mapper support placing sound effects on map or do I have to assign them to objects through scripts?

Offline Wipe

  • Rotator
  • Random is god
Re: Sound effects
« Reply #1 on: March 12, 2014, 06:28:36 pm »
Nop, have to be done in scripts; it's pretty easy with triggers, and i'm [almost] sure there should be some examples around.
Games are meant to be created, not played...

Re: Sound effects
« Reply #2 on: March 17, 2014, 11:12:23 pm »
Some questions regarding sound and music...

1) Do I have to assign voiced dialog through scripts? The dialog tool doesn't support voiced lines from the editor?
2) Can I control somehow worldmap music so different music starts to play when a different vehicle is used?

Offline lisac2k

  • Rotator
  • Uncle Pyro
Re: Sound effects
« Reply #3 on: March 20, 2014, 06:31:25 pm »
As for 1) you can script some general functions for playing soundfx (i.e. voiced dialogue) in your scripts and then pass the parameters from the dialogue editor... So, when player clicks on a dialogue line, the param is passed to script which then, in turn, plays specific sound file.

2) This should be quite possible; see the events in the scripts of some of our 2238 items, like picking up or using an item - this triggers an event which kicks in and makes something happen.