New Doom Forums  
Sound Script Help - New Doom Forums
Go Back   New Doom Forums > Source Ports > Doom Legacy

Reply
 
Thread Tools Display Modes
Old July 28th, 2007, 04:11 PM   #1
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
Sound Script Help

I'm almost finished a map, which should run fine when Legacy 2 comes out but that's another story.

For now I need help with a simple script. All I need is to have a sound play when the player crosses a line.

I made some quake-ish teleports for this map that are made of 3d floors and use the silent Boom line types. I tried to mod the teleports to use the in-game teleportation thing(s) but it' just doesn't work right for what I want beacuse: A) The teleports have to be wider to accommodate the object and B) the player actually stops moving when using the teleportation thing, which ruins the effect of coming out of the 3d frames I made (and it looks crap having a green teleport sprite coming out of a black texture....).. The sound, DSTELEPT is all that need to be fired. I was looking in the Legacy wiki and I could find is info on the functions that start and stop sounds. If I use the startsound function will it loop the sound? Is there some other way to do this? I don't want an ambient sound, just one that plays once when triggered.

Only other thing I could do is find a decent ambient sound and have that looping near the teleporters. Personally I think that would be fine. Thing is I don't want to rip a sound from another game, which of course limits me finding anything decent.
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt
Doom_Dude is offline   Reply With Quote
Old July 28th, 2007, 05:13 PM   #2
iori
 
iori's Avatar
 
Join Date: Sep 2002
Location: British Columbia
Posts: 2,415
Darkwolf did some experiments with teleporters like that
http://darkwolf.slipgate.org/?section=4
__________________
I wish to extend my apologies to anyone who reads my posts, you will not be getting those brain cells back.
iori is offline   Reply With Quote
Old July 28th, 2007, 06:21 PM   #3
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
Code:
script 24
{ 
startsound(trigger, "DSFART"); 
}
And then use line type 273 - start script 1 way line trigger WR. and tag it 24.
Of course you will need this sound effect.

If you want 1 sound going in the tele and another going out, slap 2 lines in there facing opposite directions.
WR but only executes 1 way.

Last edited by MR_ROCKET; July 28th, 2007 at 06:33 PM.
MR_ROCKET is offline   Reply With Quote
Old July 28th, 2007, 06:28 PM   #4
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
iori I checked those DarkWolf teleports out. Neat stuff but a little different.

Ok thanks MR_Rocket. I'll try this out. LOL@DSFART. Might use that for teleporting into a secret area.

[edit] I just tested this and it works perfectly! Woot! Thank you Mr_Rocket! Now I can finish this map and get it released.

The execute one way is what I wanted.
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt

Last edited by Doom_Dude; July 28th, 2007 at 06:55 PM.
Doom_Dude is offline   Reply With Quote
Old July 29th, 2007, 07:09 AM   #5
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
Ah good, and np.
That actually came out of a DM map I made (a long time ago) called : The Hunting Grounds.
MRHGDM.wad
It was the first time I tried making some 3dfloor roof tops heh.
Has a funky weapons mod in it also btw. :P - EVIL Plasma gun.
And a tri-level lookout tower thingy Mc jigger.
Credits go to Grunt for the DEH in it.

Last edited by MR_ROCKET; July 29th, 2007 at 07:15 AM.
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 07:15 AM   #6
Danimetal
Commander Keen
 
Danimetal's Avatar
 
Join Date: Apr 2004
Location: Spain
Posts: 4,344
Rocket stole my answer :P.
Danimetal is offline   Reply With Quote
Old July 29th, 2007, 07:27 AM   #7
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
Yeah I can manage to pop in here and answer the easy ones when they don't have to do with making a map freely rotate with FS to give the impression that the sky is animated.
Questions like that will take me a little longer. :P
Though I can tell you how to do that in Doom3 rather quickly.
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 07:41 AM   #8
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
LOL That's my fault Danimetal and I was going to send you the link to this thread after I made it.

*hides in the fraggle bushes*

So Rocket how do we make an entire level tilt 45 degrees during a fraggle quake while the dev team goes by on rollerskates?
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt
Doom_Dude is offline   Reply With Quote
Old July 29th, 2007, 07:57 AM   #9
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
In FS I'm not sure lol, first thing I'd try if at all possible would be to change the angle of the player view. The earthquake part is easy.

You'l have to give me more info about the dev team being on rollerskates though.
What comes to mind would be some new player sprites/skin with rollerskates attached, and then enbale turbo mode for these given players/names.

As stated above, you may have to give me some time to properly answer spicific in-depth questions like these.

Last edited by MR_ROCKET; July 29th, 2007 at 08:04 AM.
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 08:13 AM   #10
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
LOL! That would actually be funny.

