QUOTE(Kalle @ Apr 4 2006, 01:11 AM)
You can't since it counts every line as a string.
It'd be nearly impossible to make cheats.
[right][snapback]459081[/snapback][/right]
not to mention eud conditions have been scrambled, they're still there, but until their new values are found, they can't be used
anyhow, text detection was a pain in the butt anyways. you wouldn't need to know every single character, but you would have to know where your "cheat code" starts and since there are so many different name lengths, its becomes a pain in the ass. i think they caculated it out to be like 137 triggers for jsut one cheat.
I was thinking about this one day and i came to the conclusion, the best way to do this would be to have it like this:
x = longest possible name
y = any other name
x-y = number of spaces to add
e.g. "bob:"(4) "Billy bob:"(10) cheat code: "power overwhelming"
you have to detect the semi-colon and the space i believe
10 - 4 = 6
"bob:******power overwhelming"
"Billy bob:power overwhelming"
player y is shorter than x and would have to add spaces in order to be 'even' with x. the trigger would try to detect the code starting after the maximum length.
text detection could be used for things other than cheats, and the above method was meant for ease of use for text-based maps(for both the player and the map maker). of course, you would need to tell players how to use this system
however, if this cheat was meant just for a single player, you would be trying to detect something like this, with a single trigger:
"Zeratul_101: power overwhelming" - 31 characters