I have experimenting some with deathbubbles and the problem with them leaving dead vehicles behind. I cant say for sure this works but it looks promising in the tests iwé done.
Anyway, the change that seems to work best is to simply put in a fixed damage value for a vehicle instead of the unlimited value
Im not really sure how a supply bubble works because it will not totally stop dealing out damage after the -10 or the limit at 5, but it stops briefly and then chunk away another -10 again, maybe this pauses is enough to prevent leaving dead vehicles hanging.
Vid from testing, the zeros have the zero -1 -xx 0 for reference, and the aichis have the limited code, i havent tried this "live" in a populated server, it needs more testing to be sure if it works or not
Re: Deathbubbles dead vehicles problem
Posted: Tue Dec 18, 2012 11:19 pm
by fo0k
This only happens when there is a player in there. so a solution I think i tried but for sure should work.. was to use a secondary bubble to kill the player before vehicle dies. this is the (perhaps 'a') key factor.. player has to go first.
if vehicle health = 5 (death imminent) then show damage effect (a deathbubble template appears at 0/0/0) on vehicle... which is setup to kill the player (tiny radius required) a brief moment before the vehicle dies.
That said, your solution is strange how it handles those near death values but great if its stable!
Re: Deathbubbles dead vehicles problem
Posted: Wed Dec 19, 2012 12:29 am
by freddy
I like your solution better, the problem i had was how to get a deathbubble to affect a player inside a vehicle only and not nessesary the vehicle itself
Re: Deathbubbles dead vehicles problem
Posted: Wed Dec 19, 2012 1:15 am
by fo0k
hmm.. is this why i only half remember trying this?
I thought soldiers became "part" of the vehicle in BF42. Only in BFV and BF2 that changed properly. This is also why you can't get passengers to use their own weapons in BF42.
Re: Deathbubbles dead vehicles problem
Posted: Thu Dec 20, 2012 1:16 am
by freddy
Yes thats true, the player gets "shielded" from a external bubble, if the bubble is added to the vehicle itself, then it affects the player.
Re: Deathbubbles dead vehicles problem
Posted: Fri Feb 08, 2013 12:02 pm
by freddy
I had another go at this, it is like you cant let the vehicle be killed by the bubble no matter what so here is a way around it. Its not perfect as you can see but its the only relyable way i could make it work. Tested it as SSM mod