Skip to content

Commit 02782c9

Browse files
authored
Implement the new paint system for the old schrodinger cube addon (#26)
1 parent a212510 commit 02782c9

16 files changed

Lines changed: 20 additions & 38 deletions

legacy_schrodinger/addon.kv3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<!-- kv3 encoding:text:version{e21c7f3c-8a33-41c5-9977-a76d3a32aa0d} format:generic:version{7412167c-06e9-4698-aff2-e63eb59037e7} -->
22
{
33
mod = "Old Schrödinger Cubes (★)"
4-
description = "Replaces the current Schrödinger cube model with a version from earlier in development.\n\nVersion 1.0.0"
4+
description = "Replaces the current Schrödinger cube model with a version from earlier in development.\n\nVersion 1.1.0"
55
type = "Asset Pack"
66
id = 0
77
thumbnail = ".assets/thumb.jpg"
88
authors =
99
[
10-
"P2:CE Team"
10+
"P2:CE Team, Lenship2"
1111
]
1212
dependencies = [ ]
1313
tags =

legacy_schrodinger/materials/models/props/schrodinger_cube/cube_bounce_dirt.vmt

Lines changed: 0 additions & 12 deletions
This file was deleted.

legacy_schrodinger/materials/models/props/schrodinger_cube/cube_bounce.vmt renamed to legacy_schrodinger/materials/models/props/schrodinger_cube/cube_painted.vmt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ VertexLitGeneric {
22
$basetexture "models/props/schrodinger_cube/cube_albedo"
33
$surfaceprop "metal"
44
$tintmasktexture "models/props/schrodinger_cube/tint_mask"
5-
$detail "paint/prop_paint_blue"
6-
$detailscale 1
5+
$detail "paint/prop_paint_white"
6+
$detailScale 1
77
$detailblendmode 2
8-
$bumpmap "paint/prop_paint_normal"
9-
$envmap "paint/paint_envmap_hdr"
10-
$envmaptint "[0.05 0.05 0.05]"
11-
$normalmapalphaenvmapmask 1
8+
Proxies
9+
{
10+
PaintOverlayColor
11+
{
12+
resultVar "$detailtint"
13+
}
14+
}
1215
}

legacy_schrodinger/materials/models/props/schrodinger_cube/cube_dirt.vmt renamed to legacy_schrodinger/materials/models/props/schrodinger_cube/cube_rusty.vmt

File renamed without changes.

legacy_schrodinger/materials/models/props/schrodinger_cube/cube_speed_dirt.vmt renamed to legacy_schrodinger/materials/models/props/schrodinger_cube/cube_rusty_painted.vmt

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ VertexLitGeneric {
22
$basetexture "models/props/schrodinger_cube/cube_albedo_dirt"
33
$surfaceprop "metal"
44
$tintmasktexture "models/props/schrodinger_cube/tint_mask"
5-
$detail "paint/prop_paint_orange"
6-
$detailscale 1
5+
$detail "paint/prop_paint_white"
6+
$detailScale 1
77
$detailblendmode 2
8-
$bumpmap "paint/prop_paint_normal"
9-
$envmap "paint/paint_envmap_hdr"
10-
$envmaptint "[0.05 0.05 0.05]"
11-
$normalmapalphaenvmapmask 1
8+
Proxies
9+
{
10+
PaintOverlayColor
11+
{
12+
resultVar "$detailtint"
13+
}
14+
}
1215
}

legacy_schrodinger/materials/models/props/schrodinger_cube/cube_speed.vmt

Lines changed: 0 additions & 12 deletions
This file was deleted.
236 KB
Binary file not shown.
2.21 KB
Binary file not shown.
1.09 MB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)