Raised This Month: $51 Target: $400
 12% 

[CSS] Make a part of the smoke invisble


Post New Thread Reply   
 
Thread Tools Display Modes
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 04-05-2012 , 12:37   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #11

Quote:
Originally Posted by Lord Canistra View Post
>much the same thing
>simply turning off smoke

Then it's not "much the same thing" at all.
>Turning off a smoke
>Turning off part of a smoke.

Pretty similar to me.
minimoney1 is offline
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 04-05-2012 , 13:10   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #12

Uh-huh. Blockin spawning of some enitity and manipulating individual smoke particles born by particle effect which this entity summons. Totally one and the same.
__________________
Lord Canistra is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 04-05-2012 , 16:17   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #13

the source code for the smoke grenade is here.
you could try hooking fillvolume() with dhooks then do a few raytraces to make sure there are no walls within the smoke volume (its a 100x100x100 box), then manually set m_CurrentStage to 1 and manually set the collisionbounds (m_vecMins/m_vecMaxs) depending on if you hit something in the raytraces, if you did adjust the bounds so they don't pass through whatever walls are in the way otherwise just use the default values in fillvloume().

EDIT: the above may not actually work, i was looking at the client file and it seems as though the smoke is clientside only.

Last edited by blodia; 04-05-2012 at 16:29.
blodia is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 04-05-2012 , 21:18   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #14

Thank's alot, any one could post a simple loop to get every coordination in a area?

Last edited by Mathias.; 04-05-2012 at 21:18.
Mathias. is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:00.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode