Author Topic: Laser bolt glow question  (Read 3070 times)

0 Members and 1 Guest are viewing this topic.

Laser bolt glow question
Hi,
Guys, any idea of how I can get the laser to have a "Head" glow only.. I just need that glowing halo around the head.
Thanks

[attachment deleted by a basterd]

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Laser bolt glow question
By making the glow bitmap have a halo around the head.

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Laser bolt glow question
Try this on for size, MM. I'm not sure how well it will work... and you'll have to change the format to .dds or a .tga  :nervous:

[attachment deleted by a basterd]
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 
Re: Laser bolt glow question
Try this on for size, MM. I'm not sure how well it will work... and you'll have to change the format to .dds or a .tga  :nervous:
No Z,, that didn't work.. I tried both formats in addition to pcx..  :rolleyes:

 
Re: Laser bolt glow question
Make a round laser bitmap and a short trail?

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Laser bolt glow question
Try this on for size, MM. I'm not sure how well it will work... and you'll have to change the format to .dds or a .tga  :nervous:
No Z,, that didn't work.. I tried both formats in addition to pcx..  :rolleyes:

Could you get a lvlshot of what it looks like in game? I'll try it at home later today, but you might be able to beat me to it.
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 
Re: Laser bolt glow question
Here it is, after applying the laser glow and give it a blue color. different shots of the same bolt.. I reduced the length to get the glow effect, still, it is not what is in mind  :sigh:



 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Laser bolt glow question
Did a quick run through with it earlier today, here's what I found out:

Code: [Select]
@Laser Glow: laser_glow ;a bitmap that defines the shape of visible parts of the bolt. Can be any compatable format? (.pcx, .tga, .dds)
@Laser Color: R, G, B ;The R, G, B color value of the bolt itself (8-bit values, 0 to 255)
@Laser Color2: R, G, B ;The R, G, B color value of the omnilight that follows the bolt
@Laser Length: meters ;The length of the bolt (Green Bracket)
@Laser Head Radius: meters ;The width of the head of the bolt (Red Bracket)
@Laser Tail Radius: meters ;The width of the tail of the bolt (Blue Bracket)

The Length and radii comments go with the attached .jpeg. I'll see if I can check the Wiki to see what it has, and maybe update it with the parts that I know for sure.

Edit: To get what TTF has, try different things with the bitmaps like scaling the dot down, and adding a halo over the head of the bolt.




[Edit]: Corrected the orientation of the head and tail vs. the bitmap coordinates.

[attachment deleted by a basterd]
« Last Edit: November 19, 2011, 12:30:05 am by z64555 »
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: Laser bolt glow question
Shouldn't that be PCX not PCS format on the first line?

Otherwise a very nice description, I wish the whole wiki had graphical explanations.
« Last Edit: November 17, 2011, 04:12:20 pm by JGZinv »
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Laser bolt glow question
Yes, it should be a .pcx, thanks :P

Corrected!
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Laser bolt glow question
Bumped for new info:
@Laser Bitmap and @Laser Glow are both additive textures applied to a glowpoint plane.
-> Additive textures "add" their color value to whatever's covered up by it.
-> Black areas on either bitmap are effectively transparent

@Laser Glow is affected by the @Laser Color and Color2.
-> Glow is multiplied by Color and Color2, so if the Glow is B&W and Color is Red, then Red x White = Red

The bolt's tail is on the right of the bitmap, and the head is on the left. (I had that backwards before...  :nervous:)

Size of the bolt is independent of the resolution of the bitmaps. So... they're effectively stretched (you knew that before, I just confirmed it.)

Color of the following omnilight is determined solely by Color and Color2
The color of the Glow and omnilight is linearly shifted from Color to Color2 during its lifetime (Color starts, Color2 ends), allowing for fadeout and "phase-shift" effects.

If Color2 is omitted, and only Color is used, the color stays the same as defined by Color

If Color is omitted, and only Color2 is used, the default color is used for the beginning.

The default color of the omnilight and glow multiplier is white. ( Unsure if this is defined elsewhere in the .tbl or if its hardcoded )

Any omitted @Laser option will be replaced by a default value. (Need to confirm this on the length, head, and tail, however)

Order of the @Laser group is important.

  • The sizes of the glowmap vs. the bitmap are different. The glow map is approximately twice the size of the bitmap. I'm not sure which lengths apply to which plane, however.


I'll try to update the Wiki sometime by Monday.



« Last Edit: November 19, 2011, 12:38:13 am by z64555 »
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 
Re: Laser bolt glow question
Very good explanation. But, if the glowmap is effectively stretched over the bolt, then there's nothing I can do to get the results I'm seeking. Unless, there's some other way..  :doubt:

 

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Laser bolt glow question
Give it a trail, like on the Shivan Super Laser.

  
Re: Laser bolt glow question
Thanx everybody for the replies.. I will see what I can do and post the results