I think I'll just stick with the simple stuff like making lines trigger farting sounds and stuff. The earthquake would come in handy sometime tho...
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt
Doom_Dude is offline   Reply With Quote
Old July 29th, 2007, 09:31 AM   #11
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
Heh what would be neat with the earthquake thing is to have FS build a bunch little 16x16 unit sectors on the floor in random places, and remove some from the ceiling at the same time, so it would look like a given area in a map is actually falling apart..all while the earthquake is going on.

Then um, the dev team comes rushing though the broken wallway on rollerskates.
Of course this will cause some self-damage to the rollerskating devs and may even put a hold on game play for a bit.
So we'll have to figure out a way.. Ah hah!, Knee-pad Item pickups!
From that point it's just scripting it so when they pickup a knee pad, they roll faster, but if the opposing picks up a knee pad, then they roll slower.

This is gonna be a freaking awesome mod.. Let me know when your ready for playtesting Doom_Doom.

Last edited by MR_ROCKET; July 29th, 2007 at 09:50 AM.
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 09:42 AM   #12
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
Ooooh that sounds too sexy....

Plus you could have pillars and stuff slowly lowering into water, like they've become dislodged and are sinking....
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt
Doom_Dude is offline   Reply With Quote
Old July 29th, 2007, 10:09 AM   #13
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
For something like that, hmm maybe.
You know how the blood splats look like they float in water from the line types sector gravity? well I think in this case a sprite, or actually a really big sprite looking like some pillars might work better. - though being sprites and the view angle they have it would also look a bit chincy, but I can't see sectors doing this as well as the effect a thing type or sprite model would.
But this does bring up a question for Legacy2. Will models in L2 be able to float? or have the same gravity technique? They should being a thing ID placeholder and just replacing it's graphics.

Other than that, (if sectors), to look real enough without any extra animation going on. I think they would have to already be in the water sector and just make them move up and down slowly using FS. - to appear to be floating on the top of the water.
Most likely the water target sector will have to have a transparent wall texture, so when the other sectors cut into the water, the waters sides wont be visible underneath.
This wouldn't be a glood place for corona lighting heh.

Last edited by MR_ROCKET; July 29th, 2007 at 10:30 AM.
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 10:24 AM   #14
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
Hmmm floating models in swimsuits. No wait.... wrong port. Floating 3d models? That sounds iffy to implement but would be nice to have floating debris and stuff. Plus you could have Darkwolf and Jive floating by in a boat, throwing pies (chasing the devs on rollerskates) (no offence to Jive, DW or the Legacy team).

I can see Rocket sarting a Legacy joke wad now.
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt
Doom_Dude is offline   Reply With Quote
Old July 29th, 2007, 10:38 AM   #15
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
How bout a hi-res floating sprite in a swimsuit instead?
I could have this in a legacy2 wad in about 2 mins.
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 11:15 AM   #16
Danimetal
Commander Keen
 
Danimetal's Avatar
 
Join Date: Apr 2004
Location: Spain
Posts: 4,344
Yeeeeah!. Hot!.
Danimetal is offline   Reply With Quote
Old July 29th, 2007, 11:42 AM   #17
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
http://home.comcast.net/~mrrocket/le.../swimsuit1.png
MR_ROCKET is offline   Reply With Quote
Old July 29th, 2007, 11:51 AM   #18
Danimetal
Commander Keen
 
Danimetal's Avatar
 
Join Date: Apr 2004
Location: Spain
Posts: 4,344
ROFL XDXDXDXD!!. Great!. Joke wad coming!.
Danimetal is offline   Reply With Quote
Old July 29th, 2007, 03:14 PM   #19
Doom_Dude
Spazztronik
 
Doom_Dude's Avatar
 
Join Date: Jun 2000
Location: Canada
Posts: 10,518
LOL! Looks like she's waiting patiently for Legacy 2.
__________________
The Megawad Outpost ◄►Levels on WIP ◄►DeviantArt
Doom_Dude is offline   Reply With Quote
Old July 30th, 2007, 02:54 AM   #20
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,185
She is a NTEXTURE PNG sprite replacment in this case, being the BFG.
So you can actually pick her up lol.
MR_ROCKET is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hardcore Mode KuriKai Mods & Maps 3 September 29th, 2007 09:14 AM
jDAP picklebro Mods & Maps 5 July 20th, 2007 06:23 PM
Models not showing up Harry Doomsday 0 December 13th, 2004 11:18 AM
Sec's in FS -Ki- Doom Legacy 45 July 21st, 2004 11:12 PM
A lil help? Mr. Chris Doomsday 7 December 28th, 2002 03:07 PM


All times are GMT -7. The time now is 04:43 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
NewDoom.com © 2000-2009 Mindless Games & Entertainment. All Rights Reserved.