From a2086c3de6cb93d0707c7ebdc2b9bffdad7de6f7 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Wed, 20 Sep 2023 15:11:55 -0700 Subject: [PATCH] Scripts: Create blood decals upon gib model impact --- zpak001.pk3dir/scripts/decals.txt | 24 ++++++++++++++++++++++++ zpak001.pk3dir/scripts/propdata.txt | 20 ++++++++++---------- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/zpak001.pk3dir/scripts/decals.txt b/zpak001.pk3dir/scripts/decals.txt index d1ccea5..bfc92a8 100644 --- a/zpak001.pk3dir/scripts/decals.txt +++ b/zpak001.pk3dir/scripts/decals.txt @@ -28,4 +28,28 @@ ExplosionScorch "{scorch1" "1" "{scorch2" "1" "{scorch3" "1" +} + +Blood.Human +{ + "{blood1" "1" + "{blood2" "1" + "{blood3" "1" + "{blood4" "1" + "{blood5" "1" + "{blood6" "1" + "{blood7" "1" + "{blood8" "1" +} + +Blood.Alien +{ + "{yblood1" "1" + "{yblood2" "1" + "{yblood3" "1" + "{yblood4" "1" + "{yblood5" "1" + "{yblood6" "1" + "{yblood7" "1" + "{yblood8" "1" } \ No newline at end of file diff --git a/zpak001.pk3dir/scripts/propdata.txt b/zpak001.pk3dir/scripts/propdata.txt index 801c42b..4d2b1bd 100644 --- a/zpak001.pk3dir/scripts/propdata.txt +++ b/zpak001.pk3dir/scripts/propdata.txt @@ -84,19 +84,19 @@ } "gibs_alien" { - "models/agibs.mdl#submodels=4" "5.0" - "models/agibs.mdl#submodels=4" "5.0" - "models/agibs.mdl#submodels=4" "5.0" - "models/agibs.mdl#submodels=4" "5.0" - "models/agibs.mdl#submodels=4" "5.0" + "models/agibs.mdl#submodels=4#impactdecal=Blood.Alien" "5.0" + "models/agibs.mdl#submodels=4#impactdecal=Blood.Alien" "5.0" + "models/agibs.mdl#submodels=4#impactdecal=Blood.Alien" "5.0" + "models/agibs.mdl#submodels=4#impactdecal=Blood.Alien" "5.0" + "models/agibs.mdl#submodels=4#impactdecal=Blood.Alien" "5.0" } "gibs_human" { - "models/gib_b_bone.mdl" "5.0" - "models/gib_legbone.mdl" "5.0" - "models/gib_lung.mdl" "5.0" - "models/gib_skull.mdl" "5.0" - "models/gib_b_gib.mdl" "5.0" + "models/gib_b_bone.mdl#impactdecal=Blood.Human" "5.0" + "models/gib_legbone.mdl#impactdecal=Blood.Human" "5.0" + "models/gib_lung.mdl#impactdecal=Blood.Human" "5.0" + "models/gib_skull.mdl#impactdecal=Blood.Human" "5.0" + "models/gib_b_gib.mdl#impactdecal=Blood.Human" "5.0" } } }