Spriteteam: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{CDA|CSpriteTeam|CSprite|CBaseEntity|}}
{{ent not in fgd|nolink=1|because=you can use general sprite entities, {{ent|env_sprite}}, etc}}
{{ent not in fgd|nolink=1|because=you can use general sprite entities, {{ent|env_sprite}}, etc}}
{{this is a|point entity|name=spriteteam|game=Black Mesa}} Essentially a duplicate of {{ent|env_sprite}}. Used by [[grenade_tripmine|tripmines]] for the glow effect. Most likely it exists for the ability to set the color of the laser in [[Black Mesa: Team Deathmatch|Team Deathmatch]]. All inputs and outputs are the same as in {{ent|env_sprite}}.
{{this is a|point entity|name=spriteteam|game=Black Mesa}} Essentially a duplicate of {{ent|env_sprite}}. Used by [[grenade_tripmine|tripmines]] for the glow effect. Most likely it exists for the ability to set the color of the laser in [[Black Mesa: Team Deathmatch|team deathmatch]]. All inputs and outputs are the same as in {{ent|env_sprite}}.
{{important|You can't change beam color in multiplayer. You can do so only in singleplayer.}}
 
{{important|You can't change beam color in [[Black Mesa: Team Deathmatch|team deathmatch]] if it don't have [[targetname]].}}


==See also==
==See also==
Line 7: Line 9:
*{{ent|weapon_tripmine}}
*{{ent|weapon_tripmine}}
*{{ent|item_weapon_tripmine}}
*{{ent|item_weapon_tripmine}}
*{{ent|grenade_tripmine}}

Latest revision as of 12:23, 4 June 2025

C++ Class hierarchy
CSpriteTeam
CSprite
CBaseEntity
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because you can use general sprite entities, env_sprite, etc.

spriteteam is a point entity available in Black Mesa Black Mesa. Essentially a duplicate of env_sprite. Used by tripmines for the glow effect. Most likely it exists for the ability to set the color of the laser in team deathmatch. All inputs and outputs are the same as in env_sprite.

Icon-Important.pngImportant:You can't change beam color in team deathmatch if it don't have targetname.

See also