Friday, May 23, 2008

Update on Prototype

Hey guys, Ive been doing more scripting on the prototype this mourning,

Firstly I need Chaddy to give me permission to use the scripts on his patient, then I can just copy the script across from the sphere prim (which is my subbed patient at the moment).


This is what I was able to do:
  • The patient starts in the default state of looking blue, and dumdumdum,
  • Coughing, yes that's right I was able to upload a wav of myself coughing, and then loop that sound while the patient is in the default state
  • You are able to click on the oxygen tank which then allows you to turn it on
  • Once the oxygen tank is turned on, then the patient enters a state of breathing, the coughing loop stops and the patient turns to a remotely neutral colour (I'll need to be more accurate with the skin colour for the final product - the RGB values are in a percentage from 0 to 1 which is annoying)
  • Once the oxygen tank is on, you are able to turn it off again - this then sends the patient blue and coughing his guts up once again... (OOO the humanity)
So hopefully my cound loop drives you all insane enough to turn the oxygen tank on for the poor patient.


I tried to get some sort of Reset button scripted, but had trouble with it interfering with the way that the dialogue box on the oxygen works (and so I will sort out that problem another day). I'm happy with the way that the scripts work at the moment coz that actually WORK!

If you haven't seen the prototype for a while then log on to SL, and check it out.

NOTE: I'm off to the footy tonight (GO PIES) and so if Chaddy doesn't share the scripts on the patient before I'm off tonight all you have to do is copy the one on the sphere (above the patients head) and paste it into the patients head (literally!)

Thanks guys

Happy Prototyping :D

1 comment:

Luke Rogers said...

Very Nice. Did you get onto chaddy in the end? - I'll be frappin this sucka on Sunday.