Search found 54 matches
- Sat Nov 18, 2023 9:00 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
A mod for building analytically defined defensive lines.
Ha!
You don't need to understand what an ARX approach or a Chebyshev node is to use !
That’s the more intuitive spline nature at work. Here it deviates in application, though. Chebyshev nodes are useful in raw polynomial interpolation ...
- Fri Nov 03, 2023 1:35 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
Oh, i've heard of ballistic before, but im not sure the train can be considered a projectile.
Let me tell you about the sport of peep bowling!
It’s getting a little weird giving advice to the devs.
No it's not, i do it plenty of times when asked for thoughts in the FFF, other players too ...
- Thu Nov 02, 2023 1:23 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
It would be a no brainer for me to change used reference function f(x) into a spline g(x) or anything else g(x) if |f(x) - g(x)| < 0.01 tile for every x from 0 up to rail length. Differences above 0.01 up to 0.05 i would have to test in game to verify if they look correct. Above 0.05 it is a clear ...
- Wed Nov 01, 2023 5:36 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
After some consideration i do not think describing exact position functions would do anything bad, i would actually like a nice compact spline to exist that would match existing position functions as it would allow me to get rid of Math::sin and Math::cos usage.
If you did fit a spline to the ...
- Wed Nov 01, 2023 1:13 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
I’m getting a little bogged down by the quoteception. It’s hard to consolidate when an idea derails and that derailment sparks its own derailments, all while trying to move forward as well.
I understand this is what boskid said about the new rails, but i was still on the old rails, wondering how ...
I understand this is what boskid said about the new rails, but i was still on the old rails, wondering how ...
- Tue Oct 31, 2023 3:20 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
Most of what i could find for NURBS was in 3D which i suppose it what you called orthogonal to the spline.( the rationnal part) It's interesting in itself, but in relation to the shape of the curved rail, i think it's illustrating "the more you learn, the more you realize there are things you know ...
- Thu Oct 26, 2023 2:59 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
A spline in this context is a piecewise polynomial function, where the value and some derivatives are typically constant across transitions. It is normally specified as a linear combination of control points, the combination changing with time. The details matter more for modeling than the nature of ...
- Wed Oct 25, 2023 2:11 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
Vertically that makes people's ass fly off their seat which is fun or would ruin a freight train infrastructure as you explain, the downward-to-horizontal curve having the potential for positive vertical G's, where people get the feeling of weighting a ton, being slammed into their siege stronger ...
- Tue Oct 24, 2023 5:43 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
I can see how the parameter l can be tweaked and the curve changes shape so that its lengh matches the change in l in direction and magnitude at the cost of more squareness for the 1/4 circle but still try to stay similar to in game curves rails shape. It looks cool but it is not how it's done in ...
- Mon Oct 16, 2023 11:18 am
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
Not if you want to calculate the length along the curve. Nor if you want to calculate the distance from an arbitrary point to the curve (e.g. for collisions).
It already isn’t feasible to compute collisions in curves analytically, and Factorio doesn’t do that. Collisions are a post-hoc check ...
- Sun Oct 15, 2023 9:58 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
Position function can be literally just anything and i could make it go straight, then wiggle side to side then do a barrel loop and then go straight again.
Haha, yeah. All depends on your purposes. You could probably make it horribly discontinuous and disassemble trains visually.
In 2.0 the ...
- Sun Oct 15, 2023 8:17 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
Thank you, boskid! That is what I wanted to hear.
I did use get_rail_segment_length to find the length, but I used it more as a checksum to see if a shape could plausibly be the one used by Factorio, my bigger goal. Turns out the nature of the shape is tunable, not lending such credence. I was ...
I did use get_rail_segment_length to find the length, but I used it more as a checksum to see if a shape could plausibly be the one used by Factorio, my bigger goal. Turns out the nature of the shape is tunable, not lending such credence. I was ...
- Sun Oct 15, 2023 9:11 am
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
Re: What is the exact shape of a curved rail?
It has to be a function of distance giving a position, that’s easy to evaluate. It’s easy to do that with things like arcs and splines. Superellipses, not so much. At best, there was an attempt to use such a fancy shape, but then it was approximated by other means.
8.55 - sqrt(2)/2 = 7.84289321881 ...
8.55 - sqrt(2)/2 = 7.84289321881 ...
- Sat Oct 14, 2023 12:54 pm
- Forum: Gameplay Help
- Topic: What is the exact shape of a curved rail?
- Replies: 39
- Views: 9193
What is the exact shape of a curved rail?
I’ve been wondering about this for a while. FFF #377 spurred my interest again. We know the current curved rail moves 7 tiles in the major direction and 3 tiles in the minor direction, curving from 0° to 45°. That is not possible with a circular arc alone. I’ve tried some arrangements like a ...
- Thu Nov 11, 2021 2:27 am
- Forum: Pending
- Topic: [1.1.42] Lamp color is wrong when the sum of red+green circuit wires overflows
- Replies: 13
- Views: 5440
Re: [1.1.42] Lamp color is wrong when the sum of red+green circuit wires overflows
We made some changes, can anybody confirm if it is fixed in the latest 1.1 release?
I gave 1.1.46 a go on my Mac. It seems to use the full, pre-overflow result now. A cursory glance at the machine code suggests the same: addl followed by jg, without split-brain handling of the two result parts ...
- Fri Oct 22, 2021 12:11 am
- Forum: Modding help
- Topic: How do associated characters work?
- Replies: 8
- Views: 3071
Re: How do associated characters work?
That sentence is a bit dense. It’s easier to interpret when split like this:
Characters associated with this player will be logged off when this player disconnects. (an action that will occur under a specific condition)
Characters associated with this player are not controlled by any player. (an ...
Characters associated with this player will be logged off when this player disconnects. (an action that will occur under a specific condition)
Characters associated with this player are not controlled by any player. (an ...
- Tue Oct 19, 2021 2:00 pm
- Forum: Ideas and Requests For Mods
- Topic: [MOD REQUEST] Nuclear fuel Bonus change
- Replies: 2
- Views: 1667
Re: [MOD REQUEST] Nuclear fuel Bonus change
You need to change the fuel’s fuel_top_speed_multiplier. Nuclear fuel normally has 1.15. This changes it to 2 (518.4 km/h, incidentally very close to the 1990 TGV record of 515.3 km/h).
- Mon Oct 18, 2021 2:30 pm
- Forum: Gameplay Help
- Topic: How many ticks does it takes for an item to move through a belt ?
- Replies: 15
- Views: 8488
Re: How many ticks does it takes for an item to move through a belt ?
Also when there is no place for the items to go, the whole line stops while in fact all those items should get squashed more and more and finally be thrown out of a belt and onto a ground. How could we be so blind here? This will create so many new challenges for a players since they will have to ...
- Sun Oct 17, 2021 11:53 pm
- Forum: Gameplay Help
- Topic: How many ticks does it takes for an item to move through a belt ?
- Replies: 15
- Views: 8488
Re: How many ticks does it takes for an item to move through a belt ?
Player’s speed. Items get special treatment. That’s all. I don’t know the details of that behavior, however.mmmPI wrote: Sun Oct 17, 2021 3:24 pm And for a car or tank ? Is it player's speed ? vehicule speed ? or item speed ?
- Sun Oct 17, 2021 2:22 pm
- Forum: Gameplay Help
- Topic: How many ticks does it takes for an item to move through a belt ?
- Replies: 15
- Views: 8488
Re: How many ticks does it takes for an item to move through a belt ?
If only. Visual belt speed (CAV), item speed (CLV) and player speed (neither; always much faster than the belt and approaching an inner item’s AV on the very inside) are all distinct in corners.mmmPI wrote: Sun Oct 17, 2021 11:43 am This could be used to calculate the rotation speed of a player when he afk on a 4 loop belt !