UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #3177 Unpassable plant
Go to the next issue (open or closed)
Go to the next open issue
aduke1 (@aduke1) has been working on this issue since January 28, 2013 (20:48)
Issue basics
  • Type of issue
    Bug report
  • Category
    Battlescape
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    4. Useful
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/3177 Item 3177] imported from sourceforge.net tracker on 2013-01-28 20:02:17

Version: 2.4-dev IA-32 Mar 21 2012 Win32 RELEASE
Map: Little forest

A certain plant type has two unpassable squares, even though pathfinding (option Confirm action is set to Moving only) considers it a valid path. This can cause soldiers to get stuck or to take a detour costing more TU, which in turn can cause not enough TUs to remain to fire, crouch, etc. A screenshot is included to demonstrate this issue; the soldier is unable to take the path the blue line suggests.

Reproduce by standing next to one of these plants and trying to move into one of the offending squares.
===== Comments Ported from Sourceforge =====

====== aprogas (2012-03-21 14:22:04) ======

screenshot with red dots indicating unpassable parts
====== aduke1 (2012-03-31 20:35:04) ======

Confirmed.
====== aduke1 (2012-04-27 21:24:00) ======

We have two problems here:

1. It's NOT a problem that those branches are NOT walkable. The prob is that the other branches are walkable. I know how to correct that, but I'm not sure if we will like the result for especially this plant (G_BuildForbiddenListForEntity, xDelta = max(1, maxs[0] - mins[0]); )
It would probably be better to make this plant a func_model rather than a misc_model.

2. the drawn line of walking is of course wrong. Investigating...
====== aduke1 (2012-05-05 21:58:44) ======

2. is caused by misc_models not being in the client's forbiddenList.
The line is drawn by CL_ActorTraceMove which uses cl.pathMap.
cl.pathMap is updated by [...] CL_BuildForbiddenList that works different than G_BuildForbiddenList as far as ET_SOLID (the plant) is concerned.
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif