Changes between Initial Version and Version 1 of Ticket #3538
- Timestamp:
- Oct 18, 2015, 5:14:27 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3538
- Property Summary Longrange-pathfinder ignoring new obstructions when moving big units → Longrange-pathfinder allows goals inside new obstructions when moving big units
-
Ticket #3538 – Description
initial v1 1 Units can go through obstructions, as reported in #3410. This ticket should deal with one particular case. 2 1 3 '''Reproduce:''' 2 4 1. Build something … … 4 6 3. Tell the big unit to move inside the new building (make sure it's a longpath) 5 7 8 [[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3538/siege_inside_obstruction.gif, 300px, center)]] 9 6 10 By showing the pathfinder overlay in the developer menu, you see that '''the returned longpath has a goal inside the obstruction'''. The unit will follow that longpath and enter the building. 7 11 8 Notice '''if the building existed when the game started, the goal of the longpath will be outside the obstruction and the unit will not enter the building'''(besides #3532)12 '''Notice the bug only applies to obstructions that are added after the game has started.''' If the building existed when the game started, the goal of the longpath will be outside the obstruction and the unit will not enter the building (besides #3532) 9 13 10 14 (Units in formation count as a single big unit (clearance 4) and also get a goal point inside the obstruction. But they disband when hitting the obstruction and don't enter it.) … … 13 17 Together with #3532, '''this bug accounts for the "ship on land"''' thing, which has been reported here http://wildfiregames.com/forum/index.php?showtopic=20083 and happened to me in some games (uploaded in #3513 and #3471). Replaying those games showed that ships always entered the land by moving through the obstructions of docks. 14 18 19 The bug occurs with all '''obstructions that are added after the game started''': 20 [[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3538/newly_constructed_dock.jpg, 300px, center)]] 21 22 While obstructions that '''exist when the game started''' are handled correctly: 23 [[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3538/prebuilt_dock.jpg, 300px, center)]] 24 25 Result ingame: 15 26 [[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3410/ship.gif, 300px, center)]]