Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: SF-Junky on December 31, 2012, 09:49:00 am

Title: Beam width
Post by: SF-Junky on December 31, 2012, 09:49:00 am
Greetings,

in Storm Front Episode 3 the Borg are about to assimilate the GTVA. Of course, they're bringing in their deadly tractor beams, seen here: http://www.youtube.com/watch?v=g8pQm3h2opc#t=2m41s

Now to show this, I need a beam that becomes wider the farer away it is from its firing points. I have some good textures, but this would require tabeling. The tables, again, don't provide any feature to make this work, at least none I can see. Do I miss something again? Any suggestions?
Title: Re: Beam width
Post by: Shivan Hunter on January 01, 2013, 06:34:33 pm
Quote
+Tile Factor:

Defines the beam texture tiling factor. Second number defines the tiling type. Type 0 tiles the graphic in the beam as many times as defined by the 1st number. Type 1 uses the 1st value as the lenght[sic] of the tile.

Syntax: Float, Integer

So... Type 0 with 1 tile from source to target, and an [animated] image that looks like it comes from a point and fans out (like those thruster thingies)?

[EDIT] This would scale with distance and might look weird in some situations, like if two tractor beams are targeting two ships at very different distances. Probably would still work though
Title: Re: Beam width
Post by: SF-Junky on January 02, 2013, 05:26:14 am
Yes, that is how I made it work more or less. Looks pretty cool. :cool:

Just bad that electronics, leech and emp doesn't work with beams. :(