View previous topic :: View next topic |
Author |
Message |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Fri Oct 10, 2008 6:48 pm Post subject: DP glow_color, glow_size and glow_trail doesn't work |
|
|
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: |
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! _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
jim

Joined: 05 Aug 2005 Posts: 400 Location: In The Sun
|
Posted: Sat Oct 11, 2008 1:54 am Post subject: |
|
|
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! |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Sat Oct 11, 2008 2:15 am Post subject: |
|
|
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).


  _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
ceriux

Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA
|
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Sat Oct 11, 2008 3:44 am Post subject: |
|
|
Man I got the latest dp engine, I think its build is oct 4... _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
ceriux

Joined: 06 Sep 2008 Posts: 969 Location: Florida, USA
|
Posted: Sat Oct 11, 2008 6:38 am Post subject: |
|
|
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. _________________ QuakeDB - Quake ModDB Group |
|
Back to top |
|
 |
leileilol

Joined: 15 Oct 2004 Posts: 1321
|
Posted: Sat Oct 11, 2008 6:36 pm Post subject: |
|
|
Do you have Quake-style particles enabled? |
|
Back to top |
|
 |
Orion

Joined: 12 Jan 2007 Posts: 414 Location: Brazil
|
Posted: Sun Oct 12, 2008 12:39 am Post subject: |
|
|
No. _________________ There's no signature here. Stop looking for one. |
|
Back to top |
|
 |
|