prop_physics_respawnable issue
Post Reply
Quote
Re: prop_physics_respawnable issue
Posted by ReNo on Sun Dec 5th at 5:29pm 2004


I'm having a bit of a wierd problem with my prop_physics_respawnable entities at the moment. They respawn fine, but if they were destroyed by attacks rather than physics, then when they next respawn they will be destroyed in a single hit. For instance, the explosive barrels initially take a few shots from the pistol to blow up, but once they respawn afterwards they blow up as soon as the first shot hits them. If you destroy them with physics, then when they respawn they can be shot multiple times as usual. I assume it has to do with their health values not being reset upon respawn, but am curious if anybody else has them working properly.
[addsig]




Quote
Re: prop_physics_respawnable issue
Posted by 7dk2h4md720ih on Sun Dec 5th at 5:38pm 2004


Although I don't have a solution, I can recreate the problem, eliminating the possibility of the problem being anything to do with your setup.




Quote
Re: prop_physics_respawnable issue
Posted by Leperous on Sun Dec 5th at 6:10pm 2004


Try adding an "OnBreak" output using "SetHealth" (to some appropriate value)?





Quote
Re: prop_physics_respawnable issue
Posted by ReNo on Sun Dec 5th at 8:54pm 2004


Well you'd think that would work, but it doesn't seem to I've tried setting health to both reasonable and large amounts with no success, and I've tried setting a delay so the health is set AFTER they respawn, but no success. I've also tried the "AddHealth" parameter without luck.
[addsig]




Quote
Re: prop_physics_respawnable issue
Posted by Leperous on Sun Dec 5th at 9:03pm 2004


How about a logic_relay that resets the health in this way every, say, 15 seconds? (link it to turning on and off a light so you can check it's working) But perhaps the problem is that they lose their name and all identity when they're respawned, in which case you're screwed and there is no answer

Actually, with my limited experience with HL2 mapping, it seems there is a lot of power but also a lot of really niggly little things that you can't do (e.g. it took me a whole day to work out how to make a thumper that doesn't kick up any dust), hopefully these things will be fixed in HL2's patch lifetime!





Quote
Re: prop_physics_respawnable issue
Posted by Samoflan on Sun Dec 5th at 10:31pm 2004


I was playing HL2DM I noticed same thing on the two DM maps...



Quote
Re: prop_physics_respawnable issue
Posted by nickster on Tue Dec 7th at 9:55pm 2004


If you can't figure it out Reno, then there's no way in hell I'LL be able to. But I feel your pain.





Quote
Re: prop_physics_respawnable issue
Posted by ReNo on Tue Dec 7th at 10:13pm 2004


Well if samoflan has found the problem to occur in the official maps as well, then its probably just an oversight in the game code and is like to be fixed. I'll live with it for the time being
[addsig]





Post Reply