Page 2 of 4
Re: Shakin the camera (Solution found)
Posted: Tue Sep 25, 2012 12:07 am
by Montis
Neikun wrote:Any word on fade out of .wav files?
You could just import an external sound, like
one of these.
Re: Shakin the camera (Solution found)
Posted: Tue Sep 25, 2012 12:22 am
by Neikun
This is a good resource. Thank you.
Re: Shakin the camera (Solution found)
Posted: Tue Sep 25, 2012 12:37 am
by Neikun
I've placed the file I want int he sounds folder of the mod_assets folder.
I've tried to reference it as
Code: Select all
}
defineSound{
name = "rockfall",
filename = "mod_assets/sounds/rockfall.wav",
loop = false,
volume = 1,
minDistance = 1,
maxDistance = 6,
}
Have I done something wrong? How do I reference the sounds folder?
Re: Shakin the camera (Solution found)
Posted: Tue Sep 25, 2012 12:44 am
by Neikun
And now I try this:
Code: Select all
defineSound{
name = "rockfall",
filename = "mod_assets/sounds/rockfall.wav",
loop = false,
volume = 1,
minDistance = 1,
maxDistance = 6,
}
And it works. I have no idea what I've done differently lol
Re: Shakin the camera (Solution found)
Posted: Tue Sep 25, 2012 9:47 am
by Montis
You probably restarted the editor. That's required to reload the assets for now (bug).
Re: Shakin the camera (Solution found)
Posted: Fri Sep 28, 2012 6:47 am
by Shloogorgh
this is somewhat related, but is there a script to push (not teleport) the party to an adjacent square? I couldn't find anything in the scripting reference
Basically I want the tunnel to collapse on top of the party and push them back to the previous tile
Re: Shakin the camera (Solution found)
Posted: Fri Sep 28, 2012 7:49 am
by Phitt
Making new sounds isn't all that hard, I can recommend
http://www.freesound.org/, that site has thousands upon thousands of free sounds and it's pretty simply to get any sound you want using a free program like Audacity (by mixing sounds, cutting them, fading them in/out, looping them etc). Here is also a fading 'rumble' sound I made for a mod some time ago, maybe it's useful for you.
http://www.mediafire.com/?0y41yozwm46fbvb
EDIT: Somehow I missed the second page of this thread, you already have a sound. Anyway, the freesound link may still be useful as it's really a great resource site for sounds.
Re: Shakin the camera (Solution found)
Posted: Fri Sep 28, 2012 12:05 pm
by Neikun
Shloogorgh wrote:this is somewhat related, but is there a script to push (not teleport) the party to an adjacent square? I couldn't find anything in the scripting reference
Basically I want the tunnel to collapse on top of the party and push them back to the previous tile
How about an invisible teleporter that doesn't flash the screen?
Re: Shakin the camera (Solution found)
Posted: Fri Sep 28, 2012 12:19 pm
by Neikun
Ooh that sound is much better than the one I was using. Thank you!
Re: Shakin the camera (Solution found)
Posted: Fri Sep 28, 2012 9:26 pm
by Shloogorgh
Neikun wrote:
How about an invisible teleporter that doesn't flash the screen?
Functionally that works, but doesn't achieve the effect I'm looking for. Teleportation is instantaneous, whereas I'm looking for a knock-back (like when the cube runs into you and there's an empty square behind you, and you slide into that square)