Question about tltrude's door tut NEED RESPONSE!!

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Question about tltrude's door tut NEED RESPONSE!!

Post by Master-Of-Fungus-Foo-D »

in the tutorial (viewtopic.php?p=49607&highlight=#49607 and scroll up to get it!)
It gives these lines:

sound_open_start/lighthouse_run
sound_open_end/snd_step_paper
sound_close_start/lighthouse_run
sound_close_end/snd_step_paper

Where does the sound come from? how did he find it? When will i quit babbling? babakgajdkghlsdghsldfghs
help, im turning into a perpetual BLAH BLAH!

Ok really, i want to add a thunder sound to my door, but it doesnt work? what file did you get lighthouse_run from?

I NEED TO KNOW!
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

ubersound script

Post by tltrude »

Lighthouse_run is a favorite of mine because it works in all game types, without an ubersound work-around. Here is the "alias" for it in the ubersound.scr script (found in pak0.pk3).

aliascache lighthouse_run sound/mechanics/M1_LightTurn.wav soundparms 1.2 0.0 1.0 0.0 500 5000 item loaded maps "m1l3c dm moh obj train"

Not all the sounds will work in every game type. That is why we need jv-map's work-around. You also need it to add new sounds. The tutroial for it is here at .map, but here is a sample.

Code: Select all

// MP_AMBIENT2
// ARCHITECTURE: TOM TRUDE, WACKO
// SCRIPTING: TOM TRUDE, WACKO

main:

// set scoreboard messages
setcvar "g_obj_alliedtext1" "Multplayer"
setcvar "g_obj_alliedtext2" "ambient"
setcvar "g_obj_alliedtext3" "sound test"
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" ""
setcvar "g_obj_axistext3" ""

setcvar "g_scoreboardpic" ""

local.master = spawn ScriptMaster
local.master aliascache outside_snd sound/amb_stereo/Amb_M4_CountryExt_02.mp3 soundparms 1.0 0.0 1.0 0.0 5000 5000 "local" loaded maps "dm moh obj train"
local.master aliascache bridge_snd sound/mechanics/m6l3a_SlidingDoors_Close.wav soundparms 1.0 0.0 1.0 0.0 160 1600 item loaded maps "dm moh obj train"
local.master aliascache river_snd sound/amb/Amb_River.wav soundparms 0.25 0.0 1.0 0.0 1024 1250 auto loaded maps "dm moh obj train"
local.master aliascache fire_snd sound/amb/Amb_FirePlace.wav soundparms 0.5 0.0 1.0 0.0 128 256 auto loaded maps "dm moh obj train"
local.master aliascache explode_tank1 sound/weapons/explo/Explo_MetalMed1.wav soundparms 0.9 0.2 0.8 0.2 1500 9000 weapon loaded maps "dm moh obj train"
local.master aliascache explode_tank2 sound/weapons/explo/Explo_MetalMed2.wav soundparms 0.9 0.2 0.8 0.2 1500 9000 weapon loaded maps "dm moh obj train"
local.master aliascache explode_tank3 sound/weapons/explo/Explo_MetalMed3.wav soundparms 0.9 0.2 0.8 0.2 1500 9000 weapon loaded maps "dm moh obj train"
local.master aliascache explode_tank4 sound/weapons/explo/Explo_MetalMed4.wav soundparms 0.9 0.2 0.8 0.2 1500 9000 weapon loaded maps "dm moh obj train"

local.master2 = spawn ScriptMaster
local.master2 aliascache inside_snd sound/amb_stereo/Amb_M4_CountryInt_02.mp3 soundparms 1.0 0.0 1.0 0.0 128 350 "local" loaded maps "dm moh obj train"
local.master2 aliascache radio_snd sound/music/mus_berlin.mp3 soundparms 1.0 0.0 1.0 0.0 128 350 "local" loaded maps "dm moh obj train"
local.master2 aliascache mystery_snd sound/music/AOEII_Realms.mp3 soundparms 1.0 0.0 1.0 0.0 128 350 "local" loaded maps "dm moh obj train"

	level waittill prespawn

etc...
Ps: Please stop adding usless polls to your posts.
Tom Trude,

Image
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

ok ill shoot out the polls. :roll: :roll: :roll:
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Re: ubersound script

Post by blue60007 »

tltrude wrote: Ps: Please stop adding usless polls to your posts.
Yes, please do. I never can figure out what the point of them is.
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

how much web space does .map have? polls like this one must eat them up.
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
m4rine
Major General
Posts: 714
Joined: Fri Apr 11, 2003 5:28 pm
Location: UK

Post by m4rine »

i doubt it. phpBB (.map forum) usses MySQL for storing all post, polls, anything really, bar a few config files (very few tho) which store DB info, and servers may limit too one DataBase but a limit in size is unusual... its nowt to do with the file space, they are seperate servers on same PC, which could also be called a 'server' as a whole :? 1. File server 2. DB server... ;)
"We must become the change we want to see in the world" (Mahatma Gandhi)
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

You're right, that type of thing goes into a MYSQL database, and I don't think it would be more than a few values in it. :? But for a mapping question, a poll is useless and what do you mean by BAM BAM? :? Totally pointless...
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

That's why I removed it :wink:
Image
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

I see...
Image
Post Reply