madjawa Posted July 8, 2007 Share Posted July 8, 2007 Hi Sorry, the topic title isn't very clear but I don't really know how to call that... I want to make that when a player (or bot, npc) hits a wall (or ceiling) fast enough, it gets damaged (like falling damage but with walls, ...) Is it hard to do? I don't have any idea on how to do this... Thanks in advance madjawa Link to comment Share on other sites More sharing options...
DarthDie Posted July 8, 2007 Share Posted July 8, 2007 Edited: What I said before wont work.. Link to comment Share on other sites More sharing options...
ensiform Posted July 8, 2007 Share Posted July 8, 2007 Unless the wall is an entity (func_breakable) You cannot make the world geometry break like what you want to do. And you cannot make an entire map out of func_breakable. Because you need world geometry or it will fail to compile. Infinite leaking, etc. And entities don't interact like normal world geometry even brush entities. Link to comment Share on other sites More sharing options...
SMoKE Posted July 12, 2007 Share Posted July 12, 2007 And there is a max number of func_breakables too.. 255 I believe. If you add the spawnflag "Thin" to the breakable (it's a checkbox in the Entity Window), it works like glass, so you can jump on it, and it breaks. Link to comment Share on other sites More sharing options...
XycaleTh Posted July 12, 2007 Share Posted July 12, 2007 I think he's asking how you would give damage to the player if they were moving at a high enough velocity into a wall. Not damaging the wall. Link to comment Share on other sites More sharing options...
ensiform Posted July 13, 2007 Share Posted July 13, 2007 FYI That already happens. It's called falling damage. :S Link to comment Share on other sites More sharing options...
Tinny Posted July 14, 2007 Share Posted July 14, 2007 Yeah, thing is running and bunny hopping with force speed with incredible speed way higher than the speed of falling a couple stories gives you no damage when you bump into a wall. Like Ensi said I think just take a look at the fall damage code. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.