official-antistasi-community / A3-Antistasi

Antistasi Community Version - work in progress - Discord https://discord.com/invite/TYDwCRKnKX
https://antistasi.de
Other
225 stars 156 forks source link

Convoy mission vehicles kill themselves/spawn wrong #8

Closed Spoffy closed 3 years ago

Spoffy commented 5 years ago

Needs verification if this is a spawning issue, or Civilian driving on-route.

Spoffy commented 5 years ago

havent ever sat down to figure it out, but I envision a system that checks for players within X00 meters when the mission vehicle has been destroyed before spitting out awards and penalty aggression.

An event handler attached to the vehicle might be able to do a better job too, if it works to figure out who the killer was and then verifies the side of the killer before awards.

This of course is all based on the assumption its a civillians fault, and isnt simply exploding when spawned into a house.

Spoffy commented 5 years ago

I would bet alot on bad spawning, cause (at least for me) this mostly happens instantly on mission start, there would be no way for the AI to kill itself so quickly. And especially for bigger convoys with multiple vehicles it is unlikely that it is always the target vehicle, that kills itself while driving.

Will look into this with the new convoy system

SEBArma commented 5 years ago

contact Sparker, he is back form his trip now and has worked on this in the past

Spoffy commented 5 years ago

Being worked on as part of https://github.com/official-antistasi-community/A3-Antistasi-1.4/commits/ConvoySimulation - removed from milestone

Bob-Murphy commented 4 years ago

@wurzel0701 I think this was solved by your new system? If so, please confirm & close.

Spoffy commented 4 years ago

Under the new system, they do still occasionally spawn wrong unfortunately :( It's a limitation of the Arma engine's ability to detect safe locations.

I wrote some code a while back that can sort this though (well, it has a higher % chance of success)

wurzel0701 commented 4 years ago

The convoy mission are currently using a different code than the reinforcement convoys, so it didn't changed right now. I need to update the code for convoy missions (code is there, it is not getting called anywhere) for it to work

Bob-Murphy commented 4 years ago

@wurzel0701 I bet this one if fixed with the convoy overhaul?!? If so, please change milestone to 2.2.2 and close.

wurzel0701 commented 4 years ago

The convoy overhaul is not yet finished (nor started) so I can't give you an ETA or version. But yeah it will be fixed with it

wurzel0701 commented 4 years ago

This is mostly done isnt it? John did alot of fixes for convoys

AlexTriada commented 3 years ago

close this issue, not actual now