From b59f170ff3af82e99699200f9ba0835c2f21f31b Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 7 Feb 2014 17:03:53 +0100 Subject: [PATCH] Add shadow skin configuration --- workspace/common/characters/directories.py | 1 + workspace/common/characters/process.py | 4 +--- workspace/common/characters_maps_hr/process.py | 2 +- workspace/common/construction/process.py | 2 +- workspace/common/fauna/directories.py | 1 + workspace/common/fauna/process.py | 4 +--- workspace/common/objects/process.py | 2 +- workspace/common/outgame/process.py | 2 +- workspace/common/sfx/process.py | 2 +- workspace/common/sky/process.py | 2 +- workspace/continents/fyros/process.py | 2 +- workspace/continents/indoors/process.py | 2 +- workspace/continents/matis/process.py | 2 +- workspace/continents/newbieland/process.py | 2 +- workspace/continents/tryker/process.py | 2 +- workspace/continents/zorai/process.py | 2 +- workspace/ecosystems/desert/directories.py | 2 +- workspace/ecosystems/desert/process.py | 6 ++---- workspace/ecosystems/jungle/directories.py | 2 +- workspace/ecosystems/jungle/process.py | 6 ++---- workspace/ecosystems/lacustre/directories.py | 2 +- workspace/ecosystems/lacustre/process.py | 6 ++---- workspace/ecosystems/primes_racines/directories.py | 2 +- workspace/ecosystems/primes_racines/process.py | 6 ++---- 24 files changed, 28 insertions(+), 38 deletions(-) diff --git a/workspace/common/characters/directories.py b/workspace/common/characters/directories.py index c5db38f..9c1ab36 100644 --- a/workspace/common/characters/directories.py +++ b/workspace/common/characters/directories.py @@ -162,6 +162,7 @@ MapPanoplyCacheBuildDirectory = CommonPath + "/map_panoply_cache" MapTagBuildDirectory = CommonPath + "/map_tag" # Shape directories +ShapeShadowSkinBuildDirectory = CommonPath + "/shape_shadow_skin_build" ShapeClodtexBuildDirectory = CommonPath + "/shape_clodtex_build" ShapeWithCoarseMeshBuildDirectory = CommonPath + "/shape_with_coarse_mesh_builded" ShapeLightmapBuildDirectory = CommonPath + "/shape_lightmap" diff --git a/workspace/common/characters/process.py b/workspace/common/characters/process.py index 89dbf1d..5d621ef 100644 --- a/workspace/common/characters/process.py +++ b/workspace/common/characters/process.py @@ -70,8 +70,6 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 - #panoply_file_list = panoply_files.txt ??? #hls_bank_file_name = characters.hlsbank ??? @@ -98,7 +96,7 @@ MultipleTilesPostfix += [ "_wi" ] # *** SHADOW SKIN OPTIONS *** # Characters are made of approx 4000 polys with multiple Skins binded (legs, short, torso...). 35% => 1400 polys. -BuildShadowSkin = 1 +BuildShadowSkinEnabled = True BuildShadowSkinRatio = 35 BuildShadowSkinMaxface = 2000 diff --git a/workspace/common/characters_maps_hr/process.py b/workspace/common/characters_maps_hr/process.py index 7ce7af5..c4840f0 100644 --- a/workspace/common/characters_maps_hr/process.py +++ b/workspace/common/characters_maps_hr/process.py @@ -60,7 +60,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** diff --git a/workspace/common/construction/process.py b/workspace/common/construction/process.py index 4a72136..29a5066 100644 --- a/workspace/common/construction/process.py +++ b/workspace/common/construction/process.py @@ -71,7 +71,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/common/fauna/directories.py b/workspace/common/fauna/directories.py index dc4d5c5..5ffd467 100644 --- a/workspace/common/fauna/directories.py +++ b/workspace/common/fauna/directories.py @@ -271,6 +271,7 @@ MapPanoplyCacheBuildDirectory = CommonPath + "/map_panoply_cache" MapTagBuildDirectory = CommonPath + "/map_tag" # Shape directories +ShapeShadowSkinBuildDirectory = CommonPath + "/shape_shadow_skin_build" ShapeClodtexBuildDirectory = CommonPath + "/shape_clodtex_build" ShapeWithCoarseMeshBuildDirectory = CommonPath + "/shape_with_coarse_mesh_builded" ShapeLightmapBuildDirectory = CommonPath + "/shape_lightmap" diff --git a/workspace/common/fauna/process.py b/workspace/common/fauna/process.py index bf59b31..cde8da2 100644 --- a/workspace/common/fauna/process.py +++ b/workspace/common/fauna/process.py @@ -71,8 +71,6 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 - # *** CLODBANK OPTIONS *** @@ -103,7 +101,7 @@ MapHlsBankFileName = None # *** SHADOW SKIN OPTIONS *** # Fauna are made of a single skin. Allow only 1000 faces for each monster (whatever the original nb faces) -BuildShadowSkin = 1 +BuildShadowSkinEnabled = True BuildShadowSkinRatio = 100 BuildShadowSkinMaxface = 1000 diff --git a/workspace/common/objects/process.py b/workspace/common/objects/process.py index 4134bfc..d413bc5 100644 --- a/workspace/common/objects/process.py +++ b/workspace/common/objects/process.py @@ -58,7 +58,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/common/outgame/process.py b/workspace/common/outgame/process.py index d6fd639..fcef5bd 100644 --- a/workspace/common/outgame/process.py +++ b/workspace/common/outgame/process.py @@ -71,7 +71,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/common/sfx/process.py b/workspace/common/sfx/process.py index ccbecb9..aadae30 100644 --- a/workspace/common/sfx/process.py +++ b/workspace/common/sfx/process.py @@ -68,7 +68,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/common/sky/process.py b/workspace/common/sky/process.py index e32a883..fcbf820 100644 --- a/workspace/common/sky/process.py +++ b/workspace/common/sky/process.py @@ -72,7 +72,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/continents/fyros/process.py b/workspace/continents/fyros/process.py index 570c4d0..47d9ee6 100644 --- a/workspace/continents/fyros/process.py +++ b/workspace/continents/fyros/process.py @@ -60,7 +60,7 @@ ShapeExportOpt8BitsLightmap = "false" ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** diff --git a/workspace/continents/indoors/process.py b/workspace/continents/indoors/process.py index b44dad8..dac571e 100644 --- a/workspace/continents/indoors/process.py +++ b/workspace/continents/indoors/process.py @@ -82,7 +82,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/continents/matis/process.py b/workspace/continents/matis/process.py index fabc58b..2c5732d 100644 --- a/workspace/continents/matis/process.py +++ b/workspace/continents/matis/process.py @@ -60,7 +60,7 @@ ShapeExportOpt8BitsLightmap = "false" ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** diff --git a/workspace/continents/newbieland/process.py b/workspace/continents/newbieland/process.py index bcc20b9..e109f90 100644 --- a/workspace/continents/newbieland/process.py +++ b/workspace/continents/newbieland/process.py @@ -86,7 +86,7 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" diff --git a/workspace/continents/tryker/process.py b/workspace/continents/tryker/process.py index bffdb68..dcfe412 100644 --- a/workspace/continents/tryker/process.py +++ b/workspace/continents/tryker/process.py @@ -60,7 +60,7 @@ ShapeExportOpt8BitsLightmap = "false" ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** diff --git a/workspace/continents/zorai/process.py b/workspace/continents/zorai/process.py index c32cffd..71e3fa3 100644 --- a/workspace/continents/zorai/process.py +++ b/workspace/continents/zorai/process.py @@ -60,7 +60,7 @@ ShapeExportOpt8BitsLightmap = "false" ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** diff --git a/workspace/ecosystems/desert/directories.py b/workspace/ecosystems/desert/directories.py index a57902c..9c1eb16 100644 --- a/workspace/ecosystems/desert/directories.py +++ b/workspace/ecosystems/desert/directories.py @@ -6,7 +6,7 @@ # # \file directories.py # \brief Directories configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # \date 2001-2005 # \author Nevrax diff --git a/workspace/ecosystems/desert/process.py b/workspace/ecosystems/desert/process.py index 746ef46..3ca0c4a 100644 --- a/workspace/ecosystems/desert/process.py +++ b/workspace/ecosystems/desert/process.py @@ -6,7 +6,7 @@ # # \file config.py # \brief Process configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # Python port of game data build pipeline. # Process configuration for 'desert' ecosystem. @@ -82,8 +82,6 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 - ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** @@ -125,7 +123,7 @@ MapHlsBankFileName = None # *** SHAPE BUILD OPTIONS * -DoBuildShadowSkin = False +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** PACS_PRIM OPTIONS *** diff --git a/workspace/ecosystems/jungle/directories.py b/workspace/ecosystems/jungle/directories.py index 923794b..4fb84f3 100644 --- a/workspace/ecosystems/jungle/directories.py +++ b/workspace/ecosystems/jungle/directories.py @@ -6,7 +6,7 @@ # # \file directories.py # \brief Directories configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # \date 2001-2005 # \author Nevrax diff --git a/workspace/ecosystems/jungle/process.py b/workspace/ecosystems/jungle/process.py index c17150c..d249b12 100644 --- a/workspace/ecosystems/jungle/process.py +++ b/workspace/ecosystems/jungle/process.py @@ -6,7 +6,7 @@ # # \file config.py # \brief Process configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # Python port of game data build pipeline. # Process configuration for 'jungle' ecosystem. @@ -82,8 +82,6 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 - ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** @@ -125,7 +123,7 @@ MapHlsBankFileName = None # *** SHAPE BUILD OPTIONS * -DoBuildShadowSkin = False +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** PACS_PRIM OPTIONS *** diff --git a/workspace/ecosystems/lacustre/directories.py b/workspace/ecosystems/lacustre/directories.py index 630eb4d..377c2ee 100644 --- a/workspace/ecosystems/lacustre/directories.py +++ b/workspace/ecosystems/lacustre/directories.py @@ -6,7 +6,7 @@ # # \file directories.py # \brief Directories configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # \date 2001-2005 # \author Nevrax diff --git a/workspace/ecosystems/lacustre/process.py b/workspace/ecosystems/lacustre/process.py index 57e09cf..0fcd297 100644 --- a/workspace/ecosystems/lacustre/process.py +++ b/workspace/ecosystems/lacustre/process.py @@ -6,7 +6,7 @@ # # \file config.py # \brief Process configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # Python port of game data build pipeline. # Process configuration for 'lacustre' ecosystem. @@ -82,8 +82,6 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 - ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** @@ -125,7 +123,7 @@ MapHlsBankFileName = None # *** SHAPE BUILD OPTIONS * -DoBuildShadowSkin = False +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** PACS_PRIM OPTIONS *** diff --git a/workspace/ecosystems/primes_racines/directories.py b/workspace/ecosystems/primes_racines/directories.py index a302ee4..7a33ca2 100644 --- a/workspace/ecosystems/primes_racines/directories.py +++ b/workspace/ecosystems/primes_racines/directories.py @@ -6,7 +6,7 @@ # # \file directories.py # \brief Directories configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # \date 2001-2005 # \author Nevrax diff --git a/workspace/ecosystems/primes_racines/process.py b/workspace/ecosystems/primes_racines/process.py index e42ae9e..cba7f70 100644 --- a/workspace/ecosystems/primes_racines/process.py +++ b/workspace/ecosystems/primes_racines/process.py @@ -6,7 +6,7 @@ # # \file config.py # \brief Process configuration -# \date 2014-02-06-23-18-GMT +# \date 2014-02-07-16-00-GMT # \author Jan Boon (Kaetemi) # Python port of game data build pipeline. # Process configuration for 'primes_racines' ecosystem. @@ -82,8 +82,6 @@ ShapeExportOptLightmapLog = "true" # Coarse mesh texture mul size TextureMulSizeValue = "1.5" -DoBuildShadowSkin = 0 - ClodConfigFile = "" # *** COARSE MESH TEXTURE NAME *** @@ -125,7 +123,7 @@ MapHlsBankFileName = None # *** SHAPE BUILD OPTIONS * -DoBuildShadowSkin = False +BuildShadowSkinEnabled = False ClodConfigFile = "" # *** PACS_PRIM OPTIONS ***