Re-tool the Aurora

Moderator: pip

Re: Re-tool the Aurora

Postby dstojkov » 12 Jun 2013, 17:52

FunkOff wrote:Ugh, another idiot who doesnt undetstand how the engine works.


Are you speaking of yourself ?
dstojkov
Evaluator
 
Posts: 775
Joined: 21 Sep 2011, 22:04
Has liked: 0 time
Been liked: 24 times

Re: Re-tool the Aurora

Postby FunkOff » 12 Jun 2013, 20:31

RoundTabler wrote:
FunkOff wrote:
dstojkov wrote:Hi,


Actually aurora should have RateOfFire = 0,6 instead of 0,66

0,6 * 40 = 24 like other tank

0,66 * 40 = 26.4

regards

Ugh, another idiot who doesnt undetstand how the engine works.


Could you enlighten me? I would like to understand why we have to do all these gymnastics to get the aurora to work right.

I cba to type it out on my phone, later when i get home.
FunkOff
Supreme Commander
 
Posts: 1863
Joined: 26 Aug 2011, 17:27
Has liked: 14 times
Been liked: 43 times
FAF User Name: FakeOff

Re: Re-tool the Aurora

Postby IceDreamer » 12 Jun 2013, 22:31

dstojkov wrote:
FunkOff wrote:Ugh, another idiot who doesnt undetstand how the engine works.


Are you speaking of yourself ?


He's talking to you. RateOfFire = 0.6 in the case of the Aurora gives it 23.53DPS, not 24.

1/0.6 = 1.666666666 Firing Interval >>> Rounded up to 1.7 (Engine works in 0.1s Ticks)
DPS = Damage/Firing Interval = 40/1.7 = 23.5294117 >>> Rounded to 23.53 (Engine rounds damage to 2DP)



OT: @PilOt - How low can you put the TurnRate without the responsiveness of the unit noticeably declining? Find out and put it to that :)
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times

Re: Re-tool the Aurora

Postby dstojkov » 13 Jun 2013, 00:58

0,1 ticks mhh ....

Well i didn't pay attention to that my mystake then

still

1/0,66 = 1,5115151.... which rounded to the 0,1 ticks will in act be a 1,6 periode

so that 40 / 1,6 = 25 DPS

P.S : will have a better lock at this for my mods ....
dstojkov
Evaluator
 
Posts: 775
Joined: 21 Sep 2011, 22:04
Has liked: 0 time
Been liked: 24 times

Re: Re-tool the Aurora

Postby IceDreamer » 13 Jun 2013, 01:59

Current DPS is 26.67

1/0.66 = 1.51515151 Firing Interval >>> Rounded down to 1.5
DPS = Damage/Firing Interval = 40/1.5 = 26.666666666 >>> Rounded to 26.67


Don't worry about these mistakes, it took me two years and troubleshooting by DeadMG and Mithy (Supcom's two best ever mod coders) before I understood how DPS was calculated once you include racks, multiple muzzles, and various other rarely used quirks of the engine, and we now have nobody around with anything LIKE the coding expertise of those two.
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times

Re: Re-tool the Aurora

Postby FunkOff » 13 Jun 2013, 04:03

Thank you for explaining, Shadow.
FunkOff
Supreme Commander
 
Posts: 1863
Joined: 26 Aug 2011, 17:27
Has liked: 14 times
Been liked: 43 times
FAF User Name: FakeOff

Re: Re-tool the Aurora

Postby dstojkov » 13 Jun 2013, 10:17

ShadowKnight wrote:1/0.66 = 1.51515151 Firing Interval >>> Rounded down to 1.5



This is what I doubt ... the rounding up yes make sense ... actually don't even think there is a rounding process this is a simple test the like > or < so that this rounding down ... mhh ... not that I don't believe you but that sounds odd to me. I will make some test and see what really happens here

Will give some feedback when I will have finished my tests ... means this evening :-)
dstojkov
Evaluator
 
Posts: 775
Joined: 21 Sep 2011, 22:04
Has liked: 0 time
Been liked: 24 times

Re: Re-tool the Aurora

Postby IceDreamer » 13 Jun 2013, 13:49

dstojkov wrote:
ShadowKnight wrote:1/0.66 = 1.51515151 Firing Interval >>> Rounded down to 1.5



This is what I doubt ... the rounding up yes make sense ... actually don't even think there is a rounding process this is a simple test the like > or < so that this rounding down ... mhh ... not that I don't believe you but that sounds odd to me. I will make some test and see what really happens here

Will give some feedback when I will have finished my tests ... means this evening :-)



It rounds down in this case. For a long time, people thought it only rounded up, as how can a game engine move backwards in time, or know to round something before it happens? However, Mithy investigated the phenomenon of RateOfFire set to 3 giving a real-time rate of fire of one shot every 0.3 seconds, not 0.4, which didn't tally with that theory. He tested by getting the engine to display a message every tick, slowing game-time down, then timing the shots.

After confirming, he and DeadMG investigated other units. I am certain any unit who's Firing Interval is in the .01 -> .33 range will have it rounded down to X, and I am 95% sure that the rounding is in fact bog-standard mathematical rounding, where anything less than the .5 is rounded down, and vice versa. The lua engine does actually support the math function 'Round', after all, and the suspicion is that the engine itself has this command written in.
IceDreamer
Supreme Commander
 
Posts: 2607
Joined: 27 Dec 2011, 07:01
Has liked: 138 times
Been liked: 488 times

Re: Re-tool the Aurora

Postby Ze_PilOt » 13 Jun 2013, 21:21

I've found a better fix for the handling, the turn rate is reverted to 120. Also added a nice subtle wobble effect.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Re-tool the Aurora

Postby dstojkov » 13 Jun 2013, 21:43

it tested it

1,45 to 1.54 wil be rounded to 1,5 ( rof from 0,66 to 0,68 )

The rounding has taken place before the thread start ...

the 0,1 is also used for beam ...make sense
dstojkov
Evaluator
 
Posts: 775
Joined: 21 Sep 2011, 22:04
Has liked: 0 time
Been liked: 24 times

PreviousNext

Return to Patch 3626 beta

Who is online

Users browsing this forum: No registered users and 1 guest

cron