Author Topic: Beam Help  (Read 3168 times)

0 Members and 1 Guest are viewing this topic.

Offline Krallis

  • 27
  • XKappaXThetaX
I've m,ade a new beam and the problem is I want it to be untextured and to use the RGBA values instead. I'm running open but whenever I test my beam nothing at all shows up, apart from the muzzle glow and explosion impact. The beam still affects things but I can't see the actual laser.

Here is the beam information . This beam is critical for a mission im making I need it to work.

#Primary Weapons

$Name:                          DBlack
$Model File:                    none ; laser1-1.pof
@Laser Bitmap:                  laserglow02
@Laser Color:               0, 0, 0
@Laser Length:               0.0
@Laser Head Radius:            0.30
@Laser Tail Radius:            0.30
$Mass:                          100.0
$Velocity:                      1000.0          ;; speed of the weapon (initially) -- may or may not change
$Fire Wait:                     10.0            ;; in seconds
$Damage:                        9000            ;; NOTE: for beam weapons this is kind of a "continuous" damage applied every few fractions of a second that the beam is on.
$Armor Factor:                  1.0
$Shield Factor:                 2.0
$Subsystem Factor:              1.0
$Lifetime:                      35.0            ;; How long this thing lives
$Energy Consumed:               0.30            ;; Energy used when fired
$Cargo Size:                    0.0             ;; Amount of space taken up in weapon cargo
$Homing:                        NO
$LaunchSnd:                     125             ;; The sound it makes when fired
$ImpactSnd:                     88             ;; The sound it makes when it hits something
+Weapon Range:               4000         ;; Limit to range at which weapon will actively target object
$Flags:                         ("Big Ship" "huge" "beam")
$Icon:                          icongun05
$Anim:                          LoadGun07
$Impact Explosion:              ExpMissileHit1
$Impact Explosion Radius:       200.0
$BeamInfo:
   +Type:                  0            ;; 0 - 4 are valid #'s
   +Life:                    15.0            ;; how long it lasts once the beam is actually firing
   +Warmup:                 10000         ;; warmup time in ms
   +Warmdown:               2500         ;; warmdown time in ms
   +Radius:                 300.0         ;; muzzle glow radius in meters
   +PCount:               100            ;; particles spewed every interval
   +PRadius:               1.0            ;; particle radius
   +PAngle:               180.0         ;; angle of the random "cone" where the particles are generated
   +PAni:                  particleexp01   ;; particle ani
   +Miss Factor:            2.5 1.875 1.25 0.875 0.5   ;; magic # - higher == miss more (only really applicable to type 0 and type 3 beams)
   +BeamSound:               121            ;; the looping beam-firing sound
   +WarmupSound:            122         ;; associated warmup sound
   +WarmdownSound:            123            ;; associated warmdown sound
   +Muzzleglow:            thrusterglow01   ;; muzzle glow bitmap   
   +Shots:                  0            ;; only used for TYPE 3 beams
   +ShrinkFactor:            0.05         ;; what percentage of lifetime where beam starts shrinking (0.1 == 10% life left)
   +ShrinkPct:               50.0         ;; what percentage of max width we subtract per second
   $Section:                        ;; one section of the beam (you can have up to 5)
      +Width:               300.0            ;; width of the section
      +Texture:            -1      ;; texture for this section
      +RGBA Inner:         0 0 0 255   ;; rgba values (only for non-textured beam compiles)
      +RGBA Outer:         50 50 50 255   ;; rgba values (only for non-textured beam compiles)
      +Flicker:            0.5            ;; how much it flickers (0.0 to 1.0)
      +Zadd:               2.0            ;; hehe
   $Section:                        ;; one section of the beam
      +Width:               520.0            ;; width of the section
      +Texture:            -1                   ;; texture for this section
      +RGBA Inner:         1 1 1 255   ;; rgba values (only for non-textured beam compiles)
      +RGBA Outer:         255 0 0 255      ;; rgba values (only for non-textured beam compiles)
      +Flicker:            0.4            ;; how much it flickers (0.0 to 1.0)
      +Zadd:               1.0            ;; hehe

#End
   
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
That's strange, you definitely need a texture for that.

Try using a regular one, open the MediaVPs with VPView and find the most appropriate one.
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Krallis

  • 27
  • XKappaXThetaX
