From: MirceaKitsune Date: Thu, 4 Aug 2011 10:59:20 +0000 (+0300) Subject: Shader for the new display. For now, randomly cycle between numbers, until we have... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d7cdceb62f91977996d1ab0cc7fdd8c3468791b4;p=voretournament%2Fvoretournament.git Shader for the new display. For now, randomly cycle between numbers, until we have the possibility to print actual ammo levels --- diff --git a/data/scripts/items.shader b/data/scripts/items.shader index bf5f9eda..1aa48e0e 100644 --- a/data/scripts/items.shader +++ b/data/scripts/items.shader @@ -7,6 +7,59 @@ textures/grabber } } +textures/grabber_dtex +{ + surfaceparm nolightmap + { + map textures/grabber_dtex + } +} + +textures/grabber_d1 +{ + surfaceparm nolightmap + { + map textures/numbers/num_0 + animmap 10 textures/numbers/num_0 textures/numbers/num_1 textures/numbers/num_2 textures/numbers/num_3 textures/numbers/num_4 textures/numbers/num_5 textures/numbers/num_6 textures/numbers/num_7 textures/numbers/num_8 textures/numbers/num_9 + } +} + +textures/grabber_d2 +{ + surfaceparm nolightmap + { + map textures/numbers/num_0 + animmap 15 textures/numbers/num_0 textures/numbers/num_1 textures/numbers/num_2 textures/numbers/num_3 textures/numbers/num_4 textures/numbers/num_5 textures/numbers/num_6 textures/numbers/num_7 textures/numbers/num_8 textures/numbers/num_9 + } +} + +textures/grabber_d3 +{ + surfaceparm nolightmap + { + map textures/numbers/num_0 + animmap 20 textures/numbers/num_0 textures/numbers/num_1 textures/numbers/num_2 textures/numbers/num_3 textures/numbers/num_4 textures/numbers/num_5 textures/numbers/num_6 textures/numbers/num_7 textures/numbers/num_8 textures/numbers/num_9 + } +} + +textures/grabber_d4 +{ + surfaceparm nolightmap + { + map textures/numbers/num_0 + animmap 25 textures/numbers/num_0 textures/numbers/num_1 textures/numbers/num_2 textures/numbers/num_3 textures/numbers/num_4 textures/numbers/num_5 textures/numbers/num_6 textures/numbers/num_7 textures/numbers/num_8 textures/numbers/num_9 + } +} + +textures/grabber_d5 +{ + surfaceparm nolightmap + { + map textures/numbers/num_0 + animmap 30 textures/numbers/num_0 textures/numbers/num_1 textures/numbers/num_2 textures/numbers/num_3 textures/numbers/num_4 textures/numbers/num_5 textures/numbers/num_6 textures/numbers/num_7 textures/numbers/num_8 textures/numbers/num_9 + } +} + models/items/jetpack { dpreflectcube cubemaps/default/sky