Fire

From Valve Developer Community
Jump to: navigation, search
Abstract Mapping series Discuss your thoughts—Help us develop the articles or ideas you want

Ammunition | Animals | Animated Clouds | Animated Sky | Antlions | Beams | Bushes | Cables | Color | Combat | Combine | Creatures | Doors | Dust | Elevators | Environmental Lighting | Explosions | Fire | Fog | Foliage | Glass | Grass | Headcrab | Health | Ladders | Lasers | Lighting | Moving Clouds | Music | Optimization | Outdoors | Physics | Retinal scanners | Ropes | Smoke | Sound | Special effects | Sun | Terrain | Trains | Trees | Turrets | Water | Weather | Windows | Zombie

Tutorials

Entities

  • Flammable Models (QC parameters) : see Prop Data#Flammable Props and physgun_interactions (onbreak: explode_fire: Prop ignites nearby enemies when it explodes on breaking).
  • Flammable Brushes: To do: ?
  • env_entity_igniter Point entity that ignites a target entity. If the target is an animating model, it will have sprite flames attached to its skeleton. Otherwise the entity will emit particle flame puffs.
  • env_fire Point entity that handles a single flame at its origin. The flame causes heat 'damage' to other env_fire entities around it, and will eventually ignite non-flaming env_fire entities nearby, causing the fire to spread.
  • env_firesensor Point entity that detects changes in heat nearby. Parameters: fireradius, heatlevel, heattime. Outputs: OnHeatLevelStart, OnHeatLevelEnd.
  • env_firesource Point entity that provides heat to all nearby env_fire entities. Cannot be extinguished.
  • physics_cannister Point entity - a physically simulated gas cannister that can have its cap shot off, at which point gas will start escaping and cause the cannister to fly around. If it takes enough damage, it will explode.

Smoke & FX

Materials