The online racing simulator
Editor Test Patch 0.7D40
(188 posts, closed, started )
Quote from Scawen :I've tried to reproduce that, both a single sided subobject with mirrored triangles, and a mirrored subobject with mirrored triangles.

I don't get a problem in either case. Can you attach a model that can be used to reproduce this issue?

below u find screenshots of how it looks in editor and how it looks inside LFS after exporting for test
I've attached a file of whole mod which is exported for development
you can find the triangles that are having this issue in second subobject named " lights and others"
all lights are mirrored and they aren't appearing correctly as in editor.. i was mistaken for whole tris loss but its just the textures now.
I've tried making a flipped cutout and using it in opposite mapping but nothing did it.
Attached images
lfs_00000002.jpg
lfs_00000003.jpg
lfs_00000037.jpg
lfs_00000038.jpg
Attached files
share.rar - 2.9 MB - 123 views
I've tested that and don't see that problem in game. Which version of LFS are you using?

I used editor D37 and LFS D31. The light mapping appears fine in game.
Quote from Scawen :I've tested that and don't see that problem in game. Which version of LFS are you using?

I used editor D37 and LFS D31. The light mapping appears fine in game.

hmm that's strange, i am using same versions as u do
idk why its not appearing.. guess its time to reinstall
sorry for wasting your time sir.
This is the final variant. I'm very happy with it. Can't wait for the official version, so I can upload it. Thumbs up
Attached images
2023-06-27 00_04_44-Greenshot.jpg
-
(bayanofmansorofisky) DELETED by bayanofmansorofisky : wrong thread ... dont drink and write 3am
Quote from Evolution_R :This is the final variant. I'm very happy with it. Can't wait for the official version, so I can upload it. Thumbs up

Nice dashboard, thanks for the result image and testing! Smile

Quote from bayanofmansorofisky :Animation editor suggestion:
...
Modeler Suggestion :
...
Editor suggestion :

Please can you remove your suggestions and instead put them on the appropriate thread in the suggestions forum?

It's really impossible for me to follow things and retain my sanity if random suggestions are all over the place and the test patch thread is spammed up with off topic.

This thread is for discussions about the current editor test patch. Off topic suggestions here will be ignored.

By the way, did you get any better results with the bus mirrored texture?
Quote from Scawen :Nice dashboard, thanks for the result image and testing! Smile


Please can you remove your suggestions and instead put them on the appropriate thread in the suggestions forum?

It's really impossible for me to follow things and retain my sanity if random suggestions are all over the place and the test patch thread is spammed up with off topic.

This thread is for discussions about the current editor test patch. Off topic suggestions here will be ignored.

sorry i looked over and somehow i did not find that correct thread

Quote :By the way, did you get any better results with the bus mirrored texture?

I did a fresh installment of LFS and LFSE and patched to latest .. the issue was still there when i opened the file in editor but i tried to mirror both subobject and tris and it worked somehow.. all i can guess is its my editor acting up.
Quote from Evolution_R :This is the final variant. I'm very happy with it. Can't wait for the official version, so I can upload it. Thumbs up

I just wondered, how does it look, if you view that veh in an older copy of LFS (from before the dashboard updates) ? You should be able to see quite simply by running an older exe.
Yes, it doesn't look great - 0.7D21
Attached images
2023-06-27 18_10_28-Greenshot.jpg
Not bad compatibility though, if you did want to upload it already. Big grin
Quote from Scawen :1) You can use the backing texture on subobjects. It is not limited to use with main object. The backing texture is added to the list of texture pages in main object, then it is visible on the dashboard texture, so it appears on all subobjects that use the dashboard texture.

Simply add the backing texture to the main object in "page" mode. Then it will appear on subobjects as expected. There is no need for dash subobjects to be merged into main object.


2) I am interested to know how mappings are losing position and scale when merging. I think that should not happen. If you have a simple way to reproduce this bug, please let me know.

It is happening if subobject's angle is given from subob section, from the rotation and position bar. But if you rotate it from the point section with selecting every point and rotating with same angle, there isn't any problem when merging. Tried and worked on my Dorito Astro 1000
Thank you for the info.

The mappings *should* be retained when merging a subobject (since at least D23) but I see that there are cases when it goes wrong. For instance I made this LX4 test with a dash mapping in a rotated subobject. When I merge the subobject, the rotated dash mapping is preserved correctly. But I do notice a problem with mapping "C1_hdLB" which you can see as a wrong mapping on part of the painted outer of the subobject after the merge.

I don't yet know why it went wrong but I've made a note to look.
Attached images
LX_test_head.jpg
Attached files
LX4_test_headlight.zip - 28.4 KB - 117 views
A new patch D38 fixes some reported issues and includes a new feature to copy wireframe or plain mappings for any texture, previously only available for skins.

Quote from stuchlo :...Have found only two strange bugs (unfortunately did not take a screenshot):
  1. Corrupted license plates. ...
  2. When changing the fixed texture page, all of the linked cutouts switched to the MATT. ...

