Changes between Initial Version and Version 1 of Ticket #3538


Ignore:
Timestamp:
Oct 18, 2015, 5:14:27 PM (9 years ago)
Author:
elexis
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3538

    • Property Summary Longrange-pathfinder ignoring new obstructions when moving big unitsLongrange-pathfinder allows goals inside new obstructions when moving big units
  • Ticket #3538 – Description

    initial v1  
     1Units can go through obstructions, as reported in #3410. This ticket should deal with one particular case.
     2
    13'''Reproduce:'''
    241. Build something
     
    463. Tell the big unit to move inside the new building (make sure it's a longpath)
    57
     8[[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3538/siege_inside_obstruction.gif, 300px, center)]]
     9
    610By 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.
    711
    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)
    913
    1014(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.)
     
    1317Together 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.
    1418
     19The 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
     22While 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
     25Result ingame:
    1526[[Image(http://trac.wildfiregames.com/raw-attachment/ticket/3410/ship.gif, 300px, center)]]