COG script for wall counter and template viewer tool


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]

Posted by Heinz Högel on May 13, 1998 at 17:55:20:

Hi all,

while experimenting with some cog techniques I've written a script that displays a decimal counter (max. 4 digits) on dedicated surfaces textured with the JK standard material NUMBERS.MAT. Features are:
- count parameters: start and stop values, step width, count frequency, pre count display value
- count cycle startable by timer delay and/or external messages
- configurable sounds for start/stop and counting
- invoking of additional "action" scripts at count start and stop
- delimiter for count cycle repetition

Well, that's not "a big deal", but maybe some of you level designers can use it as building block - feel free to do so! Download the ZIP archive here: Counter Script. It contains the mentioned cog (named h0_counter2.cog) together with additional "trigger" and "action" test scripts and the new material REDNUMBERS.MAT as an alternative for NUMBERS.MAT (red digits in different type). For more documentation see the description at the beginning of the main script.

Also, I want to mention that I have released a little freeware tool last week: The JK Template Viewer 1.0 (67 KB), a new approach to explore those messy template lists. A screenshot is part of this message. It's a Visual Basic 5.0 program, so if you don't have the VB5 runtime (SP2 at least) already you may need the "full" setup package (2.13 MB): JK Template Viewer 1.0 Setup.

Have fun,

Heinz (a JK experimenter from Germany)



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ The Massassi Temple Message Board ]