Page 1 of 1

scripted game huds added (proof of concept)

Posted: January 22nd, 2010, 2:21 pm
by offtools
hi all,

i added a scriptable hud, you can test it in the fps. its not very pretty and realy a proof of concept. i added a new folder sb, to make this avabiable to all mods.
screenshot_7603.png

Code: Select all

timer = [
  time = (format "%1 Seconds" $seconds)
  seconds = (+ $seconds 1)
  sleep 1000 [timer]
]

seconds = 0
timer
pickup = "data/pickup"
smoke = "data/smoke_exp"

sbhudtext time
sbhudimage pickup 
sbhudimage smoke

sbhudshow 1
offtools.