![]() |
Cheap Input Character name Idea
Since the Name hero thing is busted, and I have the patch, I was wondering, well actually I have partially tested this, wouldn't it be easy to just make an autostart, then have it ask you how many letters you want the name to be, then have variables and conditional branches that check if say the number is 7, then it checks if the variable is seven, and then allows them to put in 7 letters in Number form, up to 26(one for each letter) The first would obviously be capital, no matter what, and the rest would be lower case, or however the person codes it. Then, they put in the number for what ever letter, like 1=A, 2=B, 3=C and so on and so forth. So, using the input number command, if they put, for a 5 letter name, 4,18,1,3,15, then the characters name would be Draco. It is a long process, but hey its original. And I have it so they can choose up to 20 letters. Just a thought, and maybe Bluecube could show the coding, for those of you confused about this. Hey, Blue, looks like you got another tutorial on your hands. Just kidding. Anyone who uses this, doesn't have to give me credit, just remember where you got the help. Here @ zelaron, and nowhere else. IT WAS HERE FIRST. Now other forums can't steal it and say, oh its MY original idea.
DATE STAMP: DECEMBER 12th, 2004 @ 7:00 PM (my time) |
Impossible in RM2k3. There's no way to convert that number into letters at any point without having 26*26*26*26*26 = 11,881,376 branches (and that's for a flat 5-letter name), since you can't add onto a name, you can only set it all at once. If you could do something like "HeroName = HeroName + "A"" that would work.. obviously, a language like RMXP's Ruby would allow this easily, but there will still be a bit of coding, and you'd... have to know Ruby.
Consider these simplified branches... Code:
<>if var[0001] = 1 6 letter names = 308,915,776 branches You.. probably wouldn't want many more. |
Whoa, never thought of it like that, thanks Bluecube. Dunno where I'd be without ya. It seemed like a good idea at the time. Anyway, on to bigger, better things.
|
All times are GMT -6. The time now is 05:05 PM. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.