Roll off time is indeterministic

0

@jip said in Roll off time is indeterministic:

The roll off time is between the production of two units. It is usually defined by how long it takes for the unit to roll off the build pad. The time is not deterministic, some units have a tough time existing for the first few seconds and therefore delay production quite a bit.

While working on a pull request, inspired by this forum post I noticed that the roll of time only exists because the factory is forced to wait for the unit to finish the first command (that makes it leave the build site). But what if instead of waiting for the unit to leave the build area, we just wait a set amount of time and then just start building the next unit?

In short, do we really want to wait for the unit to leave the build site or should we make it deterministic and just start building after a second or two?

Its buildpad + fact footprint specifically for reference.

I’m a shitty 1k Global. Any balance or gameplay suggestions should be understood or taken as such.

Project Head and current Owner/Manager of SCTA Project

2

While we're here (hopefully this is a one-post answer as I don't want to hijack) why does it sometimes take so long for newly upgraded factories to make their first unit? Like, I just got T3 air, I need that engie...

0

I think it is related, but I'm not sure.

A work of art is never finished, merely abandoned

1

If you're taking a look at roll-off time and do some changes with it, could you also take code from EQ which turns unit inside the factory towards its current waypoint?

For example: if you had factory send units to the right, you'll have unit get build towards right side. Currently if you change that direction to left, the unit would have to rotate on its spot itself freezing the construction. EQ changed that the way unit gets rotated instantly and can move right away.

2

Ah, turn them while they are being built? We can look at that too. At the moment it only happens when the unit starts being built.

A work of art is never finished, merely abandoned

0

@jip if i remember it correctly in EQ the unit gets turned right after it got built, not while the process is happening.

3

ah, so they get turned at the end of the sequence. That works too. I'll make sure to take it into account

A work of art is never finished, merely abandoned

0

Dragun is confused. Don’t they already work that way? Or did I fix something in SCTA that I didn’t even know was broken

I’m a shitty 1k Global. Any balance or gameplay suggestions should be understood or taken as such.

Project Head and current Owner/Manager of SCTA Project

1

Luckily, Jip is not confused 🙂

You likely fixed something in SCTA on accident then.

For the FAF-fix, see also: https://github.com/FAForever/fa/pull/4287

A work of art is never finished, merely abandoned

0

This looks nice with small round aeon engineers hovering in a round factory, but I am worried it may look a bit jarring if you have, say percies doing an instant 180 on completion...

1

Yes, it looks jarring. But it doesn't happen often. Initially it will rotate to the correct roll off point, depending on your rally point. They would only rotate at the end if the rally point switches such that the other roll off point is better.

A work of art is never finished, merely abandoned

1

@jip Ur awesome

0

Now we can spam less clicks with factories 😄

0

@pearl12
This has been driving me batshit lately. It didn't use to be a problem, or perhaps I simply haven't noticed it, but recently I've seen factories just idle for a good half minute before they decide to go to work.