summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/dungen
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/dungen')
-rwxr-xr-xshare/hackvr/examples/dungen/dunexplore.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/hackvr/examples/dungen/dunexplore.sh b/share/hackvr/examples/dungen/dunexplore.sh
index 6f71391..6fbd5c3 100755
--- a/share/hackvr/examples/dungen/dunexplore.sh
+++ b/share/hackvr/examples/dungen/dunexplore.sh
@@ -2,7 +2,13 @@
### run me with hackvr_coproc
#the $USER triangle we add first is to give us some sort of avatar to see where the camera is.
#seed=1337
-echo $USER addshape 4 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0
+red=1
+green=2
+blue=4
+echo $USER addshape 6 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0
+echo world-x addshape $red 2 0 0 0 1 0 0
+echo world-y addshape $green 2 0 0 0 0 1 0
+echo world-z addshape $blue 2 0 0 0 0 0 1
./dungen $seed | ./dun2hackvr
while read group action target;do
if [ "$action" = "action" ];then