Poll

Is this possible?

Yes
2 (66.7%)
No
1 (33.3%)

Total Members Voted: 3

Author Topic: Vehicle lights  (Read 945 times)

Can Someone make a light addon so that when you turn your light on in a vehicle the headlights turn on instead of the player light?
 :cookieMonster: :cookieMonster: :cookieMonster:

Can Someone make a light addon so that when you turn your light on in a vehicle the headlights turn on instead of the player light?
 :cookieMonster: :cookieMonster: :cookieMonster:

[IMG ]http://i1164.photobucket.com/albums/q566/SunMonocle/Untitled.png[/img]

User was banned for this post
« Last Edit: August 18, 2012, 03:20:26 PM by Badspot »

Stop spamming that handicapped image everywhere.

Stop spamming that handicapped image everywhere.

Ok.

Christopher P. Made it for me. I want him to see it

Lol, I got carried away. /tired

not possible
everyone has been over this before
shoo

not possible
everyone has been over this before
shoo

wait, if it's not possible, then why do player's lights work in vehicles?

i have an idea, a bot that is mounted to the vehicle, like the tank turret. the bot cannot be mounted and if you press a button like spacebar or something it will trigger the light.

wait, if it's not possible, then why do player's lights work in vehicles?
I'm pretty sure it's because that light is mounted to a player object. In fact I remember reading somewhere about the player light being an exception, hard coded witchcraft or something.

There are police car lights ._.

Vehicle lights are pretty much possible, but they might not be as good as you want them.



Basically, there would be a bot mounted in front of the headlights. It would have two bones, one for corona or flare image and another one for the actual light.

The problem is, it won't detect if there's a wall in front of you, thus someone will end up seeing random sources of lights if that person behind that wall.

I saw a jeep with headlights on Stratofortress' server once.

What about using a modification of Barnabas' model so that the bot fired out raycasts of "explosions" with no damage, but with a light effect, so that there is no definitely small or large range.

What about using a modification of Barnabas' model so that the bot fired out raycasts of "explosions" with no damage, but with a light effect, so that there is no definitely small or large range.
then we end up with projectile spam, lag, and the lights would stutter and look silly

Vehicle lights are pretty much possible, but they might not be as good as you want them.



Basically, there would be a bot mounted in front of the headlights. It would have two bones, one for corona or flare image and another one for the actual light.

The problem is, it won't detect if there's a wall in front of you, thus someone will end up seeing random sources of lights if that person behind that wall.
My idea for lights would be to fire a raycast that would spawn a light when it collided. The issue is that it would be pretty jumpy.

EDIT: Wow, I just read the posts above me.

EDIT EDIT: What if you could rig up the bot with the light to have collision, and then some sort of spring tension thing that would cause it to further itself from the vehicle or move itself closer. Like when you got close to a wall the bot would be pushed toward your vehicle, but when you backed up it would extend outward.
« Last Edit: August 18, 2012, 04:34:49 PM by Doomonkey »

or we could figure out how to make direction based lights

or we could figure out how to make direction based lights
Not possible unless you use models.