Raised This Month: $32 Target: $400
 8% 

[CSS] Make a part of the smoke invisble


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 04-01-2012 , 14:18   [CSS] Make a part of the smoke invisble
Reply With Quote #1

Is it possible to make a part of the smoke grenade invisible.
I want to make a plugin to make smoke not going throw walls.

Thank you,
black-rabbit
Mathias. is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 04-03-2012 , 15:57   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #2

Any one have an idea about it?
Mathias. is offline
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 04-03-2012 , 17:06   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #3

Well, unless you modify client particle effect, this is pretty much impossible to do.
__________________
Lord Canistra is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 04-03-2012 , 18:47   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #4

Maybe spawning another solid type of entity invisibly in the wall would work? I'm unsure where the smoke goes through. Did you have any special place in mind?
__________________
Peace-Maker is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 04-04-2012 , 15:40   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #5

I think smoke going throw everything. As I though I think it is impossible but who know! With all the great coder we got in this community maybe someone will get a idea about it.
Mathias. is offline
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 04-04-2012 , 16:47   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #6

The best idea I can come up with is modify clients particle file so that smoke particles will collide with world and check (if possible) LOS to origin, that is, point of nade explosion before getting spawned.
__________________
Lord Canistra is offline
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 04-04-2012 , 17:16   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #7

the last time i checked (can't remember if it was before the orangebox update or after) when the smoke grenade detonates it creates an env_particlesmokegrenade entity which is a brush volume that is filled with the smoke particles. i remember trying to change the min/max bounds of the volume which made the smoke particles invisible for some reason. best bet is to try messing around with that entity.
its pointless considering changing any client side files since you can't... a lot of entities use fixed files and since you can't force clients to download files they already have or edit the entities client side.
blodia is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 04-04-2012 , 23:02   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #8

Will it be possible to remove default smokegrenade and create a loop throw the smoked zone and create a small smoke effect for each coordination if their no wall. Also it will evade almost all cheats to force the client to see throw smoke at the same time because it will be a custom effets?

If anyone could post a little idea about it it will be answome.

For flash is it possible to fade to white client screen as the same for flash style and remove the default flash effect to also avoid hacks to bypass flash?

Last edited by Mathias.; 04-04-2012 at 23:04. Reason: Put upper case for the first letter of my sentence & add flash idea.
Mathias. is offline
necavi
Veteran Member
Join Date: Sep 2010
Old 04-04-2012 , 23:22   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #9

black-rabbit: that actually is possible, I was doing much the same thing at once point, although simply turning off smoke for some clients (never got it to work entirely). All it requires is to hook the creation of the entity env_particalsmokegrenade, kill it and replace it with your own.
necavi is offline
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 04-05-2012 , 02:50   Re: [CSS] Make a part of the smoke invisble
Reply With Quote #10

>much the same thing
>simply turning off smoke

Then it's not "much the same thing" at all.
__________________
Lord Canistra is offline
Reply


Thread Tools
Display Modes

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 08:22.


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