Inside3D!
     

DP glow_color, glow_size and glow_trail doesn't work

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Fri Oct 10, 2008 6:48 pm    Post subject: DP glow_color, glow_size and glow_trail doesn't work Reply with quote

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
View user's profile Send private message
jim



Joined: 05 Aug 2005
Posts: 400
Location: In The Sun

PostPosted: Sat Oct 11, 2008 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Sat Oct 11, 2008 2:15 am    Post subject: Reply with quote

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. Sad

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
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Sat Oct 11, 2008 3:23 am    Post subject: Reply with quote

maybe its the engine your testing it on?
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Sat Oct 11, 2008 3:44 am    Post subject: Reply with quote

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
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Sat Oct 11, 2008 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
leileilol



Joined: 15 Oct 2004
Posts: 1321

PostPosted: Sat Oct 11, 2008 6:36 pm    Post subject: Reply with quote

Do you have Quake-style particles enabled?
Back to top
View user's profile Send private message
Orion



Joined: 12 Jan 2007
Posts: 414
Location: Brazil

PostPosted: Sun Oct 12, 2008 12:39 am    Post subject: Reply with quote

No.
_________________
There's no signature here. Stop looking for one.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group