Better flashlight [Images :D]
Fragmagnet
Join Date: 2010-07-26 Member: 72873Members
<div class="IPBDescription">Not sure if it's really a ""mod"" but yeah. It'</div>I'm not sure if it's a ""mod"" but yeah, it's not default.
Default flashlight
<img src="http://i42.tinypic.com/a14jls.jpg" border="0" class="linked-image" />
My flashlight
<img src="http://i39.tinypic.com/8zgyft.jpg" border="0" class="linked-image" />
and here's the atmospherics
<img src="http://i44.tinypic.com/wkg5xf.jpg" border="0" class="linked-image" />
Here's the ranges
A model of a marine is used as a reference
Straight on (any farther away and the center light is gone)
<img src="http://i43.tinypic.com/w6qlms.jpg" border="0" class="linked-image" />
Angled
<img src="http://i41.tinypic.com/wck1h4.jpg" border="0" class="linked-image" />
I'm almost ready to release the files.
I'm just going to see if I can get the smaller circles in the middle to be attached to your current weapon.
I might also wait untill next patch.
It'd be pretty awesome if this became the standard NS2 flashlight.
Default flashlight
<img src="http://i42.tinypic.com/a14jls.jpg" border="0" class="linked-image" />
My flashlight
<img src="http://i39.tinypic.com/8zgyft.jpg" border="0" class="linked-image" />
and here's the atmospherics
<img src="http://i44.tinypic.com/wkg5xf.jpg" border="0" class="linked-image" />
Here's the ranges
A model of a marine is used as a reference
Straight on (any farther away and the center light is gone)
<img src="http://i43.tinypic.com/w6qlms.jpg" border="0" class="linked-image" />
Angled
<img src="http://i41.tinypic.com/wck1h4.jpg" border="0" class="linked-image" />
I'm almost ready to release the files.
I'm just going to see if I can get the smaller circles in the middle to be attached to your current weapon.
I might also wait untill next patch.
It'd be pretty awesome if this became the standard NS2 flashlight.
Comments
the code provided by the wiki does not work.
local coords = self:GetActiveWeapon():GetAttachPointCoords( 0 )
coords = coords * Coords.GetRotation( Vector(0,1,0), math.pi/2 )
self.flashlightObject:SetCoords(coords)
that's the code btw.
I'm pretty sure math.pi/2 could be replaced with math.rad(90)
either way the lights I try to attach to the active weapon (the 2 smallest lights) don't turn on
hmmmmmmmmmmmmmmmmm
on the upside
I compressed a bit of the flashlight code I added.
Rokiyo, it's already exploitable anyway, I hope my version of the flashlight, (or one by the devs) gets implemented if they intend to implement server client hash checks. As I would be sad if I couldn't change my flashlight to not suck.
<strike>Still can't get the middle 2 circles to be associated with the activeweapon.</strike>
I got the small lights to attach to the activeweapon BUT SADLY they go where your thirdperson model is aiming the gun...... which almost never relates to where your viewmodel is aiming.
Here's what the flashlight looks like to other people. (or to you from another person)
Standard Imma be behind you while we attack stuff, view.
<img src="http://i40.tinypic.com/rfrp.jpg" border="0" class="linked-image" />
The I'M COMING TO SAVE YOU view
<img src="http://i44.tinypic.com/mtb4tv.jpg" border="0" class="linked-image" />
The IMMA RUN THIS WAY view
<img src="http://i43.tinypic.com/14sf88n.jpg" border="0" class="linked-image" />
The release date is the next NS2 update.
UWE said many times, they will add textures for lights.
I much prefer the single spotlight for now than this.
Example light:
<a href="http://img80.exs.cx/img80/3483/AIHigh.jpg" target="_blank">http://img80.exs.cx/img80/3483/AIHigh.jpg</a>
Example texture: (not from the same light)
<a href="http://www.packtpub.com/sites/default/files/Article-Images/2923OS_04_06.png" target="_blank">http://www.packtpub.com/sites/default/file...923OS_04_06.png</a>
I really dont understand why you need 3 threads for this...
They're supposed to give it more range with some logic put into it.
dimmest goes away first etcetc<!--QuoteEnd--></div><!--QuoteEEnd-->
I don't need 3 threads The ideas and suggestions thread was first (because it was an idea) and there's a """"mod"""" page for it because... that's what it is.
the general discussion one is just general discussion about whether or not people like the current marine flashlight.
charlie@unknownworlds.com
I hope so :D
The files go in your natural selection2\ns2\lua folder
Check my modlist page.
(it's in my sig)
not in build 196