Talk:Grenade:Napalm
Should napalm set buildables on fire? At the moment I don't think we've got it set up to be possible, but it's something to discuss.
The main reason I say this is the napalm damage structure and design is that a flying flame will do a set amount of damage once, stick to a victim and be removed from the world.
Since buildables don't go on fire, then it doesn't make sense to remove an airborne flame on it coming into contact with a buildable. If it hits a buildable then there's quite a few possibilities:
- 1. Hits the buildable, does the regular amount of damage for an airborne flame, is removed from the world and doesn't set the buildable on fire. Looks stupid because it is hurting the buildable but there's no visual cue that it's being burnt.
- 2. Hits the buildable, does zero damage, isn't removed from the world. Falls to the ground and then starts damaging buildable with the lower damage rate. Looks weird because why would an airborne flame not hurt it, but a ground-based flame would?
- 3. Hits the buildable, does the regular amount of damage for an airborne flame, isn't removed from the world and doesn't set the buildable on fire. Dumb because it may strike the buildible multiple times in the period that it takes for the flame to fall to the ground (as it's not being removed). This would probably result in an instantly destroyed buildable.
- 4. Hits the buildable, does the regular amount of damage for an airborne flame, is removed from the world and sets the buildable on fire. Probably the idea solution? May require more coding so that buildables can support flames.
I'd probably go for number four. We'll also have to figure out how we're doing napalm damage for non-buildable objects that can take damage (like func_breakables and destroyable props). It'll be the same problem if an airborne flame can hurt something multiple times. We could possibly solve this by making an airborne flame only able to damage the same object once.
This.. comment is confused. You programmer dudes probably have some elegant solution up your sleeves.