Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
Death Bubble Last Too Long Solution https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=4&t=3340 |
Page 1 of 2 |
Author: | privaterivvan [ Thu Sep 27, 2007 11:42 pm ] |
Post subject: | Death Bubble Last Too Long Solution |
ok people have been trying to make gas grenades andd stuff with death bubbles but they last forever you guys tried time to live and everything WELL I THINK I MAY HAVE THE SOLUTION.Medic Lockers use sethealth to heal but so there code is like this ObjectTemplate.setHealth -1 5 0 or something well i looked into code and found out that that -1 parts means unlimited . meaning it gives health forever now with this code i think the death bubble will stop ObjectTemplate.setHealth 5 -2 0 (tweak with for longer or shorter death bubbles) |
Author: | Zaitsef [ Fri Sep 28, 2007 1:55 pm ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
interesting ... What do the numbers stand for ? 1. = total healing time ? 2. = healing points per second ? 3. = ??? time to get a beer ???? |
Author: | Iced Earth [ Fri Sep 28, 2007 5:38 pm ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
Author: | Zaitsef [ Sat Sep 29, 2007 9:46 am ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
So if i interpret this correctly the following is true: argument 1: amount given out; "-1" means "infinite" argument 2: how much health-gain per second argument 3: how fast the supply point itself gets resupplied, if argument1 is not "-1" (may not work). So if argument 1 is set to a number , healing or killing amount is limited. But does that amount start getting used up by the first soldier getting near ? or will it start over for every other soldier approaching it ? |
Author: | privaterivvan [ Sat Sep 29, 2007 2:34 pm ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
always set the last one to 0 or it will cause crashes |
Author: | freddy [ Sat Sep 29, 2007 2:53 pm ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
Author: | privaterivvan [ Sat Sep 29, 2007 3:28 pm ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
that page says it will not work |
Author: | Why Two Kay [ Sat Sep 29, 2007 4:12 pm ] |
Post subject: | Re: Death Bubble Last Too Long Solution |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |