From 797c36634494cca64bc23552cabbde40f19d57af Mon Sep 17 00:00:00 2001 From: Sam V Date: Sun, 22 May 2022 14:55:51 +0200 Subject: [PATCH] Adjust height values for Opposing Force tentacles Resolves SamVanheer/halflife-unified-sdk#313 --- .../MonsterTentacleSpawnFlagUpgrade.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/HalfLife.UnifiedSdk.MapUpgrader.Upgrades/MonsterTentacleSpawnFlagUpgrade.cs b/src/HalfLife.UnifiedSdk.MapUpgrader.Upgrades/MonsterTentacleSpawnFlagUpgrade.cs index 1dadd6c..cdc03b2 100644 --- a/src/HalfLife.UnifiedSdk.MapUpgrader.Upgrades/MonsterTentacleSpawnFlagUpgrade.cs +++ b/src/HalfLife.UnifiedSdk.MapUpgrader.Upgrades/MonsterTentacleSpawnFlagUpgrade.cs @@ -30,6 +30,12 @@ public void Apply(MapUpgradeContext context) { tentacle.SetModel("models/tentacle2_lower.mdl"); } + + //Adjust height values to match Opposing Force's. + tentacle.SetDouble("height0", 0); + tentacle.SetDouble("height1", 136); + tentacle.SetDouble("height2", 190); + tentacle.SetDouble("height3", 328); } } }