gruppe-adler / grad_civs

Arma 3 mod that adds ambient civilians
19 stars 6 forks source link

Vehicles not moving? #37

Open McDiod opened 5 years ago

McDiod commented 5 years ago

During Money in the Mist on 09/09/19 the majority of the civ vehicles did not move. Any idea what might have caused this?

Screenshot below. There were one or two vehicles moving at a time at most.

20190909211141_1

Fusselwurm commented 5 years ago

"After spawning, civilians mount up into their vehicles, but do not start driving"

like that?

Anyway, I heard this before and could not reproduce. A few things that come to mind:

nomisum commented 5 years ago

For the 2nd Point a pathCalculated EH may be sufficient to detect no road connection. Afaik result is an empty array. Beware pathCalculated takes up to some seconds to compute depending on distance.

3rd should not have happened.

nomisum commented 5 years ago

@McDiod sicher dass das grad-civs aktuell war? beim module updaten hat er einiges geändert 🤔

McDiod commented 5 years ago

Ja, 1.3.0 war drin und scheint auch noch aktuell zu sein.

McDiod commented 4 years ago

ftr: sort of the same thing in our game on 2020-01-27, although on that map it looked more like intended behaviour. On Tanoa all vehicles were static, while here 60% were moving. See also:

https://youtu.be/FRj0Wq5LJtQ?t=8574

Fusselwurm commented 4 years ago

i can see a few civ vehicles move in the replay, looks fine to me.

no idea where the abandoned vehicles come from, though. were they also civilian vehicles where the occupants despawned without despawning the vehicle as well (should not happen ™️)?

and i see loads of civs just standing in houses and that concerns me, they should be patroling the area 🤔

edit: lol. they apparently have 2 waypoints, one MOVE and one CYCLE, both effectively on the same spot. nice. new ticket: https://github.com/gruppe-adler/grad-civs/issues/41

Fusselwurm commented 4 years ago

For the 2nd Point a pathCalculated EH may be sufficient to detect no road connection. Afaik result is an empty array. Beware pathCalculated takes up to some seconds to compute depending on distance.

^ phrased as a TODO : prevent units from choosing unreachable waypoints

(which should solve this issue)

edit: #28 would fix that too

McDiod commented 4 years ago

no idea where the abandoned vehicles come from, though. were they also civilian vehicles where the occupants despawned without despawning the vehicle as well (should not happen ™️)?

No, those are a Money in the Mist feature.

Fusselwurm commented 4 years ago

possibly caused by #63