Fortress Forever

Go Back   Fortress Forever > Search Forums

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: squeek.
Forum: Lua 05-28-2013, 09:48 PM
Replies: 10
Views: 7,355
Posted By squeek.
Once you get the map ready, make sure to test it...

Once you get the map ready, make sure to test it on a dedicated server to make sure the sounds still work. You either need to pakrat the custom sounds into the BSP or include the sound files...
Forum: Lua 05-28-2013, 04:40 AM
Replies: 10
Views: 7,355
Posted By squeek.
Sure. death_sounds = { [Player.kScout] =...

Sure.

death_sounds = {
[Player.kScout] = "customsound.scout",
[Player.kSniper] = "customsound.sniper",
[Player.kSoldier] = "customsound.soldier",
[Player.kDemoman] =...
Forum: Lua 05-26-2013, 10:25 PM
Replies: 10
Views: 7,355
Posted By squeek.
First one should work. Here's what I'm...

First one should work.

Here's what I'm using:

maps/<mapname>_level_sounds.txt

"customsound.test"
{
"channel" "CHAN_STATIC"
"volume" "1.0"
Forum: Lua 05-26-2013, 12:59 PM
Replies: 10
Views: 7,355
Posted By squeek.
It's possible using Lua for sure. Either...

It's possible using Lua for sure.

Either something like (I forget if this works right):

local death_sound = "soundname"

-- sounds need to be precached
function precache()
PrecacheSound(...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT. The time now is 01:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.