• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Random Name Generator 1.2

You don't know any name for your hero?
Your race is really strange, you want give it a name, but you haven't got any idea?
Here's the solution! This sistem creates random names pronounceable!!!
I admit that there will appear really ridicolous or stupid names, ignore them.
To create a name press ESC.
I don't need credits if you use it, of course! It's easy customizable...of course you need some experience in GUI.
To import it you only have to make a tick in -Preferences\Create variables for the unknow variables (a thing like this) and then the copy and past the Folder "Random Name Generator")
By PippoKiller.

v1.0 Uploaded
v1.1 made it MPI, Fixed the lowcases.
v1.2 It creates really better names, now.

Keywords:
random name race hero generator creator writer string
Contents

Random Name Generator (RNG v1.2) (Map)

Reviews
16:37, 21st Oct 2009 The_Reborn_Devil: Hehe, this could be useful for someone. The triggering looks nice and it's MPI now. Also, the lowercase problem has been fixed :) Status: Approved. Rating: Useful.

Moderator

M

Moderator

16:37, 21st Oct 2009
The_Reborn_Devil:

Hehe, this could be useful for someone. The triggering looks nice and it's MPI now. Also, the lowercase problem has been fixed :)
Status: Approved.
Rating: Useful.
 
Level 22
Joined
Nov 14, 2008
Messages
3,256
Sorry my friend but as I don't see the point with this system, yes it randomizes a name but for what use? Are you going to lauch a game just to find out a name to your hero and then close the game?

I think the documenation sucks badly as there aren't any ^^

Also I don't see why there are multiple triggers as this could be made in one single trigger, large thought.

Also you should make some kind of option/features as the name generated will auto be the name of the player or a float that goes with a unit til you want to change the name and it will be destroyed. Or RPGs that want their cities different named every game.

Those above were just examples and tips but for now I would rate 2,5-3/5 cause yes I don't see any use of this, sorry friend :(

your man

b
 
Sorry my friend but as I don't see the point with this system, yes it randomizes a name but for what use? Are you going to lauch a game just to find out a name to your hero and then close the game?

I think the documenation sucks badly as there aren't any ^^

Also I don't see why there are multiple triggers as this could be made in one single trigger, large thought.

Also you should make some kind of option/features as the name generated will auto be the name of the player or a float that goes with a unit til you want to change the name and it will be destroyed. Or RPGs that want their cities different named every game.

Those above were just examples and tips but for now I would rate 2,5-3/5 cause yes I don't see any use of this, sorry friend :(

your man

b

The point of the system is, that those guys (like me) wich really sucks at giving their characters/heroes a good and wc3-ish name, now can use this system and then when there pops a nice name up on the screen they can use if in their map if wanted. Thats a freaking awesome idea! .. and thats not only because he's my friend. Anyways, i think i will use this many times in the future. Thanks alot for this, pippo!
 
Level 13
Joined
Mar 6, 2008
Messages
525
Sorry my friend but as I don't see the point with this system, yes it randomizes a name but for what use? Are you going to lauch a game just to find out a name to your hero and then close the game?
Well, maybe you won't find any use for it, but some people will need this. And yes, it can be used in many ways, also to lauch a game just to find out a name to your hero and then close the game...
Those above were just examples and tips but for now I would rate 2,5-3/5 cause yes I don't see any use of this, sorry friend :(

3/5 is the vote that i gained with the approval, and this means usefull...You said "I can't find any use for it" but you rated 3/5. o_O

Anyway have fun or ignore that system...:thumbs_up:
 
Level 12
Joined
Jul 27, 2008
Messages
1,181
Nice system, inspired me to write my C++ cross-platform equivalent (kinda faster too :xxd:)
Here goes:

Code:
/************************************
 *  Random name Generator (R.N.G.)
 * Copyright Reaper [aka 'O_Mpixlas'](c) 2009
 * Modify this at will, but I expect some sort of
 * credit if you publish it anywhere...
 ************************************/
