Author Topic: Arithmetic relationships between these variables?  (Read 15056 times)

0 Members and 1 Guest are viewing this topic.

Breakord

  • Sapling
  • **
  • Thank You
  • -Given: 14
  • -Receive: 7
  • Posts: 57
  • NO WORDS.
  • Eufloria: Yes
Arithmetic relationships between these variables?
« on: November 28, 2012, 11:29:57 PM »
What's the  arithmetic relationships between these variables?:)
like
    Globals.Asteroids.RadiusPowerRule VS Asteroid.Radius

  {Globals.Asteroids.SizeFromEnergy,
    Globals.Asteroids.SizeFromStrength,
    Globals.Asteroids.SizeFromSpeed} VS Size(or Radius?)

    Globals.Asteroids.CoreHealthPower VS CoreHealth

    Globals.Asteroids.SendPowerRule VS SendDistance

Could someone please tell me?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 27
  • Posts: 1,523
  • They'll eat you next!
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #1 on: November 29, 2012, 12:54:42 AM »
Radius = (energy*SizeFromEnergy+speed*SizeFromStrength+strength*SizeFromSpeed)*RadiusPowerRule
Core Health = (energy+speed+strength)*CoreHealthPower (Not so sure, but guess it is like this)
SendDistance = Radius*SendPowerRule (Not so sure, but guess it is like this)

I guess that's how it works :)

Thanks:


Breakord

  • Sapling
  • **
  • Thank You
  • -Given: 14
  • -Receive: 7
  • Posts: 57
  • NO WORDS.
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #2 on: November 29, 2012, 01:47:16 AM »
Radius = (energy*SizeFromEnergy+speed*SizeFromStrength+strength*SizeFromSpeed)*RadiusPowerRule
Core Health = (energy+speed+strength)*CoreHealthPower (Not so sure, but guess it is like this)
SendDistance = Radius*SendPowerRule (Not so sure, but guess it is like this)

I guess that's how it works :)
:DThanks!I will try it!

Breakord

  • Sapling
  • **
  • Thank You
  • -Given: 14
  • -Receive: 7
  • Posts: 57
  • NO WORDS.
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #3 on: November 29, 2012, 06:43:27 AM »
Radius = (energy*SizeFromEnergy+speed*SizeFromStrength+strength*SizeFromSpeed)*RadiusPowerRule
Core Health = (energy+speed+strength)*CoreHealthPower (Not so sure, but guess it is like this)
SendDistance = Radius*SendPowerRule (Not so sure, but guess it is like this)

I guess that's how it works :)
:( Well,I changed the SendPowerRule but nothing happened..
Asteroids with different radius have the same SendDistance..

The radius of the asteroid with energy 0.3,strength 0.5 and speed 0.2 is 184.674 when
{
Globals.Asteroids.MinRadius=100.0
Globals.Asteroids.MaxRadius=470.0
Globals.Asteroids.RadiusPowerRule=1.3
Globals.Asteroids.SizeFromEnergy=140.0
Globals.Asteroids.SizeFromStrength=110.0
Globals.Asteroids.SizeFromSpeed=110.0
}
I changed the RadiusPowerRule to 2.6 then the radius of the asteroid changed to 119.377
I'm cofused..
« Last Edit: November 29, 2012, 07:06:42 AM by Breakord »

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 21
  • Posts: 929
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #4 on: November 29, 2012, 03:52:33 PM »
Perhaps its (SizeE*SizeSp*SizeSt)^RadiusPowerRule
« Last Edit: November 30, 2012, 02:26:01 AM by Pilchard123 »

Breakord

  • Sapling
  • **
  • Thank You
  • -Given: 14
  • -Receive: 7
  • Posts: 57
  • NO WORDS.
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #5 on: November 29, 2012, 05:14:57 PM »
Perhaps its (SizeP*SizeSp*SizeSt)^RadiusPowerRule
:o SizeP?

Aino

  • Ent
  • ******
  • Thank You
  • -Given: 4
  • -Receive: 27
  • Posts: 1,523
  • They'll eat you next!
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #6 on: November 29, 2012, 11:46:01 PM »
:o SizeP?

SizePower. I guess it's another word for SizeEnergy :)

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 21
  • Posts: 929
  • Eufloria: Yes
Re: Arithmetic relationships between these variables?
« Reply #7 on: November 30, 2012, 02:26:28 AM »
It is indeed. Fixed.