diff --git a/JotunnModStub/Alfar/AlfarNexusLook.cs b/JotunnModStub/Alfar/AlfarNexusLook.cs index 12921b1..34c1fe7 100644 --- a/JotunnModStub/Alfar/AlfarNexusLook.cs +++ b/JotunnModStub/Alfar/AlfarNexusLook.cs @@ -4,7 +4,7 @@ using UnityEngine; namespace RacesOfValheim { /// - /// The Ljoskjarne's body: a stone pyramid, 2 m to a side and 2 m tall, floating 0.5 m above the + /// The Ljoskjarne's body: a stone pyramid, 2 m to a side and 2 m tall, floating 0.8 m above the /// ground. Dark steel carved with Valheim's own runes (the Ashlands rune tile's glyphs, laid out by /// scripts/paint_nexus.py), and a cyan seam down the middle of each face. /// @@ -20,7 +20,7 @@ namespace RacesOfValheim { private const float Height = 2f; private const float HalfBase = 1f; - private const float Lift = 0.5f; + private const float Lift = 0.8f; private const string SourceMaterialPrefab = "piece_cartographytable"; private const string EmbersSource = "fx_Torch_Carried"; diff --git a/scripts/paint_nexus.py b/scripts/paint_nexus.py index 6205c87..5de3da3 100644 --- a/scripts/paint_nexus.py +++ b/scripts/paint_nexus.py @@ -129,7 +129,7 @@ shade = np.clip(nm @ np.array([-0.5,0.5,0.7])/np.linalg.norm([-0.5,0.5,0.7]), 0, Image.fromarray((np.clip(face*shade[...,None]*1.6,0,1)*255).astype(np.uint8)).save(os.path.join(d,"prev_nexus_bump.png")) # --- preview: the pyramid as AlfarNexus builds it -HGT, B, LIFT = 2.0, 1.0, 0.5 # AlfarNexusLook: 2 m tall, 2 m base, floating 0.5 m up +HGT, B, LIFT = 2.0, 1.0, 0.8 # AlfarNexusLook: 2 m tall, 2 m base, floating 0.8 m up apex = np.array([0, LIFT+HGT, 0]); c = [np.array(p) for p in [(-B,LIFT,-B),(B,LIFT,-B),(B,LIFT,B),(-B,LIFT,B)]] lit = np.asarray(out, dtype=np.float32)/255 lit = lit*(1-glow[...,None]) + np.array([0.35,0.75,1.0])*glow[...,None]