Mapham Posted June 3, 2014 Report Posted June 3, 2014 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. Quote
spence Posted June 3, 2014 Report Posted June 3, 2014 https://developer.valvesoftware.com/wiki/Func_breakable LATTEH 1 Quote
LATTEH Posted June 3, 2014 Report Posted June 3, 2014 (edited) 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. $keyvalues { "prop_data" { "base" "Wooden.Small" "health" "1" "dmg.bullets" ".1" "explosive_damage" "200" "explosive_radius" "200" } } Just mess with the settings to get what you want. Edited June 3, 2014 by LATTEH Quote
Mapham Posted June 3, 2014 Author Report Posted June 3, 2014 But how to make the explosion animation? or does it generate that automatically? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.