General > Off-Topic

"Predator" Vision

<< < (2/2)

Golden-Death:
I suppose parenting a sprite to a player would work. I can't find the radar myself, but basically, it was a gray bar, lthe size of a ruler, in the center of the screen, and as you got closer to a wall, the gray got darker to resemble the wall and red boxes represented ents and grew bigger as you got toward them, kinda like sonar vision would look, it was pretty cool.

JamminR:
Golden-Death, I found I can apply a material to the rectangular box instead of gmod/white, as long as the material has a vmt file.

My challenge now is getting help if the height/width need dynamic adjust ment, to adjust size if being attached to a ent doesn't make them grow smaller or larger as they move farther away/closer to.

The above target code will be used to apply a color box to each player as they move if I can get everything to work.
As for the rest of the predator vision, I intend to convert the night vision LUA from FP to a blue-ish tint. I'm thinking blue background, with perhaps combine halo/or ball, material as the rect, would make it 'kind of' look like the Predators thermal vision from original movie.

I'm headed home from work soon. Will hopefully know how difficult converting the text to rects will be in a few hours.

Golden-Death:
Sounds good.

Navigation

[0] Message Index

[*] Previous page

Go to full version