Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
Bug 3 possible behavioural bugs? - .com.unity Forums
.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old March 23rd, 2010, 06:49 AM
lch's Avatar

lch lch is offline
General
 
Join Date: Feb 2007
Location: R'lyeh
Posts: 3,861
Thanks: 144
Thanked 403 Times in 176 Posts
lch is on a distinguished road
Default Re: 3 possible behavioural bugs?

Quote:
Originally Posted by Edi View Post
1) Oblique missile fire hits less often because the distance is greater. Instead of using the Pythagoras equation for calculating real distance (a^2+b^2=c^2 and then deriving c), the distance is calculated as a+b, so it's much longer. Hence less accurate.
It's not exactly the Mannhattan metric, there is a little correction in the formula for things that don't go straight but mostly diagonal. I have given the formula used by the game in this post. The reason that this mostly linear metric is chosen instead of the Euclidean metric is mostly to speed up processing, I'd guess, as distances, ranges and movements are computed a lot during hosting.

Quote:
Originally Posted by Edi View Post
2) Army movement happens according to nation number, from what I've seen. Nation with lowest number goes first, so they always move before you do. This is not as it should be, but I suspect fixing it at this point would be far more work than it is worth.
I haven't checked now, but I'd guess that movement happens according to nation number, but randomly from top to bottom or from bottom to top, as it happens for a couple of other things - rituals, for example. That's what JK does to avoid the usage of higher level data structures instead of arrays, while still being somewhat fair to all the players. If you want to really make sure that you get an artifact that's available, then you should forge it twice, once with a unit with a very low unit id, and once with a unit with a very high unit id.
__________________
Come to the Dom3 Wiki and help us to build the biggest Dominions-centered knowledge base on the net.
Visit my personal user page there, too!
Pretender file password recovery
Emergency comic relief
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.