Battlefield Modding Tutorials BFMODS https://battlefieldmodding.com/ssm/phpBB3/ |
|
e_ExplGas smoke TTL problem https://battlefieldmodding.com/ssm/phpBB3/viewtopic.php?f=3&t=5183 |
Page 1 of 3 |
Author: | Senshi [ Tue Aug 18, 2009 2:40 pm ] |
Post subject: | e_ExplGas smoke TTL problem |
Author: | Losnar [ Tue Aug 18, 2009 2:55 pm ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
Author: | Senshi [ Tue Aug 18, 2009 3:06 pm ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
Doesn't help. |
Author: | Senshi [ Tue Aug 18, 2009 9:50 pm ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
Narrowed it down. It appears that no matter what effect, it lasts only 2 seconds max for the wreck, then every emitter (probably the bundle itself) is killed. But I have absolutely no idea why. Some guesses: 1) It's because the actual vehicle gets replaced by the "wreck" object then (though the LodSelector states it's still the same PCO, just switched to display a simple Wreck) 2) Perhaps because the effect actually is a simple armoreffect and perhaps this gets deactivated somehow? Armoreffects appear to be attached to their parent PCO, so this might be a possible problem. But why 2 seconds later? Because the hitpoint value of the vehicle then is changed from 0 to whatever or deactivated, leading to the death of all armoreffects? Really at aloss there ![]() EDIT: Oh yeah, any suggestion for a workaround is very welcome too. Already had some thoughts about perhaps spawning an invisible object when the vehicle dies and attaching the emitter to the invisible one. Disadvantage: If the vehicle dies "in movement" (e.g. plane shot down), the emitter wouldn't follow the crashing wreck, but just remain stationary... |
Author: | [TKO]Twist [ Wed Aug 19, 2009 5:58 am ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
What about activating the wreck itself and attach it to the wreck? |
Author: | Senshi [ Wed Aug 19, 2009 7:02 am ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
Tried that, didn't work for whatever reason. I just actived it and "addtemplate" the emitter to it...that's how it should be done, right? I also tried replacing the "simpleobject" wreck with a "bundle" which includes to effect: no effect starting either... I don't get it ![]() |
Author: | freddy [ Wed Aug 19, 2009 12:18 pm ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
try give the wreck setNetworkableInfo |
Author: | Senshi [ Wed Aug 19, 2009 1:26 pm ] |
Post subject: | Re: e_ExplGas smoke TTL problem |
Wouldn't that be pretty irrelevant for a local test? And wouldn't that require transforming the wreck into a bundle or even a PCO? I don't think simpleobjects are designed for networkableinfos? Will try it though... EDIT: Didn't work either ![]() |
Page 1 of 3 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |