how works a entity "env_steam" ?

hello everyone, i’m creating a bazooka swep,

everything works but now i want to add a steam effect on the rocket launched ?

i’ve try this from the valve dev wiki ( )

the rocket entity code :

function ENT:Initialize()

	self:SetModelScale( 4 )
	self:PhysicsInit( SOLID_VPHYSICS )
	self:SetMoveType( MOVETYPE_VPHYSICS )
	self:SetSolid( SOLID_VPHYSICS )
	self:DrawShadow( false )
	self:SetCollisionGroup( COLLISION_GROUP_WEAPON )
	local phys = self:GetPhysicsObject()


        -- this doesn't works :
	steamEffect = ents.Create("env_steam")

if you can help me :slight_smile:

click NOICE

Just use Lua effects instead?

like this : ?
and this

effects.Create ?

If, then that:


effects.Create() is a internal function.

exactly …

so i have found something else :

function ENT:Think()

	ParticleEffect( "generic_smoke", self:GetPos(), self:GetAngles(), self )


but anyone know where i can find is the particle list ?

Use util.Effect and create your own particles.

in the gmod root files, there are files wich you need to open with GCFScape, I dont know wich of these, but one contains all models, materials, particles etc etc.

no time for this, but thanks :slight_smile:

thats right, there only 1 smoke particle
also particles effects are listed in the emitter tool options …
that smoke effect is not pretty nice, but this is what i want so the problem is fixed…

thanks :slight_smile: