Forum

DP glow_color, glow_size and glow_trail doesn't work

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

DP glow_color, glow_size and glow_trail doesn't work

Postby Orion » Fri Oct 10, 2008 6:48 pm

Hi, I'm trying to put custom glows and trails in projectiles, but it doesn't work. Why?

I added a laser blaster to my mod, and instead of using EF_DIMLIGHT I want to make yellow glow and trail for the laser, I used the following:

Code: Select all
laser = spawn ();
...
laser.glow_color = 111;
laser.glow_size = 256;
laser.glow_trail = TRUE;


And it doesn't work. Any help will be appreciated.
Thanks!
User avatar
Orion
 
Posts: 476
Joined: Fri Jan 12, 2007 6:32 pm
Location: Brazil

Postby jim » Sat Oct 11, 2008 1:54 am

Doesn't look like there's anything wrong with defining the glow. Does the laser work otherwise as it should? Be sure to have particles and dynamic lights enabled to see them.
zbang!
User avatar
jim
 
Posts: 599
Joined: Fri Aug 05, 2005 2:35 pm
Location: In The Sun

Postby Orion » Sat Oct 11, 2008 2:15 am

Yes, I have the dynamic lights turned on, I just checked the configs.
I tried to turn on RT world but that didn't work. :(

Also, .alpha float isn't making the entity transparent.

Here are 3 screenshots, the first shows the laser with no yellow glow and the 2nd and 3rd shows no alpha in the tiny laser explosion and rocket explosion (I'm using 3d models for explosions, not 2d sprites).

ImageImage

ImageImage

ImageImage
User avatar
Orion
 
Posts: 476
Joined: Fri Jan 12, 2007 6:32 pm
Location: Brazil

Postby ceriux » Sat Oct 11, 2008 3:23 am

maybe its the engine your testing it on?
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby Orion » Sat Oct 11, 2008 3:44 am

Man I got the latest dp engine, I think its build is oct 4...
User avatar
Orion
 
Posts: 476
Joined: Fri Jan 12, 2007 6:32 pm
Location: Brazil

Postby ceriux » Sat Oct 11, 2008 6:38 am

huh? try and older version of dp see if the issue still persists it could be an engine issue. because iv noticed a couple small effects such as sprites showing up with certain things dont work in some of my codes when it does work in another engine.
User avatar
ceriux
 
Posts: 2223
Joined: Sat Sep 06, 2008 3:30 pm
Location: Indiana, USA

Postby leileilol » Sat Oct 11, 2008 6:36 pm

Do you have Quake-style particles enabled?
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby Orion » Sun Oct 12, 2008 12:39 am

No.
User avatar
Orion
 
Posts: 476
Joined: Fri Jan 12, 2007 6:32 pm
Location: Brazil


Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest