HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Integer -> Roman Numerals

09-06-2004, 06:26 AM#1
Grater
If you want to add some flair to your map (and frustrate those who cant read em'), use Roman Numerals! This map has a function (in the map header) that converts integers to Roman Numerals, returned as a string. It uses a table (array of 40 strings) which is generated in a GUI trigger. The maximum number it will willingly convert is 3500, I cant imagine this will be a problem, as such a large number in roman numerals will drive players insane anyway.
09-06-2004, 06:30 AM#2
HexenLordX
Ohh, my friend was looking for something like this to use in his Gladiators map that he's working on. He wants me to give you his thanks and appreciation.
09-06-2004, 07:03 PM#3
Vexorian
Quote:
Originally Posted by Grater
If you want to add some flair to your map (and frustrate those who cant read em'), use Roman Numerals! This map has a function (in the map header) that converts integers to Roman Numerals, returned as a string. It uses a table (array of 40 strings) which is generated in a GUI trigger. The maximum number it will willingly convert is 3500, I cant imagine this will be a problem, as such a large number in roman numerals will drive players insane anyway.
didn't I make a I2Roman function already, nowadays an array is such a better idea