Author Topic: Mine Line Placement  (Read 1498 times)

Offline Wanderer

  • Master Member Mark II
  • *****
  • Posts: 1,579
  • If you're not drunk you're doing it wrong.
Mine Line Placement
« on: November 27, 2012, 02:02:55 am »
Anyone else having problems with the line placement tool following the line you set?  I keep ending up with it going off at odd angles.  Close, but off enough that creating a run between the wormholes and the cmd center is off.

... and then we'll have cake.

Offline Kahuna

  • Core Member
  • *****
  • Posts: 2,222
  • Kahuna Matata!
Re: Mine Line Placement
« Reply #1 on: November 27, 2012, 08:36:50 am »
I've seen that happen if "packed line" is disabled.
set /A diff=10
if %diff%==max (
   set /A me=:)
) else (
   set /A me=SadPanda
)
echo Check out my AI War strategy guide and find your inner Super Cat!
echo 2592 hours of AI War and counting!
echo Kahuna matata!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Mine Line Placement
« Reply #2 on: November 27, 2012, 11:20:21 am »
Yea, I tried to fix some problems Kahuna had with it shortly before the official, and apparently broke it worse in other ways ;)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: Mine Line Placement
« Reply #3 on: November 27, 2012, 11:53:56 am »
Yea, I tried to fix some problems Kahuna had with it shortly before the official, and apparently broke it worse in other ways ;)

Don't feel bad. Dealing with angles and packing non-trivially tileable shapes (like circles) is a real headache inducer to programmers. Especially because of rounding error issues that come into play, which may be extremely marginal in most cases but can be very noticeable once lines start getting long in hard to test ways.

Offline anthonysavatar

  • Newbie
  • *
  • Posts: 1
Re: Mine Line Placement
« Reply #4 on: November 28, 2012, 02:11:41 pm »
I'm having some trouble placing mines using line placement as well. In my current system I've got zombie units traveling between the two worm holes where I'd like to place the mines. There's so many of them that there is never a break in the flow. If I guesstimate and place mines one by one (w/o line placement) I have no problem placing them on zombie unit path. If I try to do the same using packed line placement with a count of 25 only 2 or 3 are built at odd locations along the line. My best guess is that those locations are breaks in the zombie path where no units existed when the mines were built. The random locations are different each time. In any case, this makes placing 100 mines a big headache.

Offline LordSloth

  • Sr. Member Mark III
  • ****
  • Posts: 430
Re: Mine Line Placement
« Reply #5 on: November 28, 2012, 04:15:28 pm »
Techsys and I did some experimenting a while back on this. I updated someone else's tracker issue, I could probably dig it up after 7 PM EST if you wanted.

Anyways, it's worth noting that if it runs like "\", you get significantly different results than if it runs like "/". One's broke, the other is fine (don't remember which off the top of my head). Horizontal and vertical are both fine. If you have it at the proper angle to reproduce the bug, then and only then does it matter where the starting point is, with the result of it being closer to the vertical or horizontal. It's quite noticeable if you're attempting to place mines at around a 45 degree angle.

We were able to consistently reproduce it.

As to the mine spacing, I rather inconsistently but frequently reproduced it, often within minutes in the same session. It might be related to zoom, but I couldn't figure out anything conclusive, just a hunch.
« Last Edit: November 28, 2012, 04:21:05 pm by LordSloth »

Offline LaughingThesaurus

  • Master Member Mark II
  • *****
  • Posts: 1,723
Re: Mine Line Placement
« Reply #6 on: November 28, 2012, 05:24:42 pm »
Ahh, you did the testing with him as well?

Offline Winge

  • Hero Member
  • *****
  • Posts: 601
Re: Mine Line Placement
« Reply #7 on: November 28, 2012, 06:09:08 pm »
There's one more glitch:  whenever you use the Line place, if you open up the Galaxy Map and choose one of the menus at the bottom, the line placement instructions appear added onto the menus.  See pictures for explanation.

My other bonus ship is a TARDIS.

Offline Hearteater

  • Core Member
  • *****
  • Posts: 2,334
Re: Mine Line Placement
« Reply #8 on: November 28, 2012, 07:10:35 pm »
See also the mantis issue :) .

Offline LordSloth

  • Sr. Member Mark III
  • ****
  • Posts: 430
Re: Mine Line Placement
« Reply #9 on: November 29, 2012, 02:34:04 pm »
actually, nope, I did the testing with you, LaughingThesaurus. I did Borderlands 2 with TechSY730, i believe.  Bajzillions of guns, bajzillions of starships. Same thing. Honest mistake. I might even be still more confused. I'll figure it out.

http://www.arcengames.com/mantisbt/view.php?id=9750

The discussion on it was in one of the announcement threads, I should be able to dig it up.
« Last Edit: November 29, 2012, 02:46:57 pm by LordSloth »