Author Topic: Range Counters  (Read 1584 times)

Offline ghostdancer

  • Aces High CM Staff
  • Platinum Member
  • ******
  • Posts: 7562
Range Counters
« Reply #45 on: June 11, 2004, 02:53:34 PM »
LOL .. you geeks! :)

All I was looking for was advice on how to change my thinking to adapt to the new range system. I find myself zeroing in on a plane and then checking the range and for a split second it confuses me and I hold my fire. Because the size of the plane indicates it closer than the range does.

Just looking for advice on how to change my way of thinking faster than I have been adjusting so far.

But hey that code would work too. ;)
X.O. 29th TFT, "We Move Mountains"
CM Terrain Team

Offline Edbert

  • Gold Member
  • *****
  • Posts: 2220
      • http://www.edbert.net
Range Counters
« Reply #46 on: June 11, 2004, 03:14:42 PM »
Quote
Originally posted by Tilt
500 to 699 as 600

300 to 499 as 400


So, when the icon changes from a 600 to a 400 the enemy went from 500 yards out to 499?


Only other possibility is that he just went from 600 to 599, or 401 to 400, and the size of the AC seems to indicate the first.

Online Shane

  • Platinum Member
  • ******
  • Posts: 7988
Range Counters
« Reply #47 on: June 11, 2004, 03:52:56 PM »
Quote
Originally posted by hitech
Thanks Frstrm, At last a post I can understand.

HiTech


wow!! frstrm programmed HT with an internal spellcheck!!

:aok
Surrounded by suck and underwhelmed with mediocrity.
I'm always right, it just takes some poepl longer to come to that realization than others.
I'm not perfect, but I am closer to it than you are.
"...vox populi, vox dei..."  ~Alcuin ca. 798
Truth doesn't need exaggeration.

Offline Tilt

  • Platinum Member
  • ******
  • Posts: 7358
      • FullTilt
Range Counters
« Reply #48 on: June 11, 2004, 03:57:03 PM »
Quote
Originally posted by Edbert MOL
So, when the icon changes from a 600 to a 400 the enemy went from 500 yards out to 499?


Only other possibility is that he just went from 600 to 599, or 401 to 400, and the size of the AC seems to indicate the first.


I am not conversant with the language so could only attempt the math.........my ignorancestarts with the (long) function.
Ludere Vincere

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12425
      • http://www.hitechcreations.com
Range Counters
« Reply #49 on: June 11, 2004, 04:17:59 PM »
You had it correct tilt.

And  (long) isn't a function, it is called a type cast. All it ends up doing is droping anything behind the decimal. I.E. converts from floating point to integers in this cas a LONG i.e. 32 bit int.

HiTEch

Offline Frstrm

  • Zinc Member
  • *
  • Posts: 51
      • http://www.virtualworld.com
Range Counters
« Reply #50 on: June 11, 2004, 04:57:49 PM »
Quote
Originally posted by hitech
Thanks Frstrm, At last a post I can understand.

HiTech

ROFL!!  I look at Code all day and I understand...  You just made my day.