None are appropriate. How can i make a custom one.
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Hmmm did you ask this in anotehr thread????
(it's better to keep related things in the same thread instead of 4-5 others)

AFAIK BLACK beams are very difficult to make and will be invisible in game (so yes your beam IS working just as it should). You need to pollute the beam to make it visible try dark grey/chocolate/or deep purple).

I posted a few screenies of tinkering with the 2001ish  release of the "gold and Black beams" pack.

Some day I want to go back and mess aroudn more but sicne I don;t know about alpha channels, opacity and otehr image stuff I just use a generic slider like brightness and contrast to get what I wanted.

I'm sure someone who knows what they are doing can refine them better to get as close to "Black" as possible WITHOUT actually BEING BLACK...

Good luck with that!


The Beam is above the "gold" one
Any darker and it will not show up in game.
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
The Inferno subspace weapon is some kind of invisible beam. In space black=invisible :P
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

  

Offline blowfish

  • 211
  • Join the cult of KILL MY ROUTER!!!!!!!!!!1
But a black beam would show up against the background stars and ships.  Still a bad idea but a good way to tell if its actually working.

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Well if you can get one to work please post it, I know my vision isn't the greatest, but I've never seen it.  :D

It's my opinion he will have to tweak an existing one until it's about to cross that threshold of visible and invisible and be happy with that result however it looks.

IF you could see a black effect then obviously you would see black boxes around these torpedo images (they are in the middle of a black box). Obviously black for EFFECTS is transparent as Green is for MAPS...

Clearly you can see other torps and the ship hull as well as stars  through the effect, the BLACK box surrounding the effect is NOT visible and obscures nothing...


Consider it a friendly challenge...  ;7

I DO have an idea though (it's very cheesy). Black as an effect won't work (the only time it does is when people report black boxes on screwy vp files it's a BUG not a FEATURE!!!

Take a POF and use a black map, then use it as a beam like they do in SW games (but they use red blue and yellow)... IDK if a pof that big would work right but at least you' SEE it!!!

« Last Edit: March 20, 2008, 06:51:06 pm by Getter Robo G »
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
I would be able to see the black boxes, actually.

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
I would be able to see the black boxes, actually.

You're not helping!!!  :hopping: [Kidding]

You're welcome to join in the challenge then snail.  :nod:
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Krallis

  • 27
  • XKappaXThetaX
Ive finished my beams and I must say they look rather smart (they are huge) I'll upload some screenshots soon. First I have a question, for one final tweak. Is there any way to change the radius for which the beam firing sound can be heard because my beams are large but kind of quiet.
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
You're welcome to join in the challenge then snail.  :nod:

I believe black boxes were the purpose of the release of the media vp patches (mp)

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
On my computer, at least, black DOES show up on effects.
I need to add an Alpha Channel so that the beam's external areas are transparent.

So...bascially, you can make a blank, black image, copy say, the Green Channel from the SGreen image, paste it as alpha, save. You should have a beam which is...black. You can see the beam in subspace, and when there's something behind it (I'm pretty sure this works, since my edited beam textures have a black area around them if I don't set my alpha channel.
(´・ω・`)
=============================================================

 

Offline Krallis

  • 27
  • XKappaXThetaX
Can you change the radius of the noise that the beam makes?
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
The distance setting for the sounds can be found from the sounds.tbl. Check for the sound effects used with the beam and then find the same index number from the 'game sounds' section of the sounds.tbl
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Krallis

  • 27
  • XKappaXThetaX
I mean can you set the sound to be heard from say 10,000 metres away. I know how to put sounds in.
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Quote from: Sound.tbl from FSwiki
$Name:   147   BT_BGreen.wav,      0, 0.70, 2, 1500, 3000   
$Name:   148   BT_BFGreen.wav,      0, 0.70, 2, 1500, 3000   
See the number written in bold? First on in the line sets the distance until which distance the game uses unattenuated sound. And the last one defines the distance where the sound can be heard at all.

Changing them in the sound that played with the beam to something like 5000, 30000 should do the trick.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Krallis

  • 27
  • XKappaXThetaX
I cant edit it in the TBL view. What do I have to do.
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Krallis

  • 27
  • XKappaXThetaX
So open the TBL in notepad then just hit save.
3D Artist In The Making.
http://krallis27.deviantart.com/

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []