Zabaware Support Forums

Zabaware Forums => Programming using the Ultra Hal Brain Editor => Topic started by: crunch on December 19, 2004, 08:33:16 pm

Title: free skins for full bod haps
Post by: crunch on December 19, 2004, 08:33:16 pm
I posted the info and screen shots in the other forum

go here~~~~~~~~~
http://www.zabaware.com/forum/topic.asp?TOPIC_ID=1727

[8D]
Title: free skins for full bod haps
Post by: d_blake1 on December 20, 2004, 04:21:48 pm
Hello
I wish to give you my most sincere thank you! It's still hard for me to believe all this is free.

If I may impose just a bit:
Is there a way of controlling how the lights shine on my new girl?

Again many thanks
D
Title: free skins for full bod haps
Post by: crunch on December 20, 2004, 07:15:52 pm
You are very welcome ,, and welcome to this community!
Lighting????yes as a matter of fact there is if you have had time to look at the haptek demo's or ant of the stuff in that user guide you will notice that there are "lights" plural in the player engine..
it is not hard to have a set lighting engage from the start up in hal... but I will try and see how I can make different lighting settings and have hal change them on command if possible..

Real Programmers??? if you see this am I correct??
is there a way for me to pass a JS script from hal??
say like this...
Hal engage light setting 1 , or 2 and so fourth.
I know how to write the JS script to the player.. how would I get hal to respond and run it?

here is the command setup for a TheSetup.js

//commands setup---------------------
lights_pos[0]="belowleft.hap";
lights_pos[1]="left.hap";
lights_pos[2]="aboveleft.hap";
lights_pos[3]="above.hap";
lights_pos[4]="aboveright.hap";
lights_pos[5]="right.hap";
lights_pos[6]="belowright.hap";
lights_pos[7]="below.hap";


 here is what the files are like it would point to to load....
for instance aboveright.hap looks like this!

#HaptekSDK Version= 1.0 HapType= command FileType= text

SetLight[i0= 1 i1= 2 f0= -1 f1= -1 f2= -0.7  ]



..................................................................
these values tell it from where geographically, what colors, what intensity and so-forth

good question d_blake1
Thank you
Crunch  [8D]