CTEBloodStream: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
A blood particle entity, the texture of which seems to be missing as it uses the missing texture purple and black.
A blood particle trail, the texture of which seems to be missing as it uses the missing texture purple and black.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_bloodstream.cpp /game/server/te_bloodstream.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/te_bloodstream.cpp /game/server/te_bloodstream.cpp]'''

Revision as of 01:42, 25 November 2022

Overview

A blood particle trail, the texture of which seems to be missing as it uses the missing texture purple and black.

Source location : /game/server/te_bloodstream.cpp

tempents.Send("Blood Stream", {m_vecOrigin=Vector(0, 0, 0),
                               r=255,
                               g=0,
                               b=0,
                               a=255,
                               m_nAmount=100,
                               m_vecDirection=Vector(0, 0, 0)}, nil);

Class Structure

SendProps

CTEBloodStream
Name Type Description
m_vecDirection Vector The direction this particle will emit towards
r Integer The red color value
g Integer The green color value
b Integer The blue color value
a Integer The alpha value (transparency)
m_nAmount Integer How much should be emitted