A few years ago I worked on a name generator in Java, basically for the fun of it, partially because it could be used in Minecraft, and mostly to just use in an IRC channel. Then I decided to port it to RPG Maker VX Ace, and now I'm working on a port for JavaScript. Essentially this is built for RPG Maker MV, but I've constructed it in such a way that it can also be used outside RPG Maker MV. Â The way it works is simple. It takes...
A few years ago I worked on a name generator in Java, basically for the fun of it, partially because it could be used in Minecraft, and mostly to just use in an IRC channel. Then I decided to port it to RPG Maker VX Ace, and now I'm working on a port for JavaScript. Essentially this is built for RPG Maker MV, but I've constructed it in such a way that it can also be used outside RPG Maker MV.
Â
The way it works is simple. It takes a library of names and analyzes each name, taking parts of it, storing all parts in a library. It then takes the next part, stores it in the library and links it to the previous part. It's kind of like a Markov Chain, except the implementation is different.
Â
To demonstrate, I have an example right here:
Â
TriNameGen: Heroes
Â
These are all generated names, and it takes the names from several text files:
Â
marvel_hero_male.txt
marvel_hero_female.txt
dc_hero_male.txt
dc_hero_female.txt
misc_hero_male.txt
misc_hero_female.txt
Anyway, that's how it works in the Java version. Right now, I'm working on getting it to work in JavaScript, which isn't easy, considering I can't really test it on big cases due to the requirement of AJAX calls. I could force people to use JSON for this but I won't, because even that isn't an optimal solution.
Plus, I already got the basis done.
Download plugin
What needs to be done:
- File loading, possibly defining different categories in a separate JSON file
- Proper commenting, possibly also for JSDoc
- Integration into the name generator
- Easy hooks for the events interpreter
- Function to export the libraries to JSON
Plugin is CC0, so even if it's not completely done, you can freely use and modify it.