http://faux.sison.nl/stat3d.png
Cube spins randomly and colours pulsate, also randomly.
Pretty nice effect if you ask me :)
Exactly the same code as the UDP sample posted before melded with Nehe's Lesson 14 (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=14).
If anyone wants the source..
Sample trigger passing data to it:
etc. etc.
There's a binray.. http://faux.sison.nl/stat3d.zip, and the instructions are as follows:
Where STRING is a letter between 'a' and 'f', representing the face you want to write too, and the rest is what you want to write.
eg.
will write "Rating: " follwed by the second pattern match in your regular expression on the 6th face of the cube.
-- Faux the ....
Cube spins randomly and colours pulsate, also randomly.
Pretty nice effect if you ask me :)
Exactly the same code as the UDP sample posted before melded with Nehe's Lesson 14 (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=14).
If anyone wants the source..
Sample trigger passing data to it:
<triggers>
<trigger
enabled="y"
match="^Your current experience is [0-9]* and you are level ([0-9]+) in .* your overall rating is ([0-9]+)\.$"
regexp="y"
send_to="12"
sequence="100"
>
<send>UdpSend("127.0.0.1",4123,"eGL: %1")
UdpSend("127.0.0.1",4123,"fRating: %2")</send>
</trigger>
</triggers>
etc. etc.
There's a binray.. http://faux.sison.nl/stat3d.zip, and the instructions are as follows:
UdpSend("127.0.0.1",4123,STRING)Where STRING is a letter between 'a' and 'f', representing the face you want to write too, and the rest is what you want to write.
eg.
UdpSend("127.0.0.1",4123,"fRating: %2")will write "Rating: " follwed by the second pattern match in your regular expression on the 6th face of the cube.
-- Faux the ....