Raised This Month: $51 Target: $400
 12% 

[D.O.D] Sourcemod Effects 2/2 - [RESOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
faucon
Junior Member
Join Date: Nov 2008
Old 02-20-2009 , 05:20   [D.O.D] Sourcemod Effects 2/2 - [RESOLVED]
Reply With Quote #1

Plop,

I try to add in my Ring Effect (.sp) >> LaserCache = es.precachemodel("materials/sprites/lgthning.vmt"),
but i always have the "Black color" to the exremity (top and bottom) of my ring, can you see it?



• How to delete this "Black part" off the ring?
• How to make this "Transparency" ? (alpha?)

Thanks.
- Faucon
__________________

Last edited by faucon; 02-25-2009 at 11:30.
faucon is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-20-2009 , 07:51   Re: DoD:S Effects (Part.2) [In Progress...]
Reply With Quote #2

Transparency is the 4th number in the color code.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
faucon
Junior Member
Join Date: Nov 2008
Old 02-20-2009 , 09:38   Re: DoD:S Effects (Part.2) [In Progress...]
Reply With Quote #3

Plop,
Ok but have to put on 0 or 255 ?
If i put all colors and alphacolor to 255 the result is black or white ?

I try this:
1- new BeamColor[4] = {0, 0, 0, 255};
2- new BeamColor[4] = {255, 255, 255, 0};
3 -new BeamColor[4] = {0, 0, 0, 0};
4- new BeamColor[4] = {255, 255, 255, 255};
But nohting. I always have this f*** "Black color".

Another question.
What is this parameter ? What is effect ?

* @param StartFrame Initital frame to render.
* @param FrameRate Ring frame rate.

Thanks.

- Faucon
__________________

Last edited by faucon; 02-20-2009 at 10:09.
faucon is offline
liam12360
Member
Join Date: Jul 2008
Old 02-20-2009 , 10:22   Re: DoD:S Effects (Part.2) [In Progress...]
Reply With Quote #4

As far as I know, if all values are 225, you will have white. In other words, 225 is max of whatever color your talking about.
__________________
liam12360 is offline
faucon
Junior Member
Join Date: Nov 2008
Old 02-21-2009 , 12:41   Re: DoD:S Effects (Part.2) [In Progress...]
Reply With Quote #5

Plop,
i try a lot of thing which doesn't work, if someone know hot to do please tell me !!!!!!!
Another question.
What is this parameter ? What is effect ?

* @param StartFrame Initital frame to render.
* @param FrameRate Ring frame rate.

Thanks.
__________________

Last edited by faucon; 02-21-2009 at 14:27.
faucon is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:33.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode