Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Toggleable shadows for bombsites - A Tutorial for Counter-Strike 1.6.

light_shadow & light_bounce tutorial

✔️ Download example file

Too many maps either don't use shadows for breakable entities in bombsites or forget to make them disappear when the bomb explodes. This tutorial will explain how the light_shadow and light_bounce entities can be used to toggle shadows for brush entities.

1. Requisites


2. Entity setup

Ordinarily, you would have your func_bomb_target entity target your func_breakable entities with the Only Trigger flag checked.

My method uses a multi_manager entity to target not only the breakables, but also light_shadow and light_bounce. These light entities should have the Initially dark flag checked, and will in turn target the breakables. Here's a flow chart of the entity logic.


The shadows should disappear when the crates break.

  • Cmdr avatar
    Cmdr Joined 11y ago
    Offline
    35,360 points Ranked 165th
    27 medals 2 legendary 5 rare
    • Returned 5000 times Medal icon
    • 10 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • 6 years a member Medal icon
    • Submitted 15 Mods Medal icon
    5mo
    One little addition:
    The func_breakables need light flags = opaque to cast shadows.

    Otherwise great tutorial. Thank you for it!
    • Top Banana x 1
    Bananite
    URL to post:
  • z0h1r-LK avatar
    z0h1r-LK username pic Joined 4y ago
    Offline
    119 points Ranked 101,355th
    20 medals 4 rare
    • Submitted 20 Maps Medal icon
    • Returned 1000 times Medal icon
    • Submitted 15 Mods Medal icon
    • Submitted 20 Mods Medal icon
    • Submitted 5 Maps Medal icon
    • One month a member Medal icon
    2y 2y
    I knew this tuto
    But the thing I knew about this tuto
    How to remove shadow when burst c4 xd
    z0uha1r.blogspot.com
    URL to post:
  • soyagustinariel avatar
    soyagustinariel Joined 4y ago
    Offline
    5,953 points Ranked 1,765th
    14 medals 1 rare
    • Returned 1000 times Medal icon
    • Returned 100 times Medal icon
    • One month a member Medal icon
    • Submitted 5 Maps Medal icon
    • Submission featured Medal icon
    • 6 months a member Medal icon
    2y
    Very cool tutorial. Hmmm what is the name of that map? or it is just a test arena? halflife.wad will always summon me.
    Dreamer
    URL to post:
  • Foofinoo avatar
    Foofinoo username pic Joined 9y ago
    Dead
    Cell 1 Flag Affiliation: Cell 1
    28,044 points Ranked 237th
    38 medals 3 legendary 10 rare
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • 2nd Place - Marble Tracks Redux Contest Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    Foofinoo avatar
    Foofinoo
    Cell 1 Flag
    Affiliation
    Cell 1
    2y
    That's really interesting and easy to do ! I never really noticed that and I didn't even knew it was possible to do so.
    Professional Crastination avatar
    Mantra
    Professional Crastination
    URL to post: