[MV] Randomized Character Names

0 Members and 1 Guest are viewing this topic.

*
The Hero of Rhyme
Rep:
Level 82
( ͡° ͜ʖ ͡°)
2014 Best RPG Maker User - StoryProject of the Year 20142014 Queen of RMRK2011 Best Newbie2014 Best RPG Maker User - Creativity2014 Kindest Member2013 Queen of RMRKBronze SS AuthorBronze Writing ReviewerSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.GOOD!For frequently finding and reporting spam and spam bots2012 Best Yuyubabe Smiley2012 Best RPG Maker User (Creativity);o
Description
This little event / code snippet can randomize names for NPCs or even main characters (if you're feeling bold). The random names are constructed in two parts: a beginning and ending, selected from a large pool of name pieces. The ending parts will differ by the character's gender, as well. All of the pieces are constructed from european-ish names, so they should usually sound like believable fantasy names. The length of the names will range from about 3-9 letters.

Examples
Male name examples:
-Garil
-Wariam
-Elaiden

Female name examples:
-Nevitha
-Sophorna
-Rilidia

Usage
This snippet is super easy to use and customize. First, copy the following code into an event's "script call".

Code: [Select]
var id = 10, male = true, x, mid;

var start = ["Ab","Ad","Am","An","Arg","Art","Ast","And","Alg","Ald","Alb","Aik","Alt","Alv","Amb","Ang","Ans","Anth","Arch","Arl","Aust","At","Av","Ax","Ash","Ail","Am","An","Ar","Al","Az","Bal","Bar","Bey","Ben","Ber","Bev","Bl","Bor","Bow","Br","Bur","Cad","Cal","Car","Cas","Ced","Ch","Cly","Col","Con","Cr","Cul","Cuth","Cyr","Chr","Dal","Dam","Dar","Del","Den","Der","Dex","Dil","Dir","Dom","Don","Dor","Dun","Dw","Dy","Eb","Ed","Eg","El","Ell","Em","Er","Es","Ess","Eth","Ev","Ez","Esp","Far","Fen","Fer","Fin","Fl","Fos","For","Gab","Gal","Gar","Ger","Gid","Gif","Gil","Gl","God","Had","Hal","Har","Hec","Hen","Hel","Her","How","Ir","Is","Iv","Jac","Jar","Jas","Jef","Jon","Jos","Jus","Kan","Kal","Kel","Ken","Ker","Kev","Kil","Kim","Kin","Kir","Kit","Kon","Ky","Lam","Lan","Lar","Ler","Les","Leth","Lin","Lom","Low","Lyn","Man","Mad","Mag","Mal","Mel","Mar","Mat","Med","Mer","Mil","Mon","Mor","Nat","Nev","Nik","Nor","Ol","Os","Ot","Ow","Orw","Per","Pet","Ph","Quin","Rath","Ral","Ram","Ren","Rik","Ril","Rol","Ron","Ruf","Rus","Ry","Sam","Seph","Soph","Sc","Seb","Sh","Sig","Sin","Sim","St","Thom","Tr","Un","Ur","Van","Vic","Vin","Wal","War","Wes","Wil","Will","Win","Wy","Zan","Zeb","Zeph","B","C","D","F","G","H","K","L","M","N","My","R","S","T","V","Z"];
var endM = ["on","el","er","am","ian","ien","en","an","en","is","ern","ert","ion","ich","ed","ew","us","il","in","ard","ent","ick","an","ad","ord","ive","or","oy","id","ar","ot","ond","ic","ald","ard","ias","est","uel","ix","oyd","ier","eon","es","ant","all","ey","old","ac","im","olm","ael","iel","inn","oss","iam","att","ard","ith","opher","ius","eph","etho","afiel","ist","ent","ich","ik","ich","ican","aron","eck","ionus","estion","aston","astion","eon","orth","ork","orick","orkus","arkus","ethan","ethon","arion","eron","erin","orin","ober","arch","arky","oph","ott","elot","evan","even","odd","ain","aun","aiden","ayden","adin","ahn","edge","avin","aeus","uther","erg","aren","aron","aden","urn","orn","erew","exus","onso","erson","elm","arth","avel","eson","iro","imir","az","int","over","olin","ort","elius","ullen","oril","ano","arus","icus","ion","ayan","iver","acai","ogan","ewick","ibur","erth","ioth","esso","iddus","iott","ul","ol","oth"];
var endF = ["elle","ie","aye","ery","ia","ea","ah","anne","ette","ess","ey","alle","ire","iss","eth","ess","ey","elyn","ale","etta","ua","ell","ice","ille","eal","ett","iah","ary","ara","era","ery","anna","ia","ity","air","any","ella","aire","ail","antha","ittie","eth","ith","ona","una","unia","adia","ail","aille","ise","itha","ithe","assa","asha","aven","utha","atha","acha","issa","essa","issy","aley","alie","ula","alla","ista","esta","orna","erna","ora","ara","atta","atte","iphy","effy","achel","ika","isha","icka","ica","illa","alyn","alin","elyn","ulga","amma","onna","una","ise","icia","ephy","uva","ida","idia","elia","elly","awn","ellie","elsa","annia","evere","eve","iddy","ammy","emy","enna","asia","esia","ossia","oline","alynn","ei","etha","inia","anya","ayne","ania","adya","eri","eris","ipha","utha","orey","oire","eca","ayle","acia","ada","aria","esley","aina","alea","ina","eda","ine","ivia","ena","isia","abel","anda","ilia","ela","ita","iyah","elica","abeth","arie","onia","iana","ianne","ene","alen","ura","ilee","ellia","ianna","itia"];
x= start[Math.floor(Math.random()*start.length)];
if(male==true) { x+= endM[Math.floor(Math.random()*endM.length)]; }
if(male==false) { x+= endF[Math.floor(Math.random()*endF.length)]; }
$gameVariables.setValue(id, x);

ONLY change the first two values on the first line, "id" and "male". Set "id" to equal the variable you want to store the name in. "Male" should equal "true" for a male name and "false" for a female name.

After you have used this snippet to randomize a character's name, you display the name via the variable text code. Simply type \v[10], replacing "10" with your chosen variable number.

Screenshot
Spoiler for:


« Last Edit: July 04, 2016, 03:08:02 AM by yuyu! »
Spoiler for My Games and Art:
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]


*
死んだばか (Shinda baka)
Rep:
Level 95
誰も
GIAW 14: 2nd Place (Hard Mode)2013 Biggest Drama Whore2013 Zero to HeroParticipant - GIAW 11Secret Santa 2013 ParticipantFor taking arms in the name of your breakfast.
["Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You"]
["Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You"]
["Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You"]
{Thank you for sharing}

*
The Hero of Rhyme
Rep:
Level 82
( ͡° ͜ʖ ͡°)
2014 Best RPG Maker User - StoryProject of the Year 20142014 Queen of RMRK2011 Best Newbie2014 Best RPG Maker User - Creativity2014 Kindest Member2013 Queen of RMRKBronze SS AuthorBronze Writing ReviewerSecret Santa 2013 ParticipantFor taking arms in the name of your breakfast.GOOD!For frequently finding and reporting spam and spam bots2012 Best Yuyubabe Smiley2012 Best RPG Maker User (Creativity);o
["Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You"]
["Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You"]
["Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You","Thank","You"]
{Thank you for thanking me}
Spoiler for My Games and Art:
ℒℴѵℯ❤


My Artwork Thread

The Lhuvia Tales [Current]

Ambassador [Complete]

The Postman [Complete]

The Wyvern [Complete]

Phoenix Wright: Haunted Turnabout [Complete]

Major Arcana [Cancelled]