1. Forums
  2. Discord
  3. About Mapcore
  4. Patreon Supporters
  • Login
  • Register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • More Options
  1. Mapcore
  2. Discussions
  3. Level Design

Explodable objects in hammer

  • Mapham
  • June 3, 2014 at 3:40 PM
  • Mapham
    • June 3, 2014 at 3:40 PM
    • #1

    How to create object that explodes or creates some other effects upon receiving damage? For an example, if player shoots at gas tank and it explodes.

  • spence
    • June 3, 2014 at 3:50 PM
    • #2

    https://developer.valvesoftware.com/wiki/Func_breakable

  • LATTEH
    • June 3, 2014 at 3:56 PM
    • #3

    If your making a model you can also use this code in the QC i think it gets placed as a prop_Physics in hammer.


    Code
    $keyvalues
    {
       "prop_data"
       {
           "base"              "Wooden.Small"
           "health"            "1"
           "dmg.bullets"       ".1"
           "explosive_damage"  "200"
           "explosive_radius"  "200"
       }
    }
    Display More

    Just mess with the settings to get what you want.

  • Mapham
    • June 3, 2014 at 4:09 PM
    • #4

    But how to make the explosion animation? or does it generate that automatically?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!

Register Yourself Login
Discord

The Mapcore Discord is our lively IRC channel of the 2000s reborn. Chat about level design, gaming, and more.

Latest Posts

  1. Any of the old guard still around? D:

    Thrik
    September 28, 2026 at 7:26 PM
  2. (HLDM) dm_warehouse

    The_Invader79
    September 20, 2026 at 11:44 AM
  3. [CS:GO][WiP] cs_opera

    leplubodeslapin
    September 17, 2026 at 8:50 AM
  4. Building a Huge Library of Free Images for Everyone

    Thrik
    September 7, 2026 at 10:09 PM
  5. POLYSTRIKE - Finally Announced After Years of Development!

    Mocherad
    August 23, 2026 at 7:56 AM
  6. CS:S | cs_manoir | Map creation process by D'artagnan

    Thrik
    August 3, 2026 at 10:42 AM
  7. Custom Gamemodes Contest

    Angel
    July 20, 2026 at 11:46 AM
  8. FAQ

    Angel
    July 20, 2026 at 10:14 AM
  9. Tangerine

    Harry Poster
    July 18, 2026 at 11:10 AM
  1. Privacy Policy
  2. Contact
Powered by WoltLab Suite™