1) I've fixed the corrupted number plate issue that was even simpler than expected to reproduce.

2) I think you should no longer need to change the texture page to a skin as you can now copy mappings for any texture.

Quote from AR92 :It is happening if subobject's angle is given from subob section, from the rotation and position bar. But if you rotate it from the point section with selecting every point and rotating with same angle, there isn't any problem when merging. ...

The combination of rotations when merging subobjects is now fixed. Before this fix, it would work reliably if only the heading of the subobject was changed (not pitch or roll).


Changes in D38:

Modeller:

Export plain / shaded / wireframe for any texture (not only skins)
FIX: Merge subobjects, mappings wrong if subobject had pitch / roll
FIX: Map mode showed texture file for skin cutouts as [no texture]

Misc:

FIX: Alpha number plate texture went wrong if more than one on page
FIX: Modeller - reload textures - vehicle editor: 2 plates on page

Download: https://www.lfs.net/forum/thread/102626
In Editor D39 you can set a subobject to be a "hub object" which will then be attached to a wheel.

Some examples of use:
- disc brakes on a motorbike
- different wheels front and rear on a bus

NOTE! If used in LFS earlier than D32, the object will be visible in its location but will not move with the wheel.

Download: https://www.lfs.net/forum/thread/102626
Works great! Thank you, Scawen.
Thanks for the test! Smile
One issue i think is that hub objects are using body colors, so it's a bit weird in a way if let's say a bus front wheel and rear wheel colors will be separate.
There's any way to load spk files as attachment?
I haven't found anything about that in manual.
Thanks Scawen. Thumbs up
Quote from Drifteris :One issue i think is that hub objects are using body colors, so it's a bit weird in a way if let's say a bus front wheel and rear wheel colors will be separate.

I'm not sure how serious this problem is (or if I'm seeing the full problem). I think you are talking about the user customisable colours, and that any the mod creator adds for the new hub objects will end up on the left side of the screen (with the body colours) instead of the right side, with the other wheel colours?

But how much of a problem is this? At first thought it seems like it would be hard to change how this works, but of course I will look into it if it is bad, or could cause problems in the future.

Quote from versiu :There's any way to load spk files as attachment?
I haven't found anything about that in manual.

I think this cannot be done by any official method, though if there are no rotation connections (on multiple spoke wheels, between one spoke and the next) then I think it might work if you rename the spk to sre and hex edit the header (first 6 bytes). But I haven't tested that.

The spk and sre files are kept separate, because there is an important difference. If I remember correctly, ordinary models (sre) have the "mirrored points" which triangles can connect to but in the spk files these are reused as "rotated points" so you can create a whole wheel by working on one slice of it.

These methods are not compatible and it's just slightly complicated to allow saving and loading between the two formats. I guess there could be "save spoke as sre" which could be enabled if there are no triangles connected to rotated points, and there could be "save object as spk" if there are no triangles connected to mirrored points. Is it worth adding these functions? Can they be added without wasting screen space?
Quote from Scawen : I think it might work if you rename the spk to sre and hex edit the header (first 6 bytes). But I haven't tested that.

It crashed editor for me.


Quote from Scawen :Is it worth adding these functions? Can they be added without wasting screen space?

No, it's not really important.
I'll just make that rims again ;p
Quote from versiu :It crashed editor for me.

spk has header LFSSPK, you should change it to SREOBJ and then rename to sre
Quote from Scawen :I'm not sure how serious this problem is (or if I'm seeing the full problem). I think you are talking about the user customisable colours, and that any the mod creator adds for the new hub objects will end up on the left side of the screen (with the body colours) instead of the right side, with the other wheel colours?

But how much of a problem is this? At first thought it seems like it would be hard to change how this works, but of course I will look into it if it is bad, or could cause problems in the future.

So basically it takes one color slot of 4 possible for the body. It's not a huge problem though, i just thought it's kinda confusing a bit and it limits coloring options.
Quote from superlame :spk has header LFSSPK, you should change it to SREOBJ and then rename to sre

That's exactly what I have done. I checked hex of SRE file before to know what header I should put.

I will try again later. Thanks.
Quote from Scawen :
But how much of a problem is this? At first thought it seems like it would be hard to change how this works, but of course I will look into it if it is bad, or could cause problems in the future.

It's an issue for me because you now have to tie in 1/4 body customization options to the wheel. I will be using this new hub feature to allow my mods to have separately paintable front and rear wheels, and to be able to run 2 different wheel designs and spoke face offsets. Great for Drift and Drag cars.
Quote from Slashpca :I will be using this new hub feature to allow my mods to have separately paintable front and rear wheels, and to be able to run 2 different wheel designs and spoke face offsets. Great for Drift and Drag cars.

...or to have different wheelrim options with each body config.
This update opens whole new world for customizing vehicles.
This thread is closed

Editor Test Patch 0.7D40
(188 posts, closed, started )
FGED GREDG RDFGDR GSFDG