{"push_id":1336005515,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"059980b1a5cec61edfb67b37e82b30fcb614c0ff","before":"dfa09d31612eac8b247ec12e87da77284ccc9c7f","commits":[{"sha":"059980b1a5cec61edfb67b37e82b30fcb614c0ff","author":{"name":"Glowbal","email":"b0faa238fdefbd9c4eaef457d012a1d805a576e6@live.nl"},"message":"Add ammo cookoff (#4376)\n\n* Add Ammo cookoff\r\n\r\n* Remove tabs\r\n\r\n* Add initial ammo box cook-off\r\n\r\nDoes not include a fire effect, mostly just a proof of concept.\r\n\r\nShould probably also add further potential cook-off conditons (if hit by tracer for example).\r\n\r\n* Add burning effects to ammo box cook off\r\n\r\n- Add burning effect while ammo box is cooking off\r\n- Add setting to enable/disable ammo boxes cooking off\r\n- Clear magazine cargo while box is burning\r\n\r\nCurrently the box will burn for 60 seconds hardcoded, this is to allow time for the ammunition to cook off (since boxes sink into the ground and dissapear when destroyed). Perhaps we can implement a way to burn until all ammo is expended.\r\n\r\n* Improve ammo cookoff\r\n\r\n* Integrate ammo cookoff with the incendiary grenade\r\n\r\n* Disable ammo cook off underwater\r\n\r\n* Optimize fnc_detonateAmmunition\r\n\r\nI say optimize, the only real performance optimization is using `vectorMultiply`. The rest is readability optimization though!\r\n\r\n* Improve ammo box cook off\r\n\r\n- Remove unnecessary light source (fire particles provide lighting)\r\n- Add randomness to cook off time\r\n- Cook off begins with fire effect rather than smoke\r\n\r\n* Add tracer induced ammo box cook off\r\n\r\nDue to limitations in the way arma handles tracer rounds (there's no way to check if an individual projectile is a tracer), only magazines with a high enough tracer density (at least 1 in 4) can cause cook off this way. However this is deemed an acceptable approximation since the chance of this happening should be quite low anyway.\r\n\r\n* Decrease amount of explosions from ammo cookoff\r\n\r\n* Add is local check for remote event","distinct":true,"url":"https://api.github.com/repos/acemod/ACE3/commits/059980b1a5cec61edfb67b37e82b30fcb614c0ff"}]}
{"actor":{"display_login":"Glowbal"}}