View Single Post
Author Message
panikajo
Member
Join Date: Jan 2013
Old 07-23-2018 , 06:44   i need entity default smoke nade
Reply With Quote #1

The name of the object (env_smokestack)
At me now such parameters but, the smoke not dense turns out.
And if you go into the smoke and look at the floor then the floor will be clearly visible.



HTML Code:
DispatchKeyValue(entity, "BaseSpread", "30"); 
    DispatchKeyValue(entity, "SpreadSpeed", "10");
    DispatchKeyValue(entity, "Speed", "50");
    DispatchKeyValue(entity, "StartSize", "160");
    DispatchKeyValue(entity, "EndSize", "160");
    DispatchKeyValue(entity, "Rate", "80");
    DispatchKeyValue(entity, "JetLength", "150");
    DispatchKeyValue(entity, "Twist", "1");
    char buffer[12];
    Format(buffer, sizeof(buffer), "%i %i %i", GetRandomInt(0, 255), GetRandomInt(0, 255), GetRandomInt(0, 255));
    DispatchKeyValue(entity, "RenderColor", buffer);
    DispatchKeyValue(entity, "RenderAmt", "255");
    DispatchKeyValue(entity, "SmokeMaterial", "particle/particle_smokegrenade1.vmt");

Last edited by panikajo; 07-23-2018 at 06:44.
panikajo is offline