Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - Pathfinding - how hard is it?
  FAQ FAQ  Forum Search   Register Register  Login Login

Topic ClosedPathfinding - how hard is it?

 Post Reply Post Reply Page  <1 345
Author
 Rating: Topic Rating: 1 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
Angrim View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 02 Nov 2011
Location: Laoshin
Status: Offline
Points: 1173
Direct Link To This Post Posted: 19 Jan 2012 at 18:11
This may explain the intention to route most caravan traffic to trade hubs via trade 2.0, keeping the bulk of the traffic in a local pattern.

You might also save some cycles by defining border crossings between areas.  Since most borders are defined by rivers, they could take the form of known fords/ports/ferries, with the intention of separating the work of pathfinding into multiple smaller trips.
Back to Top
Quackers View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 19 Nov 2011
Location: Jeff City
Status: Offline
Points: 435
Direct Link To This Post Posted: 19 Jan 2012 at 15:38
This just made my head explode: http://www.pearltrees.com/#/N-play=1&N-u=1_100159&N-p=20725697&N-s=1_1189624&N-f=1_1189624&N-fa=1087564

I'm not good with computer stuff, but wouldn't this create a load on the servers? I mean we do have 55,646 moving caravans and 958,963 moving troops at the time of this post/edit. But it seems like a simple concept that could be easily adjusted to fit different variables so they might be using this. 

Edited by Quackers - 19 Jan 2012 at 15:42
Back to Top
Createure View Drop Down
Postmaster General
Postmaster General
Avatar

Joined: 07 Apr 2010
Location: uk
Status: Offline
Points: 1191
Direct Link To This Post Posted: 19 Jan 2012 at 13:26
Just noticed an article about path-finding from another game which I imagine has holds some very similar issues to what the Illy dev team might be facing.

https://secure.8realms.com/m=news/g=8realms/show-me-the-way-to-go-home

Interestingly (or perhaps, obviously) it seems their exhaustive 'best route' path-finding algorithm worked well over short distances but they really had to cheat as the distances got bigger by effectively turning their worldmap into a grid of identical small maps, then when you want to cross the world map you use the 'best path' algorithm to find your way to the nearest 'node' on an adjacent grid tile and then your army just follows a preallocated 'best path' for crossing all the grid tiles between yourself and your target.

Clearly this approach would not work so easily in Illy - since every part of our world map is unique. I imagine though that you could save alot of processing time though by adopting a similar set of 'preallocated standard routes' (kind of like 'motorways/highways) forming a network that criss-crosses the entire Illy world map. Sure these would take an awefully long time to calculate (and would need to be recalculted if players started doing things like building bridges or ferry crossings or roads) but at least it would mean that large chunks of routes would not need to be recalculated every time a player sends a single scout to the other side of the world. Then, similar to the solution above - it would just be a question of calculating the fastest route to the nearest "motorway".

I imagine the dev team has already had these thoughts and much more besides - think it'd be interesting to see what the community thinks though. ^^

(P.S. regarding that link above - there's some interesting and fairly 'innovative' stuff in that game above - but as an Illy player I'd suggest you could probably do without wasting your time on it... I've played it about a month and i'm bored - there is no community, no chat, no lore+history, no PvP and the game mechanics are all pretty repetetive... it's like: build/research a load of stuff > advance to the next age > build/research all the same stuff again > advance > build/research all the same stuff again > advance... etc. - you do that about 8 times then the game ends.)


Edited by Createure - 19 Jan 2012 at 13:31
Back to Top
 Post Reply Post Reply Page  <1 345
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.