Game Development Community

Plan for Ian Hardingham

by Ian Omroth Hardingham · 01/10/2002 (4:39 pm) · 6 comments

Well, after struggling with the implementation of arrays I've finally finished my first torque mini-project with Zames.
Snap is a little script which uses a two stage encoding process (huffman weighted then bit to char) to save your most useful keybinds in a small string. You can then write this string down, take it to your friend's house, and type it in and voila: no more uninverted mouse.
Not only is this a useful app, it's taught me a lot about the language: and my conclusion is that something needs to be done about the abject lack of array options.

#1
01/11/2002 (8:31 am)
That sounds cool, though personally, I would prefer to just have an easy way to save the settings to a floppy. Then when I get to my friend's house, create my player on his/her machine, and import the settings from the floppy. Basically a portable avatar.

Don't get me wrong tho - anything done with this engine and shared will improve the engine overall, if for no other reason than you are now one of those versed in the details of scripted arrays and can offer advice to others. It's the community. :)
#2
01/11/2002 (11:16 am)
wow...that's an awesome idea. will you be putting up a tutorial on this? i really like that idea. how long is the string?
#3
01/12/2002 (7:26 am)
well, between 15 and 25 charachters usually. I was really hoping for one you could remember (the string only uses alpha numerics and + and - (to get it up to a power of two)) but considering I'm encoding 20 key actions and each action can be mapped to one of 219 different keys thats already quite good compression. The huffman encoding is done in c++ but everything else is in Torque script.
#5
03/13/2004 (6:45 pm)
something intelligent about arrays