Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: One-way traffic designations  (Read 2020 times)

numerobis

  • Bay Watcher
    • View Profile
Re: One-way traffic designations
« Reply #15 on: December 28, 2008, 08:25:27 pm »

The connected components optimization is unaffected if we assume the direction is just a weight, not an outright prohibition -- like the other traffic designations.  Then the cost is reduced to just 2 to 5 bits per map tile (depending how many directions you allow), an extra conditional in the A*, and the Euclidean distance heuristic gets less accurate, and of course the development cost of fixing pathing and then making a UI for it.  The easy one to calculate is that we're talking a number of megabites, right on the cusp between minor and major (300 x 300 by 50 z-levels is 4.5 million entries).
Logged
Pages: 1 [2]