advancedfx / advancedfx

Half-Life Advanced Effects (HLAE) is a tool to enrich Source (mainly CS:GO) engine based movie making.
https://www.advancedfx.org
MIT License
508 stars 79 forks source link

Remove flash effect #270

Closed qriosserra closed 4 years ago

qriosserra commented 4 years ago

Hi Is there a command or way to remove flashban effect on CS:GO? Also is there same for smoke or molotov? Thank you

dtugend commented 4 years ago

https://github.com/advancedfx/advancedfx/wiki/Tutorials#csgo-flash-removal

Regarding smoke:

mirv_streams add baseFx noSmoke
mirv_streams edit noSmoke actionFilter add "particle/vistasmokev1/vistasmokev1" noDraw
mirv_streams edit noSmoke actionFilter add "particle/vistasmokev1/vistasmokev1_smokegrenade" noDraw
mirv_streams edit noSmoke actionFilter add "particle/vistasmokev1/vistasmokev1_emods" noDraw
mirv_streams edit noSmoke actionFilter add "particle/vistasmokev1/vistasmokev1_emods_impactdust" noDraw
mirv_streams edit noSmoke actionFilter add "particle/vistasmokev1/vistasmokev1_fire" noDraw
mirv_streams edit noSmoke actionFilter add "effects/overlaysmoke" noDraw
mirv_streams edit noSmoke smokeOverlayAlphaFactor 0 // important to make it render even when fully in smoke

Related tutorial (so you can make one yourself for moltov): https://github.com/advancedfx/advancedfx/wiki/Tutorials#mirv_streams---picker---hiding-materials--entites-and-special-effects