Looks nice, but placing barriers to separate lanes is discussable. Pro: robbers can make U-turns safely, the cops will need to do that too. Con: people need to learn themselves to drive in proper lane.
Oval rocks, we've figured it out at the race this sunday. FZ50 @ KY1R. Porschari is the only car that has to brake on Ky1. This combination, among ovals, is the most requiring.
Replays and stats
(qual1 and qual2 are 2 parts of the same qualification. the 1st part was made when everyone did their laps. Then came I (being late) and made my lap)
We had a lot of fun. I think, it could have been a close race if everyone were prepared and had proper setups. We had never made "serious" races on oval before, but we just came with open minds and enjoyed it. Watching "NASCAR Back in the day" makes me sleep, but driving on oval among fellows is quite interesting experience.
A suggestion: translatable lessons names, for example as the first part of lesson .txt file. It can be done with translation strings in the language file too, but then it would need to be flexible to handle a different order of words.
How do you define a polygon? Do you split it into triangles?
I know. But the next tick the app will notice that the car is inside pits and will rise that flag again. Dropping flags at splits would prevent punishment for occasional crossing, for example, if someone spinned in the beginning of the lap and crossed the line, he can safely enter pits the same lap.
An idea for a pitlane exit (and enter) AI steward. I post it here, because it contains more technical details than general discussion. Besides, there are many other tools and marshals, so I think it's better for their authors to make this feature, than for me to start another narrow-purpose InSim tool.
Everybody has seen the oval tracks on public hosts: the pit entrance and exit lanes are separated with barriers along the turns, because few drivers follow the marks. Usually a driver joins and at the pits' exit goes straight into the racing line.
The similar, though not that dangerous things may take place on the other tracks.
The idea is to punish those drivers. For usual races, drive-through penalty would be enough. Also there is a quite typical case: a noob joins a host during a race at oval and exits straightforward to the racing line. In this case, it would be safer to make him spectate instantly.
Forcing to spectate can also be applied to those who use the known bug wiyh Kyoto ring pits, which allows resetting from pits on the racing line.
How I'd make the app work
In each case there are two actions together: entering or exiting pits and crossing the line. Line crossing takes place on the same lap with entry/exit. So, for each player we keep an array of data:
1) XY(-1) coordinates
2) XY(-2) coordinates
3) "crossed the line" flag = 1
4) "exited pits" flag = 2
5) "entered pits" flag = 4
6) "joined race right this moment" flag (i.e. the player joined the race or shift+s-ed and hasn't yet left the pitlane) = 8
7) "abnormally accelerated" (to catch car reset) = 16
When a driver enters pit lane, the program sets the player's corresponding flag to "1", and the same for exiting pits. When the driver crosses the separating line, that flag is set to "1". If someone has joined the race (IS_NPL packet received), he also "gets" the flag 6). When crossing a splint or finish line (IS_LAP, IS_SPX packets), all flags are set to 0.
If someone exits pits and crosses the line, we'll have a set of flags: 1 + 2 = 3 (see the list above). If someone enters pitlane crossing a line, it will be 1 + 4 = 5. If someone joins the race and exits from pits, he will have 2 + 8, and if he crosses the line, he will have 2 + 8 + 1 = 11. Kyoto ring pitlane trick: 1 + 2 + 16 (the separating line should continue along the pit lane).
And so on. Simple binary operations. If someone gets a special combination, he is punished. As you see, entering pits may be distinguished from exiting, and punished in a different way, if one cares.
So, the algorythm is the following:
1. get packet of data
2. process it: calculate coordinates, check some conditions and set flags
3. check flags and set punishments to those having specific combinations
that would draw the line. It should be, of course, unique for each track configuration.
Crossing the line basically means that car's movement line crosses this line. We have 2 straights, each set by 2 points and check if they cross and where is the crossing (one point of each straight would be 0, another 1, and we check if the crossing is in this range for each straight).
I haven't found any packet to report pits exiting and entering when driving. So, if pits are needed to be defined, they can be made as set of triangles. Each triangle should have apexes coords and normal vectors per each side (directed inside of the triangle).
(coords of car) - (coords of an apex) will give a vector of car's relative position. Scalar product is positive (not negative) if the car is to the inside of this triangle side. The same for all 3 sides. If all the scalar products for each normal vectors are positive, the point is inside of the triangle.
Another idea: SMX track co-ordinates operating utility
An application that would draw a track and let the user place points and vectors in WYSIWYG mode and give the necessary information:
For a single point:
XY co-ordinates, Z coord of the ground in the place
For 2 points:
1) vector between the 2 points
2) straight line equation coefficients3
3) normal vector to the left and to the right (drawing the normal vector on the map)
For 3 points (triangle):
1) size, square, perimeter, angles
2) normal vectors
For 3 points (angle mode):
1) degrees, radians
2) cosine, sine, tangent and so on
3) bisector vector
Well, maybe even without the latter, but with a possibility to export the values (or just open/save).
P.S. Going to sleep right now. If illustrations are needed, ask me, I'll make them.
There is a problem which is related to all the translation.
When loading a track for a replay, in the end LFS writes "FINISHED" (3a_fnshload) (meaning "finished loading the new track"). I've noticed that after a change of language, LFS shows this string from the previous tranlsation.
Way to reproduce: select one language, open a replay so that LFS would need to load a new track. Let it load and then go back to entry screen, change language in the options and open the same replay. You may select another language and load the same replay once again, and again see that string from the first language.
Here is a minor bug, I think. Was in 19, as well as in 20. [rewritten] When "Options" menu in open in race, in "Player" tab your view will be like "custom"/"wheels". In single-seaters, the virtual dashboard shows.
The latter requires a lot of skill. (my steer center reduction is 0.5).
I drive with mouse. Logitech MX310 (how is that feature called, "double resolution"? It's for gaming, more precise and rarely goes crazy on "difficult" sufraces). I use mouse keys for throttle and braking. Tried to change, to switch gears with mouse, but found it inconvenient.
I've noticed one problem with mouse steer: I need the wheel and hands to be shown to get a feedback (even by peripherial vision). Otherwise it's hard to drive, since there is no feedback on hand from the mouse. Maybe it's only a habbit and placebo (like when you increase steer lock, it feels like the car makes turns better), but still can't get rid of it.
Recently I managed to pass pedal users in FOX. Well, it wasn't completely honest, but showed that mouse isn't that bad. They had unmodified Inferno setups, I had the same but with adapted differential. I used clutch, 35/55, which permited some power loss, but allowed me going pedal to the metal in turns.
Hehe, most of them, as you see, are old models, quite aged, so they cost almost nothing, 50-100$ and it's yours. So, why not rice?
I love the e298ey And this, OMG, Zaporozhets, the "low cost" class, a jokes hero.
This model (Lada 2108*/2109*, "the chisel") is not new but still in production. As for others, I can assure you, fortunately you can seldom see these models on the streets (well, maybe somewhere in a small poor town/countryside), neither with such rice.
I may have translated it in English badly. "Push hard" can have many meanings No, the commentator is Andrei Larinin (says nothing to you, of course, he is the director of the Russian F1 Racing), he is a very intelligent person and speaks with the people who are in action: racers, racers' managers, team managers.
Yes, there are commentaries like this on the same channel, those persons switch to racing from football. But Larinin is in a different class, he is much more credible, I've never heard him tell an empty phrase to fill the time. The worst that I can assume is that he would tell this from the words of racers only. Well, of course, racers can say commonplaces too.
I've watched F-Renault 2.0 recently. The commentator said
FR 2.0 requires to be very-very gentle on throttle. But at the same time it needs a "stiff hand" to drive. It is specially designed so that you need to push it hardly to go into corners.
I'm interested, how in particular the designers could make it be like this?
Kegetys, read the documentation on the flight model. It's like X-Plane with only 1 wing, 1 hstab, 1 vstab, no those polar curves, any cheating with fuselage allowed...
It's unacceptable, of course, the problem is serious. And you be serious too. Well, for me your style seems strange. I'm really sad that NK development has gone this way.
I even tried to buy it, but my country isn't in PayPal, and they didn't reply to my domanda.
On the other hand I could also gloatingly laugh. There is a Russian community of GPL fans, with some LFS-haters among them. They criticized anything in LFS, and some of them claimed that they were going to NK, to a "serious simulator" without "arcadish LFS' atmosphere". ([edit] and without "arcadish" mouse and kb.. lol, they were arguing with us (liveforspeed.ru) even on this topic)
In another thread some guys are bashing Montoya, and they also wear Finnish flags. That's becoming worrying... This thread should be named "Deggis on NetKar daily".
deggis, your first post made sense, but now, after making jokes on his every word and flaming with others, you look like a clown.