From c50e2925005615df79467973f6f07e964aa5a435 Mon Sep 17 00:00:00 2001 From: Areloch Date: Fri, 7 Jul 2017 03:09:21 -0500 Subject: [PATCH] * Fixed old names of decal properties Renamed the screenStartRadius and screenEndRadius properties in the bulletHoleDecal datablock and ScorchRXDecal datablock to fadeStartPixelSize and fadeEndPixelSize properties, respectively, to match names of the properties as defined in the decalData.cpp file, as noted in issue #1498 Among other possible fixes, this makes the size of the bullet hole decal's actually random in size now, instead of always being the exact same size. @AlexBarys --- .../FPSGameplay/scripts/datablocks/managedDecalData.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Templates/Modules/FPSGameplay/scripts/datablocks/managedDecalData.cs b/Templates/Modules/FPSGameplay/scripts/datablocks/managedDecalData.cs index 90f6a534e..5085de339 100644 --- a/Templates/Modules/FPSGameplay/scripts/datablocks/managedDecalData.cs +++ b/Templates/Modules/FPSGameplay/scripts/datablocks/managedDecalData.cs @@ -39,8 +39,8 @@ datablock DecalData(ScorchRXDecal) texRows = "2"; texCols = "2"; clippingAngle = "80"; - screenStartRadius = "200"; - screenEndRadius = "100"; + fadeStartPixelSize = "200"; + fadeEndPixelSize = "100"; }; datablock DecalData(bulletHoleDecal) @@ -51,7 +51,7 @@ datablock DecalData(bulletHoleDecal) randomize = "1"; texRows = "2"; texCols = "2"; - screenStartRadius = "20"; - screenEndRadius = "5"; + fadeStartPixelSize = "20"; + fadeEndPixelSize = "5"; clippingAngle = "180"; };