Page 1 of 2

Table Editing & Beam cannons

Posted: Sat Oct 16, 2004 11:31 pm
by CIH
Anyone know how the numbers for beam s/fx in tables relate to the actual .wav ?

ie; a TerSlash has
+BeamSound: 145 ;The looping beam-firing sound

+WarmupSound: 153 ;Associated warmup sound

+WarmdownSound: 157 ;Associated warm down sound

I'm doing a sort of "MGreen" but don't know how those numbers relate to the actual .wavs used.

Anyone help me out with this ?

Posted: Sat Oct 16, 2004 11:41 pm
by Moonsword
The warmup/warmdown sounds are precisely two sounds:

BeamWarmup.wav and BeamWarmdown.wav (I think that's the file names).

There's a couple of beam shots, but I don't think I've ever heard them from beam cannons...

Posted: Sat Oct 16, 2004 11:47 pm
by Goober5000
They're indexes into sounds.tbl.

Posted: Sun Oct 17, 2004 12:07 am
by CIH
ah, I c. Thanks chaps. :toothy7:

Posted: Sun Oct 17, 2004 12:08 am
by Moonsword
And that would be why having coders around is a good thing... they know what all this stuff is!

Posted: Sun Oct 17, 2004 12:56 am
by Goober5000
Actually, it tells you that in the table comments. ;)

Posted: Sun Oct 17, 2004 1:07 am
by Flipside
Actually, the table headers give away a hell of a lot of info ;) But they lie as well, like telling you in no way to change the sounds table etc :D

Posted: Sun Oct 17, 2004 1:37 am
by Hippo
Damn... I knew that one too...

Posted: Sun Oct 17, 2004 6:04 am
by The Trivial Psychic
While we're asking beam questions, does anyone know what the Zadd field is for? The commentary on that one isn't very helpfull.

Posted: Sun Oct 17, 2004 7:15 am
by liberator
It has something to do with the zone of total destruction, IIRC from a previous discussion about it, the part of the beam that no small craft can survive, or it has something to with the flicker effect....?

Posted: Sun Oct 17, 2004 8:17 am
by Black Wolf
Zadd is supposedly to give the beam a pseudo 3d look (Z axis add).

Posted: Sun Oct 17, 2004 1:39 pm
by Kietotheworld
On the subject of Beams does anyone know how you make the Beam wider. (Well of course someone knows but could someone tell me :) )

Posted: Sun Oct 17, 2004 2:05 pm
by Vasudan Admiral
$Section: ;; one section of the beam (you can have up to 5)
+Width: 40 ;; width of the section
+Texture: beam-red ;; texture for this section
+RGBA Inner: 255 255 255 255 ;; rgba values (only for non-textured beam compiles)
+RGBA Outer: 150 150 150 10 ;; rgba values (only for non-textured beam compiles)
+Flicker: 0.0 ;; how much it flickers (0.0 to 1.0)
+Zadd: 4.0 ;; hehe


From the BFGreen - so 40 is pretty wide.

Posted: Sun Oct 17, 2004 4:09 pm
by Moonsword
Goober, I don't mess with that table under ordinary circumstances... I don't want to mess with that table under ordinary circumstances.

Posted: Sun Oct 17, 2004 9:43 pm
by Kietotheworld
Yeah, I thought that was it, I just saw width of this section and thought the beam might be different sizes all the way up it.