Applying DYNAMIC LIGHTS to the Rail projectile

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Applying DYNAMIC LIGHTS to the Rail projectile

Post by Betanol »

I want to know if is it possible to add dynamic lights the the rail gun projectile, and if it is how to do it...

I personally think that it isn't but I don't really know in fact so...
User avatar
KeksDose
Stronghold Team
Posts: 319
Joined: Thu Apr 12, 2007 21:35
Location: Germany

Post by KeksDose »

Actually, you can have a dynamic light when the rail collides with an object or a wall. Just make it shoot an invisible projectile which lasts a dynamic light on it's death sequence. This can be done via A_CustomBulletAttack.
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Post by Betanol »

but a bunch of dynamic lights in the rails length is not possible?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

No. The rail trail is not an object so there's nothing to attach the light to.
User avatar
Betanol
Posts: 61
Joined: Mon Jan 22, 2007 17:24
Location: Brasil

Post by Betanol »

As I thought..

Thats bad :(

Because all projectiles in my wad has some dynamic light, so a rail that doesn't emit light will "sound" awkward..

But, screw it! I won't remove the railgun :)
Locked

Return to “GZDoom”