DUWS-R-Team / DUWS-R

ArmA 3 Dynamic Universal War System - Rebirth
42 stars 18 forks source link

Manned APC Spawned inside Command building. #153

Closed TuxuHolyland closed 6 years ago

TuxuHolyland commented 7 years ago

I've ordered a motorized inf unit in an APC, it spawned inside the HQ. http://steamcommunity.com/sharedfiles/filedetails/?id=970694107

Happened in a listening server multiplayer that I'd hosted on my own PC.

TuxuHolyland commented 7 years ago

Leave a comment

ultranoobian commented 7 years ago

Hey @TuxuHolyland , Thank you for submitting a bug report.

Just to ask some questions, Did you already have multiple vehicles spawned outside the HQ and/or did you spawn lots of groups at once?

TuxuHolyland commented 7 years ago

Hi, I've spawned the apc in an empty HQ That was situated east of Balota, south of Balota's Airfield and very close to the asphalt road which was several meters to the south of the HQ. I've tried to recreate that on that map of Australia(from the workshop) and have failed. I've placed HQ in an airport and tried to spawn that airplane that has a tag saying "spawn only in an airfield" and it crashed the HQ as it spawned. Don't hesitate to ask for more info/pics as required, I'll be glad to be of service.

Regards.

EDIT: AMV-7 Marshall was spawned by the AI on top of the HQ side staircase. Location: Esseker - Adela Airfield.

http://steamcommunity.com/sharedfiles/filedetails/?id=973420346 http://steamcommunity.com/sharedfiles/filedetails/?id=973420447

ultranoobian commented 7 years ago

Okay, I think I found the problem for quite a few things. The code for spawning units, vehicles and groups doesn't implement safe spawn locations. It only offsets the HQ position by a few units and has static spawn point for the entire game.

So if you were to quickly spawn in a few vehicles, it would very quickly saturate the area and/or kick up some buildings.

In your case, the latter must have happened, and it spawned on the fence.

Edit: just so it's clear. The current solution would be to manually pick a flat spot hopefully without trees or buildings nearby.

TuxuHolyland commented 7 years ago

assuming that the new safe spawns are implemented for groups and vehicles I'll give it a go in a day or two when I have a break from the uni.