Difference between revisions of "LFS Editor/Guides/Mirrors"
From LFS Manual
< LFS Editor | Guides
Jump to navigationJump to searchm (Flame CZE moved page Vehicle Mod Mirrors to LFS Editor/Guides/Mirrors) |
(steps) |
||
Line 1: | Line 1: | ||
{{Infobox vehicle mods}} | {{Infobox vehicle mods}} | ||
− | + | '''Mirrors''' for vehicle mods use a special texture called <code>s_mirr</code> which looks black in editor but produces a real mirror image in game. | |
− | == | + | == Assigning a mirror texture to a side mirror == |
− | === | + | === Creating a texture page === |
− | + | {{steps | |
− | + | | Enter the [[Modeller]] - {{key press|E}}. | |
− | + | | Click the {{old button|page}} button at the top to enter [[LFS Editor/Modeller/Texture Page Mode|texture page mode]]. | |
− | + | | Click {{old button|add new page|#a1ffa1}}. | |
+ | | When the "Select PNG texture" dialog appears, enter <code>s_mirr</code> and press {{button|OK}}. | ||
+ | }} | ||
− | === | + | === Creating a texture cutout === |
− | + | {{steps | |
− | + | | Click the {{old button|cutout}} button at the top to enter [[LFS Editor/Modeller/Texture Cutout Mode|texture cutout mode]]. | |
− | + | | Click {{old button|add new cutout|#a1ffa1}}, enter a name for it and press {{button|OK}}. | |
+ | | In the "texture page" column, check the assigned texture page of the newly created cutout. If it doesn't already say <code>s_mirr</code>, click the page name and select <code>s_mirr</code> from the list of pages on the right side of the screen. | ||
+ | }} | ||
− | === | + | === Creating a texture mapping === |
− | + | {{steps | |
− | + | | Click the {{old button|map}} button at the top to enter [[LFS Editor/Modeller/Texture Mapping Mode|texture mapping mode]]. | |
− | + | | Switch to any 2D view (e.g. front view by clicking the {{old button|f|#00ff00}} button in the [[LFS Editor/User Interface#Viewports|viewport controls]] at the bottom right, or pressing the {{key press|F}} key. | |
− | + | | Press and hold the right mouse button and drag a rectangle in the car model area to create a yellow "drag box" for the mapping. | |
− | + | | Click {{old button|add new mapping|#a1ffa1}}, enter a name for it and press {{button|OK}}. | |
− | + | | In the "cutout" column, click the assigned cutout of the newly created mapping. | |
+ | | On the right side of the screen, select the correct cutout from the list of cutouts. | ||
+ | }} | ||
− | === | + | === Assigning the mapping to triangles === |
− | + | {{steps | |
− | + | | Click the {{old button|tri}} button at the top to enter [[LFS Editor/Modeller/Triangle Mode|triangle mode]]. | |
− | + | | Select the triangles representing the mirror surface. For example, press {{key press|Ctrl|LMB}} to select the triangles one by one. | |
+ | | In the bottom left corner, you will see all existing mappings. Click the newly created mapping. | ||
+ | }} | ||
[[Category:LFS Editor Guides]] | [[Category:LFS Editor Guides]] |
Revision as of 17:48, 25 January 2024
Vehicle Mods | |
---|---|
Vehicle Mods at LFS.net |
Mirrors for vehicle mods use a special texture called s_mirr
which looks black in editor but produces a real mirror image in game.
Assigning a mirror texture to a side mirror
Creating a texture page
- 1 Enter the Modeller - E.
- 2 Click the page button at the top to enter texture page mode.
- 3 Click add new page.
- 4 When the "Select PNG texture" dialog appears, enter
s_mirr
and press OK.
Creating a texture cutout
- 1 Click the cutout button at the top to enter texture cutout mode.
- 2 Click add new cutout, enter a name for it and press OK.
- 3 In the "texture page" column, check the assigned texture page of the newly created cutout. If it doesn't already say
s_mirr
, click the page name and selects_mirr
from the list of pages on the right side of the screen.
Creating a texture mapping
- 1 Click the map button at the top to enter texture mapping mode.
- 2 Switch to any 2D view (e.g. front view by clicking the f button in the viewport controls at the bottom right, or pressing the F key.
- 3 Press and hold the right mouse button and drag a rectangle in the car model area to create a yellow "drag box" for the mapping.
- 4 Click add new mapping, enter a name for it and press OK.
- 5 In the "cutout" column, click the assigned cutout of the newly created mapping.
- 6 On the right side of the screen, select the correct cutout from the list of cutouts.
Assigning the mapping to triangles
- 1 Click the tri button at the top to enter triangle mode.
- 2 Select the triangles representing the mirror surface. For example, press Ctrl + LMB to select the triangles one by one.
- 3 In the bottom left corner, you will see all existing mappings. Click the newly created mapping.