aliens

Author Topic: Pathfinder  (Read 26251 times)

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2163
    • View Profile
    • Email
Re: Pathfinder
« Reply #60 on: November 04, 2011, 12:39:04 am »
Suggestion.

How about having it so that holding down SHIFT makes the pathfinder appear after you have selected a unit?

This lets you preview the path without clicking; an important consideration if OpenX-COM is going to be played on laptops with badly laid-out mousepads.
What if you're playing it on a device without a SHIFT? :P

Offline kkmic

  • Commander
  • *****
  • Posts: 586
  • Undefined
    • Yahoo Instant Messenger - killermosi
    • View Profile
    • Email
Re: Pathfinder
« Reply #61 on: November 04, 2011, 09:32:19 am »
What if you're playing it on a device without a SHIFT? :P

There could be one user defined setting that will activate the path preview - this should work on all platforms

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
    • Email
Re: Pathfinder
« Reply #62 on: November 05, 2011, 06:02:55 pm »
Hi, for the people that don't like two clicks for every move, Volutar thought about adding a option of the path preview appearing after staying with your cursor on the same place more than 0,5sec. So this can be an alternative to the shift-click.

PS. This is the method use for JA2 as well.

The extra safety for the two-click movement is that if you clicked the wrong place by accident, you can correct. Which is what happens to me a lot, and a wrong click can mean sometimes the loss of a soldier or a whole mission. I got used to the two clicks very fast.
« Last Edit: November 05, 2011, 07:37:35 pm by Daiky »

Offline hsbckb

  • Colonel
  • ****
  • Posts: 275
  • Gill Man
    • View Profile
Re: Pathfinder
« Reply #63 on: November 06, 2011, 05:01:09 am »
I think the two click proposal is more feasible for device without mouse e.g android, tablet, iPhone.

Volutar

  • Guest
Re: Pathfinder
« Reply #64 on: November 06, 2011, 09:00:21 am »
So what? Just because someone wants to port OX to android, we've got rid of nice features, like hover path hightlighting? Everything should be optional. And no feature should be denied because of platform limitation.
« Last Edit: November 06, 2011, 09:35:22 am by Volutar »

Offline hsbckb

  • Colonel
  • ****
  • Posts: 275
  • Gill Man
    • View Profile
Re: Pathfinder
« Reply #65 on: November 06, 2011, 11:03:23 am »
so what????????

I only provide suggestion and hope you take this into consideration.

to be optional is good ;D

I am not sure  whether it is nice feature or not but I prefer Daiky's suggestion.

PS.  I like to play this game on PC instead of android, iPhone, tablet, etc

Volutar

  • Guest
Re: Pathfinder
« Reply #66 on: November 06, 2011, 11:33:38 am »
BTW path highlighting is almost invisible on the grass, because of green palette. I think it will eb better to have kind of "foot" overlay sprites for path.

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2163
    • View Profile
    • Email
Re: Pathfinder
« Reply #67 on: November 06, 2011, 09:21:10 pm »
Chill out guys, I was just making a joke. :P An option isn't as needlessly complex as you make it out to be.

Offline michal

  • Commander
  • *****
  • Posts: 636
    • View Profile
Re: Pathfinder
« Reply #68 on: November 08, 2011, 01:44:10 pm »
What about flying units? How it will work?

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
    • Email
Re: Pathfinder
« Reply #69 on: November 08, 2011, 03:32:38 pm »
Michal, currently it doesn't :) If there is no floor tile, it can not be colored.
But the feature served it's purpose for me, to debug that straight path issue.
The large unit pathfinding is starting to work, just some glitches on the stairs still left to do...
« Last Edit: November 08, 2011, 03:36:26 pm by Daiky »

Offline Yankes

  • Commander
  • *****
  • Posts: 2523
    • View Profile
Re: Pathfinder
« Reply #70 on: February 03, 2012, 10:30:28 pm »
I find interesting article about path finding:
https://aigamedev.com/open/tutorial/symmetry-in-pathfinding/

Volutar

  • Guest
Re: Pathfinder
« Reply #71 on: February 22, 2012, 05:10:16 am »
About door opening. If manual opening with right click cost 0TUs, so automatic opening when going through it also should cost 0TUs. And let them open/close doors infinitely if they wish.

Offline redv

  • Colonel
  • ****
  • Posts: 336
    • View Profile
    • Email
Re: Pathfinder
« Reply #72 on: February 12, 2013, 03:59:23 pm »
Pathfinder exploit.

Pathfinder is perfect! My respect to developers.
But, pathfinder can be even better.

The problem.
1. If alien stand behind door, pathfinder can't get direction for my unit. And I know, alien behind closed door.
2. If my unit stand at the door, alien unit never try to open the door.

The suggestion.
When pathfinder calculate the path, it should not be taken into account undetected enemy units.
For example, if pathfinder calculate the path for alien unit, it not be taken into account undetected my units and civilian units.
On the other side, if pathfinder calculate the path for my unit, it not be taken into account undetected aliens and civilians.

This will give the dramatic into gameplay. Casual meeting will be possible at the doorway, on the stairs, around the corner.
In original Xcom rencounter were possible.
« Last Edit: February 12, 2013, 04:13:53 pm by redv »

Volutar

  • Guest
Re: Pathfinder
« Reply #73 on: February 12, 2013, 04:21:08 pm »
could you please shrink screenshots to 640x400 before posting? thank you.

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
    • Email
Re: Pathfinder
« Reply #74 on: February 12, 2013, 10:53:09 pm »
I love screenshots with speech bubbles :)
About the exploit:
it was first brought up here: https://openxcom.org/forum/index.php/topic,586.msg5524.html#msg5524
and I fixed it.
but after this bug: https://openxcom.org/forum/index.php/topic,678.0.html
I removed the fix again, as it was causing this bug
I was reminded again here: https://openxcom.org/forum/index.php/topic,820.0.html
and here :)
If I get reminded enough times, I might even get out of my lazy chair and get in my working chair and try fix it :p someday