#include "stdafx.h"
#include <iostream>
#include <time.h>
#include <stdlib.h>
using namespace std;
const char namesUpper[] =    {
                            'A',
                            'B',
                            'C',
                            'D',
                            'E',
                            'F',
                            'G',
                            'H',
                            'I',
                            'J',
                            'K',
                            'L',
                            'M',
                            'N',
                            'O',
                            'P',
                            'Q',
                            'R',
                            'S',
                            'T',
                            'U',
                            'V',
                            'W',
                            'X',
                            'Y',
                            'Z'
                            };

const char namesLower[] =    {
                            'a',
                            'a',
                            'b',
                            'c',
                            'd',
                            'e',
                            'e',
                            'f',
                            'g',
                            'h',
                            'i',
                            'i',
                            'j',
                            'k',
                            'l',
                            'm',
                            'n',
                            'o',
                            'o',
                            'p',
                            'q',
                            'r',
                            's',
                            't',
                            'u',
                            'u',
                            'v',
                            'w',
                            'x',
                            'y',
                            'z'
                            };

inline int randomChar(bool uppercase)
{
    int random = rand() % 25 + 1;
    return (uppercase ? namesUpper[random] : namesLower[random]);
}

int main(void)
{
    char buffer[13] = {0};
    int loop = 0;
    int loopMax = 0;
    cout << "Press enter to iniialize..." << endl;
    cin.get();
    srand(time(0));
    do
    {
        loopMax = rand() % 3 + 4;
        buffer[0] = randomChar(true);
        for (loop = 1; loop <= loopMax; loop ++)
        {
            buffer[loop] = randomChar(false);
        }
        buffer[13] = '\0';
        cout << "Random Name:\t" << buffer << endl << endl;
        cin.clear();
    }
    while (cin.get());

    return 0;
}
EDIT: The lowercase 'a', 'e', 'i'... are added so that it picks them more often than the others (don't remember the english word :grin:)

To get a specific letter more, add it once more to the right array.
 

Attachments

  • RNG.zip
    9.9 KB · Views: 112
Level 13
Joined
Mar 6, 2008
Messages
525
Nice system, inspired me to write my C++ cross-platform equivalent (kinda faster too :xxd:)
Here goes:

Code:
/************************************
 *  Random name Generator (R.N.G.)
 * Copyright Reaper [aka 'O_Mpixlas'](c) 2009
 * Modify this at will, but I expect some sort of
 * credit if you publish it anywhere...
 ************************************/
#include "stdafx.h"
#include <iostream>
#include <time.h>
#include <stdlib.h>
using namespace std;
const char namesUpper[] =    {
                            'A',
                            'B',
                            'C',
                            'D',
                            'E',
                            'F',
                            'G',
                            'H',
                            'I',
                            'J',
                            'K',
                            'L',
                            'M',
                            'N',
                            'O',
                            'P',
                            'Q',
                            'R',
                            'S',
                            'T',
                            'U',
                            'V',
                            'W',
                            'X',
                            'Y',
                            'Z'
                            };

const char namesLower[] =    {
                            'a',
                            'a',
                            'b',
                            'c',
                            'd',
                            'e',
                            'e',
                            'f',
                            'g',
                            'h',
                            'i',
                            'i',
                            'j',
                            'k',
                            'l',
                            'm',
                            'n',
                            'o',
                            'o',
                            'p',
                            'q',
                            'r',
                            's',
                            't',
                            'u',
                            'u',
                            'v',
                            'w',
                            'x',
                            'y',
                            'z'
                            };

inline int randomChar(bool uppercase)
{
    int random = rand() % 25 + 1;
    return (uppercase ? namesUpper[random] : namesLower[random]);
}

int main(void)
{
    char buffer[13] = {0};
    int loop = 0;
    int loopMax = 0;
    cout << "Press enter to iniialize..." << endl;
    cin.get();
    srand(time(0));
    do
    {
        loopMax = rand() % 3 + 4;
        buffer[0] = randomChar(true);
        for (loop = 1; loop <= loopMax; loop ++)
        {
            buffer[loop] = randomChar(false);
        }
        buffer[13] = '\0';
        cout << "Random Name:\t" << buffer << endl << endl;
        cin.clear();
    }
    while (cin.get());

    return 0;
}
EDIT: The lowercase 'a', 'e', 'i'... are added so that it picks them more often than the others (don't remember the english word :grin:)

To get a specific letter more, add it once more to the right array.
Doesn't work to me :p
 
Top