Talk:Env sprite: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Unprotect this page? (It's been 5 months.))
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Lacks the ''disablereceiveshadows'' keyvalue, so please add it later when the page is unprotected. --[[User:Andreasen|Andreasen]] 13:12, 13 Mar 2006 (PST)
Lacks the ''disablereceiveshadows'' keyvalue, so please add it later when the page is unprotected. --[[User:Andreasen|Andreasen]] 13:12, 13 Mar 2006 (PST)
This page has been protected for about 5 months by now. Surely the spambots have forgotten about it.
The thing I wanted to add this time was an important note that choosing a sprite from the texture browser will not add the necessary ".spr" after the sprite name, so you will need to add this to the Sprite Name by hand, or the sprite won't show up in-game. (It's easy to assume that the browser gives the proper name, so I bet this is a common mistake.)
I would also recommend that the rendermode value is changed to something other than "Normal" (to get rid of the ugly black box). "Additive" or "Glow", perhaps? (I don't know which modes works good.) --[[User:Andreasen|Andreasen]] 14:22, 1 Aug 2006 (PDT)


When I try to use fire2.spr it has a black background instead of being transparent, what do I do? [[User:Cubedude|Cubedude]] 11:57, 30 May 2006 (PDT)
When I try to use fire2.spr it has a black background instead of being transparent, what do I do? [[User:Cubedude|Cubedude]] 11:57, 30 May 2006 (PDT)
Line 9: Line 5:
:try setting the rendermode to additive—'''[[User:Ts2do|ts2do]]''' 17:34, 30 May 2006 (PDT)
:try setting the rendermode to additive—'''[[User:Ts2do|ts2do]]''' 17:34, 30 May 2006 (PDT)
:: Thanks, worked perfectly [[User:Cubedude|Cubedude]] 06:30, 31 May 2006 (PDT)
:: Thanks, worked perfectly [[User:Cubedude|Cubedude]] 06:30, 31 May 2006 (PDT)
Why are those four rendermodes refered to as just "the most common"? The other modes aren't able to handle sprite alpha - I see no use for those. --[[User:Andreasen|Andreasen]] 23:16, 16 Jan 2007 (PST)
== Disappears when parented in TF2 ==
For some crazy reason, when I parented an env_sprite to a moving prop_dynamic, it disappeared after one frame. I saw it right when I spawned then it was gone in a flash. Like completely gone, it was named and didn't show up in ent_fire or ent_text. Don't know if this is a feature, bug or limitation, but if I can save someone hours of trying to figure out why the heck their sprites are disappearing, then I've done my good deed for a day.
--[[User:TracerDX|TracerDX]] 00:07, 10 May 2009 (UTC)
:Did you checked that the "Play Once" flag was actually disabled? --[[User:NykO18|NykO18]] 02:05, 10 May 2009 (UTC)

Latest revision as of 19:05, 9 May 2009

Lacks the disablereceiveshadows keyvalue, so please add it later when the page is unprotected. --Andreasen 13:12, 13 Mar 2006 (PST)

When I try to use fire2.spr it has a black background instead of being transparent, what do I do? Cubedude 11:57, 30 May 2006 (PDT)

try setting the rendermode to additive—ts2do 17:34, 30 May 2006 (PDT)
Thanks, worked perfectly Cubedude 06:30, 31 May 2006 (PDT)

Why are those four rendermodes refered to as just "the most common"? The other modes aren't able to handle sprite alpha - I see no use for those. --Andreasen 23:16, 16 Jan 2007 (PST)

Disappears when parented in TF2

For some crazy reason, when I parented an env_sprite to a moving prop_dynamic, it disappeared after one frame. I saw it right when I spawned then it was gone in a flash. Like completely gone, it was named and didn't show up in ent_fire or ent_text. Don't know if this is a feature, bug or limitation, but if I can save someone hours of trying to figure out why the heck their sprites are disappearing, then I've done my good deed for a day. --TracerDX 00:07, 10 May 2009 (UTC)

Did you checked that the "Play Once" flag was actually disabled? --NykO18 02:05, 10 May 2009 (UTC)