From 491a9910e3136c4e5944817bbc73b5ecc6c46d50 Mon Sep 17 00:00:00 2001 From: Matei Date: Sun, 16 Jul 2006 19:33:33 +0000 Subject: [PATCH] Data changes for new entity bar rendering code. (All the bar info is now in one attribute, rather than having separate info for health bars, stamina bars and ranks). This was SVN commit r4121. --- .../official/entities/template_entity.xml | 9 ++ .../official/entities/template_structure.xml | 9 ++ .../mods/official/entities/template_unit.xml | 8 ++ .../mods/official/scripts/entity_functions.js | 104 ++++++++++-------- 4 files changed, 84 insertions(+), 46 deletions(-) diff --git a/binaries/data/mods/official/entities/template_entity.xml b/binaries/data/mods/official/entities/template_entity.xml index d4d813b7d2..1e287a47eb 100755 --- a/binaries/data/mods/official/entities/template_entity.xml +++ b/binaries/data/mods/official/entities/template_entity.xml @@ -39,6 +39,7 @@ bar.dds + 0.0 -1.0 20 2.0 @@ -72,6 +73,14 @@ 7 .1 + + + + false + bar.dds + 0.2 + + false diff --git a/binaries/data/mods/official/entities/template_structure.xml b/binaries/data/mods/official/entities/template_structure.xml index 16f5cc620b..f4f1049157 100644 --- a/binaries/data/mods/official/entities/template_structure.xml +++ b/binaries/data/mods/official/entities/template_structure.xml @@ -34,6 +34,15 @@ 9 + + + + true + 12.0 + 6.0 + 0.6 + +