Updated documentation
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
This Blender add-on allows you to import and export meshes and animations to the [PSK and PSA file formats](https://wiki.beyondunreal.com/PSK_%26_PSA_file_formats).
|
This Blender add-on allows you to import and export meshes and animations to the [PSK and PSA file formats](https://wiki.beyondunreal.com/PSK_%26_PSA_file_formats). In addition, the non-standard PSKX format is also supported for import only.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
1. Download the zip file for the latest version from the [releases](https://github.com/DarklightGames/io_export_psk_psa/releases) page.
|
1. Download the zip file for the latest version from the [releases](https://github.com/DarklightGames/io_export_psk_psa/releases) page.
|
||||||
@@ -10,9 +10,9 @@ This Blender add-on allows you to import and export meshes and animations to the
|
|||||||
7. Enable the newly added "Import-Export: PSK/PSA Importer/Exporter" addon.
|
7. Enable the newly added "Import-Export: PSK/PSA Importer/Exporter" addon.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
## Exporting a PSK
|
## Exporting a PSK/PSKX
|
||||||
1. Select the mesh objects you wish to export.
|
1. Select the mesh objects you wish to export.
|
||||||
3. Navigate to File > Export > Unreal PSK (.psk)
|
3. Navigate to File > Export > Unreal PSK (.psk/.pskx)
|
||||||
4. Enter the file name and click "Export".
|
4. Enter the file name and click "Export".
|
||||||
|
|
||||||
## Importing a PSK
|
## Importing a PSK
|
||||||
|
|||||||
@@ -228,18 +228,18 @@ class PskImporter(object):
|
|||||||
|
|
||||||
|
|
||||||
class PskImportPropertyGroup(PropertyGroup):
|
class PskImportPropertyGroup(PropertyGroup):
|
||||||
should_import_vertex_colors: BoolProperty(default=True, name='Vertex Colors')
|
should_import_vertex_colors: BoolProperty(default=True, name='Vertex Colors', description='Import vertex colors from PSKX files, if available')
|
||||||
vertex_color_space: EnumProperty(
|
vertex_color_space: EnumProperty(
|
||||||
name='Vertex Color Space',
|
name='Vertex Color Space',
|
||||||
description='',
|
description='The source vertex color space',
|
||||||
default='SRGBA',
|
default='SRGBA',
|
||||||
items=(
|
items=(
|
||||||
('LINEAR', 'Linear', ''),
|
('LINEAR', 'Linear', ''),
|
||||||
('SRGBA', 'sRGBA', ''),
|
('SRGBA', 'sRGBA', ''),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
should_import_vertex_normals: BoolProperty(default=True, name='Vertex Normals')
|
should_import_vertex_normals: BoolProperty(default=True, name='Vertex Normals', description='Import vertex normals from PSKX files, if available')
|
||||||
should_import_extra_uvs: BoolProperty(default=True, name='Extra UVs')
|
should_import_extra_uvs: BoolProperty(default=True, name='Extra UVs', description='Import extra UV maps from PSKX files, if available')
|
||||||
|
|
||||||
|
|
||||||
class PskImportOperator(Operator, ImportHelper):
|
class PskImportOperator(Operator, ImportHelper):
|
||||||
|
|||||||
Reference in New Issue
Block a user