设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 2592|回复: 12
打印 上一主题 下一主题

[已经解决] 请问有没有随机角色姓名的脚本XP的,感谢各位大神了

[复制链接]

Lv3.寻梦者

梦石
0
星屑
1085
在线时间
326 小时
注册时间
2012-8-18
帖子
27
跳转到指定楼层
1
发表于 2019-10-28 11:37:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
急需角色随机姓名的脚本

Lv3.寻梦者

梦石
0
星屑
3117
在线时间
205 小时
注册时间
2019-9-16
帖子
224
2
发表于 2019-10-28 16:37:51 | 只看该作者
$game_variables[12003]=9时,是给男的起名,否则就是给女的起名。如果你打算把变量控制在9999以内,就把那些变量ID自己换了吧

  1. def sjxm()  #随机姓名
  2. random_name =["沈","秦","云","苏","方","唐","于","蓝","颜","高","凌","莫","程","裴","沐","纪","薛","霍","阮","萧","韩","赵","钱","孙","李","周","吴","郑","王","冯","陈","褚","卫","蒋","杨","朱","尤","许","何","吕","施","张","孔","曹","严","华","金","魏","陶","姜","欧阳","百里","纳兰","太史","端木","上官","司马","东方","独孤","南宫","闻人","夏侯","诸葛","赫连","澹台","皇甫"]
  3. random_name2 =["梦琪","忆柳","之桃","慕青","问兰","尔岚","元香","初夏","沛菡","傲珊","曼文","乐菱","痴珊","恨玉","惜文","香寒","新柔","语蓉","海安","夜蓉","涵柏","水桃","醉蓝","春儿","语琴","从彤","傲晴","语兰","又菱","碧彤","元霜","怜梦","紫寒","妙彤","曼易","南莲","紫翠","雨寒","易烟","如萱","若南","寻真","晓亦","向珊","慕灵","以蕊","寻雁","映易","雪柳","孤岚","笑霜","海云","凝天","沛珊","寒云","冰旋","宛儿","绿真","盼儿","晓霜","碧凡","夏菡","曼香","若烟","半梦","雅绿","冰蓝","灵槐","平安","书翠","翠风","香巧","代云","梦曼","幼翠","友巧","听寒","梦柏","醉易","访旋","亦玉","凌萱","访卉","怀亦","笑蓝","春翠","靖柏","夜蕾","冰夏","梦松","书雪","乐枫","念薇","靖雁","寻春","恨山","从寒","忆香","觅波","静曼","凡旋","以亦","念露","芷蕾","千兰","新波","代真","新蕾","雁玉","冷卉","紫山","千琴","恨天","傲芙","盼山","怀蝶","冰兰","山柏","翠萱","恨松","问旋","从南","白易","问筠","如霜","半芹","丹珍","冰彤","亦寒","寒雁","怜云","寻文","乐丹","翠柔","谷山","之瑶","冰露","尔珍","谷雪","乐萱","涵菡","海莲","傲蕾","青槐","冬儿","易梦","惜雪","宛海","之柔","夏青","亦瑶","妙菡","春竹","痴梦","紫蓝","晓巧","幻柏","元风","冰枫","访蕊","南春","芷蕊","凡蕾","凡柔","安蕾","天荷","含玉","书兰","雅琴","书瑶","春雁","从安","夏槐","念芹","怀萍","代曼","幻珊","谷丝","秋翠","白晴","海露","代荷","含玉","书蕾","听白","访琴","灵雁","秋春","雪青","乐瑶","含烟","涵双","平蝶","雅蕊","傲之","灵薇","绿春","含蕾","从梦","从蓉","初丹","听兰","听蓉","语芙","夏彤","凌瑶","忆翠","幻灵","怜菡","紫南","依珊","妙竹","访烟","怜蕾","映寒","友绿","冰萍","惜霜","凌香","芷蕾","雁卉","迎梦","元柏","代萱","紫真","千青","凌寒","紫安","寒安","怀蕊","秋荷","涵雁","以山","凡梅","盼曼","翠彤","谷冬","新巧","冷安","千萍","冰烟","雅阳","友绿","南松","诗云","飞风","寄灵","书芹","幼蓉","以蓝","笑寒","忆寒","秋烟","芷巧","水香","映之","醉波","幻莲","夜山","芷卉","向彤","小玉","幼南","凡梦","尔曼","念波","迎松","青寒","笑天","涵蕾","碧菡","映秋","盼烟","忆山","以寒","寒香","小凡","代亦","梦露","映波","友蕊","寄凡","怜蕾","雁枫","水绿","曼荷","笑珊","寒珊","谷南","慕儿","夏岚","友儿","小萱","紫青","妙菱","冬寒","曼柔","语蝶","青筠","夜安","觅海","问安","晓槐","雅山","访云","翠容","寒凡","晓绿","以菱","冬云","含玉","访枫","含卉","夜白","冷安","灵竹","醉薇","元珊","幻波","盼夏","元瑶","迎曼","水云","访琴","谷波","乐之","笑白","之山","妙海","紫霜","平夏","凌旋","孤丝","怜寒","向萍","凡松","青丝","翠安","如天","凌雪","绮菱","代云","南莲","寻南","春文","香薇","冬灵","凌珍","采绿","天春","沛文","紫槐","幻柏","采文","春梅","雪旋","盼海","映梦","安雁","映容","凝阳","访风","天亦","平绿","盼香","觅风","小霜","雪萍","半雪","山柳","谷雪","靖易","白薇","梦菡","飞绿","如波","又晴","友易","香菱","冬亦","问雁","妙春","海冬","半安","平春","幼柏","秋灵","凝芙","念烟","白山","从灵","尔芙","迎蓉","念寒","翠绿","翠芙","靖儿","妙柏","千凝","小珍","天巧","妙旋","雪枫","夏菡","元绿","痴灵","绮琴","雨双","听枫","觅荷","凡之","晓凡","雅彤","香薇","孤风","从安","绮彤","之玉","雨珍","幻丝","代梅","香波","青亦","元菱","海瑶","飞槐","听露","梦岚","幻竹","新冬","盼翠","谷云","忆霜","水瑶","慕晴","秋双","雨真","觅珍","丹雪","从阳","元枫","痴香","思天","如松","妙晴","谷秋","妙松","晓夏","香柏","巧绿","宛筠","碧琴","盼兰","小夏","安容","青曼","千儿","香春","寻双","涵瑶","冷梅","秋柔","思菱","醉波","醉柳","以寒","迎夏","向雪","香莲","以丹","依凝","如柏","雁菱","凝竹","宛白","初柔","南蕾","书萱","梦槐","香芹","南琴","绿海","沛儿","晓瑶","听春","凝蝶","紫雪","念双","念真","曼寒","凡霜","飞雪","雪兰","雅霜","从蓉","冷雪","靖巧","翠丝","觅翠","凡白","乐蓉","迎波","丹烟","梦旋","书双","念桃","夜天","海桃","青香","恨风","安筠","觅柔","初南","秋蝶","千易","安露","诗蕊","山雁","友菱","香露","晓兰","白卉","语山","冷珍","秋翠","夏柳","如之","忆南","书易","翠桃","寄瑶","如曼","问柳","香梅","幻桃","又菡","春绿","醉蝶","亦绿","诗珊","听芹","新之","易巧","念云","晓灵","静枫","夏蓉","如南","幼丝","秋白","冰安","秋白","南风","醉山","初彤","凝海","紫文","凌晴","香卉","雅琴","傲安","傲之","初蝶","寻桃","代芹","诗霜","春柏","绿夏","碧灵","诗柳","夏柳","采白","慕梅","乐安","冬菱","紫安","宛凝","雨雪","易真","安荷","静竹","代柔","丹秋","绮梅","依白","凝荷","幼珊","忆彤","凌青","之桃","芷荷","听荷","代玉","念珍","梦菲","夜春","千秋","白秋","谷菱","飞松","初瑶","惜灵","恨瑶","梦易","新瑶","曼梅","碧曼","友瑶","雨兰","夜柳","香蝶","盼巧","芷珍","香卉","含芙","夜云","依萱","凝雁","以莲","易容","元柳","安南","幼晴","尔琴","飞阳","白凡","沛萍","雪瑶","向卉","采文","乐珍","寒荷","觅双","白桃","安卉","迎曼","盼雁","乐松","涵山","恨寒","问枫","以柳","含海","秋春","翠曼","忆梅","涵柳","梦香","海蓝","晓曼","代珊","春冬","恨荷","忆丹","静芙","绮兰","梦安","紫丝","千雁","凝珍","香萱","梦容","冷雁","飞柏","天真","翠琴","寄真","秋荷","代珊","初雪","雅柏","怜容","如风","南露","紫易","冰凡","海雪","语蓉","碧玉","翠岚","语风","盼丹","痴旋","凝梦","从雪","白枫","傲云","白梅","念露","慕凝","雅柔","盼柳","半青","从霜","怀柔","怜晴","夜蓉","代双","以南","若菱","芷文","寄春","南晴","恨之","梦寒","初翠","灵波","巧春","问夏","凌春","惜海","亦旋","沛芹","幼萱","白凝","初露","迎海","绮玉","凌香","寻芹","秋柳","尔白","映真","含雁","寒松","友珊","寻雪","忆柏","秋柏","巧风","恨蝶","青烟","问蕊","灵阳","春枫","又儿","雪巧","丹萱","凡双","孤萍","紫菱","寻凝","傲柏","傲儿","友容","灵枫","尔丝","曼凝","若蕊","问丝","思枫","水卉","问梅","念寒","诗双","翠霜","夜香","寒蕾","凡阳","冷玉","平彤","语薇","幻珊","紫夏","凌波","芷蝶","丹南","之双","凡波","思雁","白莲","从菡","如容","采柳","沛岚","惜儿","夜玉","水儿","半凡","语海","听莲","幻枫","念柏","冰珍","思山","凝蕊","天玉","问香","思萱","向梦","笑南","夏旋","之槐","元灵","以彤","采萱","巧曼","绿兰","平蓝","问萍","绿蓉","靖柏","迎蕾","碧曼","思卉","白柏","妙菡","怜阳","雨柏","雁菡","梦之","又莲","乐荷","寒天","凝琴","书南","映天","白梦","初瑶","恨竹","平露","含巧","慕蕊","半莲","醉卉","天菱","青雪","雅旋","巧荷","飞丹","恨云","若灵","尔云","幻天","诗兰","青梦","海菡","灵槐","忆秋","寒凝","凝芙","绮山","静白","尔蓉","尔冬","映萱","白筠","冰双","访彤","绿柏","夏云","笑翠","晓灵","含双","盼波","以云","怜翠","雁风","之卉","平松","问儿","绿柳","如蓉","曼容","天晴","丹琴","惜天","寻琴","痴春","依瑶","涵易","忆灵","从波","依柔","问兰","山晴","怜珊","之云","飞双","傲白","沛春","雨南","梦之","笑阳","代容","友琴","雁梅","友桃","从露","语柔","傲玉","觅夏","晓蓝","新晴","雨莲","凝旋","绿旋","幻香","觅双","冷亦","忆雪","友卉","幻翠","靖柔","寻菱","丹翠","安阳","雅寒","惜筠","尔安","雁易","飞瑶","夏兰","沛蓝","静丹","山芙","笑晴","新烟","笑旋","雁兰","凌翠","秋莲","书桃","傲松","语儿","映菡","初曼","听云","孤松","初夏","雅香","语雪","初珍","白安","冰薇","诗槐","冷玉","冰巧","之槐","香柳","问春","夏寒","半香","诗筠","新梅","白曼","安波","从阳","含桃","曼卉","笑萍","碧巧","晓露","寻菡","沛白","平灵","水彤","安彤","涵易","乐巧","依风","紫南","亦丝","易蓉","紫萍","惜萱","诗蕾","寻绿","诗双","寻云","孤丹","谷蓝","惜香","谷枫","山灵","幻丝","友梅","从云","雁丝","盼旋","幼旋","尔蓝","沛山","代丝","痴梅","觅松","冰香","依玉","冰之","妙梦","以冬","碧春","曼青","冷菱","雪曼","安白","香桃","安春","千亦","凌蝶","又夏","南烟","靖易","沛凝","翠梅","书文","雪卉","乐儿","傲丝","安青","初蝶","寄灵","惜寒","雨竹","冬莲","绮南","翠柏","平凡","亦玉","孤兰","秋珊","新筠","半芹","夏瑶","念文","晓丝","涵蕾","雁凡","谷兰","灵凡","凝云","曼云","丹彤","南霜","夜梦","从筠","雁芙","语蝶","依波","晓旋","念之","盼芙","曼安","采珊","盼夏","初柳","迎天","曼安","南珍","妙芙","语柳","含莲","晓筠","夏山","尔容","采春","念梦","傲南","问薇","雨灵","凝安","冰海","初珍","宛菡","冬卉","盼晴","冷荷","寄翠","幻梅","如凡","语梦","易梦","千柔","向露","梦玉","傲霜","依霜","灵松","诗桃","书蝶","恨真","冰蝶","山槐","以晴","友易","梦桃","香菱","孤云","水蓉","雅容","飞烟","雁荷","代芙","醉易","夏烟","山梅","若南","恨桃","依秋","依波","香巧","紫萱","涵易","忆之","幻巧","水风","安寒","白亦","惜玉","碧春","怜雪","听南","念蕾","梦竹","千凡","寄琴","采波","元冬","思菱","平卉","笑柳","雪卉","南蓉","谷梦","巧兰","绿蝶","飞荷","平安","孤晴","芷荷","曼冬","寻巧","寄波","尔槐","以旋","绿蕊","初夏","依丝","怜南","千山","雨安","水风","寄柔","念巧","幼枫","凡桃","新儿","春翠","夏波","雨琴","静槐","元槐","映阳","飞薇","小凝","映寒","傲菡","谷蕊","笑槐","飞兰","笑卉","迎荷","元冬","书竹","半烟","绮波","小之","觅露","夜雪","春柔","寒梦","尔风","白梅","雨旋"]
  4. random_name3 = ["伟","刚","勇","毅","俊","峰","强","军","平","保","东","文","辉","力","明","永","健","世","广","志","义","兴","良","海","山","仁","波","宁","贵","福","生","龙","元","全","国","胜","学","祥","才","发","武","新","利","清","飞","彬","富","顺","信","子","杰","涛","昌","成","康","星","光","天","达","安","岩","中","茂","进","林","有","坚","和","彪","博","诚","先","敬","震","振","壮","会","思","群","豪","心","邦","承","乐","绍","功","松","善","厚","庆","磊","民","友","裕","河","哲","江","超","浩","亮","政","谦","亨","奇","固","之","轮","翰","朗","伯","宏","言","若","鸣","朋","斌","梁","栋","维","启","克","伦","翔","旭","鹏","泽","晨","辰","士","以","建","家","致","树","炎","德","行","时","泰","盛","雄","琛","钧","安邦","安福","安歌","安国","安和","安康","安澜","安民","安宁","安平","安然","安顺","蔼民","安吉","安晏","安良","安澜","安和","安平","安康","安国","昂熙","昂然","昂杰","昂雄","昂毅","昂轩","昂雄","岸驰","岸谷","岸驭","昂雄","傲驰","傲骁","澳骐","澳骏","安翔","安晏","安宜","安怡","安易","安志","昂然","昂雄","宾白","宾鸿","宾实","彬彬","彬炳","彬郁","斌斌","斌蔚","滨海","波光","波鸿","波峻","波涛","博瀚","博超","博达","博厚","博简","博明","博容","博赡","博涉","博实","博涛","秉林","秉蘅","秉荃","秉绶","秉东","秉中","秉坤","秉衡","秉义","秉治","秉恩","秉政","秉钺","博超","博明","博容","博雅","博延","博军","博乙","博平","博宜","博勉","博裕","博跃","博耘","保华","保民","保暨","保鸿","保宁","保平","弼烁","弼实","弼烨","弼儒","炳旺","炳潮","炳玮","帮磊","帮钊","本然","本藤","彬彬","柏朗","柏谷","柏莨","栢毅","博文","博学","博雅","博延","博艺","博易","博裕","博远","才捷","才良","才艺","才英","才哲","才俊","成和","成弘","成化","成济","成礼","成龙","成仁","成双","成天","成文","成业","成益","成荫","成周","承安","承弼","承德","承恩","承福","承基","承教","承平","承嗣","承天","承望","承宣","承颜","承业","承悦","承允","承运","承载","承泽","承志","德本","德海","德厚","德华","德辉","德惠","德容","德润","德寿","德水","德馨","德曜","德业","德义","德庸","德佑","德宇","德元","德运","德泽","德明","飞昂","飞白","飞飙","飞掣","飞尘","飞沉","飞驰","飞光","飞翰","飞航","飞翮","飞鸿","飞虎","飞捷","飞龙","飞鸾","飞鸣","飞鹏","飞扬","飞文","飞翔","飞星","飞翼","飞英","飞宇","飞羽","飞雨","飞语","飞跃","飞章","飞舟","风华","丰茂","丰羽","刚豪","刚洁","刚捷","刚毅","高昂","高岑","高畅","高超","高驰","高达","高澹","高飞","高芬","高峯","高峰","高歌","高格","高寒","高翰","高杰","高洁","高峻","高朗","高丽","高邈","高旻","高明","高爽","高兴","高轩","高雅","高扬","高阳","高义","高谊","高逸","高懿","高原","高远","高韵","高卓","光赫","光华","光辉","光济","光霁","光亮","光临","光明","光启","光熙","光耀","光誉","光远","国安","国兴","国源","冠宇","冠玉","晗昱","晗日","涵畅","涵涤","涵亮","涵忍","涵容","涵润","涵涵","涵煦","涵蓄","涵衍","涵意","涵映","涵育","翰采","翰池","翰飞","翰海","翰翮","翰林","翰墨","翰学","翰音","瀚玥","翰藻","瀚海","瀚漠","昊苍","昊昊","昊空","昊乾","昊穹","昊然","昊然","昊天","昊焱","昊英","浩波","浩博","浩初","浩大","浩宕","浩荡","浩歌","浩广","浩涆","浩瀚","浩浩","浩慨","浩旷","浩阔","浩漫","浩淼","浩渺","浩邈","浩气","浩然","浩穰","浩壤","浩思","浩言","皓轩","和蔼","和安","和璧","和昶","和畅","和风","和歌","和光","和平","和洽","和惬","和顺","和硕","和颂","和泰","和悌","和通","和同","和煦","和雅","和宜","和怡","和玉","和裕","和豫","和悦","和韵","和泽","和正","和志","鹤轩","弘博","弘大","弘方","弘光","弘和","弘厚","弘化","弘济","弘阔","弘亮","弘量","弘深","弘盛","弘图","弘伟","弘文","弘新","弘雅","弘扬","弘业","弘义","弘益","弘毅","弘懿","弘致","弘壮","宏伯","宏博","宏才","宏畅","宏达","宏大","宏放","宏富","宏峻","宏浚","宏恺","宏旷","宏阔","宏朗","宏茂","宏邈","宏儒","宏深","宏胜","宏盛","宏爽","宏硕","宏伟","宏扬","宏义","宏逸","宏毅","宏远","宏壮","鸿宝","鸿波","鸿博","鸿才","鸿彩","鸿畅","鸿畴","鸿达","鸿德","鸿飞","鸿风","鸿福","鸿光","鸿晖","鸿朗","鸿文","鸿熙","鸿羲","鸿禧","鸿信","鸿轩","鸿煊","鸿煊","鸿雪","鸿羽","鸿远","鸿云","鸿运","鸿哲","鸿祯","鸿振","鸿志","鸿卓","华奥","华采","华彩","华灿","华藏","华池","华翰","华皓","华晖","华辉","华茂","华美","华清","华荣","华容","嘉赐","嘉德","嘉福","嘉良","嘉茂","嘉木","嘉慕","嘉纳","嘉年","嘉平","嘉庆","嘉荣","嘉容","嘉瑞","嘉胜","嘉石","嘉实","嘉树","嘉澍","嘉熙","嘉禧","嘉祥","嘉歆","嘉许","嘉勋","嘉言","嘉谊","嘉懿","嘉颖","嘉佑","嘉玉","嘉誉","嘉悦","嘉运","嘉泽","嘉珍","嘉祯","嘉志","嘉致","坚白","坚壁","坚秉","坚成","坚诚","建安","建白","建柏","建本","建弼","建德","建华","建明","建茗","建木","建树","建同","建修","建业","建义","建元","建章","建中","健柏","金鑫","锦程","瑾瑜","晋鹏","经赋","经亘","经国","经略","经纶","经纬","经武","经业","经义","经艺","景澄","景福","景焕","景辉","景辉","景龙","景明","景山","景胜","景铄","景天","景同","景曜","靖琪","君昊","君浩","俊艾","俊拔","俊弼","俊才","俊材","俊驰","俊楚","俊达","俊德","俊发","俊风","俊豪","俊健","俊杰","俊捷","俊郎","俊力","俊良","俊迈","俊茂","俊美","俊民","俊名","俊明","俊楠","俊能","俊人","俊爽","俊悟","俊晤","俊侠","俊贤","俊雄","俊雅","俊彦","俊逸","俊英","俊友","俊语","俊誉","俊远","俊哲","俊喆","俊智","峻熙","季萌","季同","开畅","开诚","开宇","开济","开霁","开朗","凯安","凯唱","凯定","凯风","凯复","凯歌","凯捷","凯凯","凯康","凯乐","凯旋","凯泽","恺歌","恺乐","康安","康伯","康成","康德","康复","康健","康乐","康宁","康平","康胜","康盛","康时","康适","康顺","康泰","康裕","乐安","乐邦","乐成","乐池","乐和","乐家","乐康","乐人","乐容","乐山","乐生","乐圣","乐水","乐天","乐童","乐贤","乐心","乐欣","乐逸","乐意","乐音","乐咏","乐游","乐语","乐悦","乐湛","乐章","乐正","乐志","黎昕","黎明","力夫","力强","力勤","力行","力学","力言","立诚","立果","立人","立辉","立轩","立群","良奥","良弼","良才","良材","良策","良畴","良工","良翰","良吉","良骥","良俊","良骏","良朋","良平","良哲","理群","理全","茂才","茂材","茂德","茂典","茂实","茂学","茂勋","茂彦","敏博","敏才","敏达","敏叡","敏学","敏智","明诚","明达","明德","明辉","明杰","明俊","明朗","明亮","明旭","明煦","明轩","明远","明哲","明喆","明知","明志","明智","明珠","朋兴","朋义","彭勃","彭薄","彭湃","彭彭","彭魄","彭越","彭泽","彭祖","鹏程","鹏池","鹏飞","鹏赋","鹏海","鹏鲸","鹏举","鹏鹍","鹏鲲","鹏涛","鹏天","鹏翼","鹏云","鹏运","濮存","溥心","璞玉","璞瑜","浦和","浦泽","奇略","奇迈","奇胜","奇水","奇思","奇邃","奇伟","奇玮","奇文","奇希","奇逸","奇正","奇志","奇致","祺福","祺然","祺祥","祺瑞","琪睿","庆生","荣轩","锐达","锐锋","锐翰","锐进","锐精","锐立","锐利","锐思","锐逸","锐意","锐藻","锐泽","锐阵","锐志","锐智","睿博","睿才","睿诚","睿慈","睿聪","睿达","睿德","睿范","睿广","睿好","睿明","睿识","睿思","绍辉","绍钧","绍祺","绍元","升荣","圣杰","晟睿","思聪","思淼","思源","思远","思博","斯年","斯伯","泰初","泰和","泰河","泰鸿","泰华","泰宁","泰平","泰清","泰然","天材","天成","天赋","天干","天罡","天工","天翰","天和","天华","天骄","天空","天禄","天路","天瑞","天睿","天逸","天佑","天宇","天元","天韵","天泽","天纵","同方","同甫","同光","同和","同化","同济","巍昂","巍然","巍奕","伟博","伟毅","伟才","伟诚","伟茂","伟懋","伟祺","伟彦","伟晔","伟泽","伟兆","伟志","温纶","温茂","温书","温韦","温文","温瑜","文柏","文昌","文成","文德","文栋","文赋","文光","文翰","文虹","文华","文康","文乐","文林","文敏","文瑞","文山","文石","文星","文轩","文宣","文彦","文曜","文耀","文斌","文彬","文滨","向晨","向笛","向文","向明","向荣","向阳","翔宇","翔飞","项禹","项明","晓博","心水","心思","心远","欣德","欣嘉","欣可","欣然","欣荣","欣怡","欣怿","欣悦","新翰","新霁","新觉","新立","新荣","新知","信鸿","信厚","信鸥","信然","信瑞","兴安","兴邦","兴昌","兴朝","兴德","兴发","兴国","兴怀","兴平","兴庆","兴生","兴思","兴腾","兴旺","兴为","兴文","兴贤","兴修","兴学","兴言","兴业","兴运","星波","星辰","星驰","星光","星海","星汉","星河","星华","星晖","星火","星剑","星津","星阑","星纬","星文","星宇","星雨","星渊","星洲","修诚","修德","修杰","修洁","修谨","修筠","修明","修能","修平","修齐","修然","修为","修伟","修文","修雅","修永","修远","修真","修竹","修贤","旭尧","炫明","学博","学海","学林","学民","学名","学文","学义","学真","雪松","雪峰","雪风","雅昶","雅畅","雅达","雅惠","雅健","雅珺","雅逸","雅懿","雅志","炎彬","阳飙","阳飇","阳冰","阳波","阳伯","阳成","阳德","阳华","阳晖","阳辉","阳嘉","阳平","阳秋","阳荣","阳舒","阳朔","阳文","阳曦","阳夏","阳旭","阳煦","阳炎","阳焱","阳曜","阳羽","阳云","阳泽","阳州","烨赫","烨华","烨磊","烨霖","烨然","烨烁","烨伟","烨烨","烨熠","烨煜","毅然","逸仙","逸明","逸春","宜春","宜民","宜年","宜然","宜人","宜修","意远","意蕴","意致","意智","熠彤","懿轩","英飙","英博","英才","英达","英发","英范","英光","英豪","英华","英杰","英朗","英锐","英睿","英叡","英韶","英卫","英武","英悟","英勋","英彦","英耀","英奕","英逸","英毅","英哲","英喆","英卓","英资","英纵","永怡","永春","永安","永昌","永长","永丰","永福","永嘉","永康","永年","永宁","永寿","永思","永望","永新","永言","永逸","永元","永贞","咏德","咏歌","咏思","咏志","勇男","勇军","勇捷","勇锐","勇毅","宇达","宇航","宇寰","宇文","宇荫","雨伯","雨华","雨石","雨信","雨星","雨泽","玉宸","玉成","玉龙","玉泉","玉山","玉石","玉书","玉树","玉堂","玉轩","玉宇","玉韵","玉泽","煜祺","元白","元德","元化","元基","元亮","元龙","元明","元青","元思","元纬","元武","元勋","元正","元忠","元洲","远航","苑博","苑杰","越彬","蕴涵","蕴和","蕴藉","展鹏","哲瀚","哲茂","哲圣","哲彦","振海","振国","正诚","正初","正德","正浩","正豪","正平","正奇","正青","正卿","正文","正祥","正信","正雅","正阳","正业","正谊","正真","正志","志诚","志新","志勇","志明","志国","志强","志尚","志专","志文","志行","志学","志业","志义","志用","志泽","致远","智明","智鑫","智勇","智敏","智志","智渊","子安","子晋","子民","子明","子默","子墨","子平","子琪","子石","子实","子真","子濯","子昂","子轩","子瑜","自明","自强","作人","自怡","自珍","曾琪","泽宇","泽语"]
  5.   if $game_variables[12003]==9     #给男的起名
  6.   $game_variables[12004]=rand(66)
  7.   $game_variables[12004]=random_name[$game_variables[12004]]
  8.   $game_variables[12005]=rand(1408)
  9.   $game_variables[12005]=random_name3[$game_variables[12005]]
  10.   $game_variables[12003]=$game_variables[12004].to_s+$game_variables[12005].to_s
  11.     return $game_variables[12003]
  12.   else                             #给女的起名
  13.   $game_variables[12001]=rand(66)
  14.   $game_variables[12001]=random_name[$game_variables[12001]]
  15.   $game_variables[12002]=rand(1170)
  16.   $game_variables[12002]=random_name2[$game_variables[12002]]
  17.   $game_variables[12000]=$game_variables[12001].to_s+$game_variables[12002].to_s
  18.     return $game_variables[12000]
  19.   end
  20. end
复制代码

点评

另外说明下,这是我自己纯原创的代码……  发表于 2019-10-28 16:39

评分

参与人数 2星屑 +50 +2 收起 理由
89444640 + 1 塞糖
guoxiaomi + 50 + 1 精品文章

查看全部评分

回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1085
在线时间
326 小时
注册时间
2012-8-18
帖子
27
3
 楼主| 发表于 2019-10-28 17:47:24 | 只看该作者
能给个范例吗
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
3117
在线时间
205 小时
注册时间
2019-9-16
帖子
224
4
发表于 2019-10-28 18:22:44 | 只看该作者
本帖最后由 寒凌天 于 2019-10-28 18:26 编辑


RUBY 代码复制
  1. #给男的起名
  2. $game_variables[12003]=9
  3. a = sjxm()
  4.  
  5.  
  6. #给女的起名
  7. $game_variables[12003]=0
  8. a = sjxm()


这个a变量储存的就是随机到的名字
早期我写这个脚本的时候,原本只打算给女的起名,所以没将方法编写是输入参数的方式来判断给男女起名。
给男的起名是后来才加的的。因为设置成参数后,需要把之前所有用到该方法的地方全都改一遍,比较麻烦,所以我就没打算再使用参数。
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1085
在线时间
326 小时
注册时间
2012-8-18
帖子
27
5
 楼主| 发表于 2019-10-28 19:46:20 | 只看该作者
寒凌天 发表于 2019-10-28 18:22
#给男的起名
$game_variables[12003]=9
a = sjxm()

我有多个角色是8人制战斗的脚本,想一进入游戏主角和其他角色都有随机的姓名,每次新游戏时都不一样,游戏中每加入一个新角色都有新的姓名

点评

脚本源码已经调用方法都已经告诉你了,如果你还是不会用,那就赶紧好好补充一下基础知识吧!这方面没人帮的了你。  发表于 2019-10-28 20:12
回复 支持 反对

使用道具 举报

Lv5.捕梦者 (版主)

梦石
1
星屑
23994
在线时间
3339 小时
注册时间
2011-7-8
帖子
3926

开拓者

6
发表于 2019-11-5 00:26:22 | 只看该作者
本帖最后由 guoxiaomi 于 2019-11-5 00:53 编辑

这个名字列表真的太有意思了,我整理了一下脚本:
  1. #encoding: utf-8
  2. module HLT_RandomName
  3.   Random_Name1 = <<-text
  4.   沈 秦 云 苏 方 唐 于 蓝 颜 高 凌 莫 程 裴 沐 纪 薛 霍 阮 萧 韩 赵 钱 孙 李 周 吴 郑 王 冯 陈 褚 卫 蒋 杨 朱 尤 许
  5.   何 吕 施 张 孔 曹 严 华 金 魏 陶 姜
  6.   欧阳 百里 纳兰 太史 端木 上官 司马 东方 独孤 南宫 闻人 夏侯 诸葛 赫连 澹台 皇甫
  7. text

  8.   Random_Name2 = <<-text
  9.   梦琪 忆柳 之桃 慕青 问兰 尔岚 元香 初夏 沛菡 傲珊 曼文 乐菱 痴珊 恨玉 惜文 香寒 新柔 语蓉 海安 夜蓉 涵柏 水桃 醉蓝
  10.   春儿 语琴 从彤 傲晴 语兰 又菱 碧彤 元霜 怜梦 紫寒 妙彤 曼易 南莲 紫翠 雨寒 易烟 如萱 若南 寻真 晓亦 向珊 慕灵 以蕊
  11.   寻雁 映易 雪柳 孤岚 笑霜 海云 凝天 沛珊 寒云 冰旋 宛儿 绿真 盼儿 晓霜 碧凡 夏菡 曼香 若烟 半梦 雅绿 冰蓝 灵槐 平安
  12.   书翠 翠风 香巧 代云 梦曼 幼翠 友巧 听寒 梦柏 醉易 访旋 亦玉 凌萱 访卉 怀亦 笑蓝 春翠 靖柏 夜蕾 冰夏 梦松 书雪 乐枫
  13.   念薇 靖雁 寻春 恨山 从寒 忆香 觅波 静曼 凡旋 以亦 念露 芷蕾 千兰 新波 代真 新蕾 雁玉 冷卉 紫山 千琴 恨天 傲芙 盼山
  14.   怀蝶 冰兰 山柏 翠萱 恨松 问旋 从南 白易 问筠 如霜 半芹 丹珍 冰彤 亦寒 寒雁 怜云 寻文 乐丹 翠柔 谷山 之瑶 冰露 尔珍
  15.   谷雪 乐萱 涵菡 海莲 傲蕾 青槐 冬儿 易梦 惜雪 宛海 之柔 夏青 亦瑶 妙菡 春竹 痴梦 紫蓝 晓巧 幻柏 元风 冰枫 访蕊 南春
  16.   芷蕊 凡蕾 凡柔 安蕾 天荷 含玉 书兰 雅琴 书瑶 春雁 从安 夏槐 念芹 怀萍 代曼 幻珊 谷丝 秋翠 白晴 海露 代荷 含玉 书蕾
  17.   听白 访琴 灵雁 秋春 雪青 乐瑶 含烟 涵双 平蝶 雅蕊 傲之 灵薇 绿春 含蕾 从梦 从蓉 初丹 听兰 听蓉 语芙 夏彤 凌瑶 忆翠
  18.   幻灵 怜菡 紫南 依珊 妙竹 访烟 怜蕾 映寒 友绿 冰萍 惜霜 凌香 芷蕾 雁卉 迎梦 元柏 代萱 紫真 千青 凌寒 紫安 寒安 怀蕊
  19.   秋荷 涵雁 以山 凡梅 盼曼 翠彤 谷冬 新巧 冷安 千萍 冰烟 雅阳 友绿 南松 诗云 飞风 寄灵 书芹 幼蓉 以蓝 笑寒 忆寒 秋烟
  20.   芷巧 水香 映之 醉波 幻莲 夜山 芷卉 向彤 小玉 幼南 凡梦 尔曼 念波 迎松 青寒 笑天 涵蕾 碧菡 映秋 盼烟 忆山 以寒 寒香
  21.   小凡 代亦 梦露 映波 友蕊 寄凡 怜蕾 雁枫 水绿 曼荷 笑珊 寒珊 谷南 慕儿 夏岚 友儿 小萱 紫青 妙菱 冬寒 曼柔 语蝶 青筠
  22.   夜安 觅海 问安 晓槐 雅山 访云 翠容 寒凡 晓绿 以菱 冬云 含玉 访枫 含卉 夜白 冷安 灵竹 醉薇 元珊 幻波 盼夏 元瑶 迎曼
  23.   水云 访琴 谷波 乐之 笑白 之山 妙海 紫霜 平夏 凌旋 孤丝 怜寒 向萍 凡松 青丝 翠安 如天 凌雪 绮菱 代云 南莲 寻南 春文
  24.   香薇 冬灵 凌珍 采绿 天春 沛文 紫槐 幻柏 采文 春梅 雪旋 盼海 映梦 安雁 映容 凝阳 访风 天亦 平绿 盼香 觅风 小霜 雪萍
  25.   半雪 山柳 谷雪 靖易 白薇 梦菡 飞绿 如波 又晴 友易 香菱 冬亦 问雁 妙春 海冬 半安 平春 幼柏 秋灵 凝芙 念烟 白山 从灵
  26.   尔芙 迎蓉 念寒 翠绿 翠芙 靖儿 妙柏 千凝 小珍 天巧 妙旋 雪枫 夏菡 元绿 痴灵 绮琴 雨双 听枫 觅荷 凡之 晓凡 雅彤 香薇
  27.   孤风 从安 绮彤 之玉 雨珍 幻丝 代梅 香波 青亦 元菱 海瑶 飞槐 听露 梦岚 幻竹 新冬 盼翠 谷云 忆霜 水瑶 慕晴 秋双 雨真
  28.   觅珍 丹雪 从阳 元枫 痴香 思天 如松 妙晴 谷秋 妙松 晓夏 香柏 巧绿 宛筠 碧琴 盼兰 小夏 安容 青曼 千儿 香春 寻双 涵瑶
  29.   冷梅 秋柔 思菱 醉波 醉柳 以寒 迎夏 向雪 香莲 以丹 依凝 如柏 雁菱 凝竹 宛白 初柔 南蕾 书萱 梦槐 香芹 南琴 绿海 沛儿
  30.   晓瑶 听春 凝蝶 紫雪 念双 念真 曼寒 凡霜 飞雪 雪兰 雅霜 从蓉 冷雪 靖巧 翠丝 觅翠 凡白 乐蓉 迎波 丹烟 梦旋 书双 念桃
  31.   夜天 海桃 青香 恨风 安筠 觅柔 初南 秋蝶 千易 安露 诗蕊 山雁 友菱 香露 晓兰 白卉 语山 冷珍 秋翠 夏柳 如之 忆南 书易
  32.   翠桃 寄瑶 如曼 问柳 香梅 幻桃 又菡 春绿 醉蝶 亦绿 诗珊 听芹 新之 易巧 念云 晓灵 静枫 夏蓉 如南 幼丝 秋白 冰安 秋白
  33.   南风 醉山 初彤 凝海 紫文 凌晴 香卉 雅琴 傲安 傲之 初蝶 寻桃 代芹 诗霜 春柏 绿夏 碧灵 诗柳 夏柳 采白 慕梅 乐安 冬菱
  34.   紫安 宛凝 雨雪 易真 安荷 静竹 代柔 丹秋 绮梅 依白 凝荷 幼珊 忆彤 凌青 之桃 芷荷 听荷 代玉 念珍 梦菲 夜春 千秋 白秋
  35.   谷菱 飞松 初瑶 惜灵 恨瑶 梦易 新瑶 曼梅 碧曼 友瑶 雨兰 夜柳 香蝶 盼巧 芷珍 香卉 含芙 夜云 依萱 凝雁 以莲 易容 元柳
  36.   安南 幼晴 尔琴 飞阳 白凡 沛萍 雪瑶 向卉 采文 乐珍 寒荷 觅双 白桃 安卉 迎曼 盼雁 乐松 涵山 恨寒 问枫 以柳 含海 秋春
  37.   翠曼 忆梅 涵柳 梦香 海蓝 晓曼 代珊 春冬 恨荷 忆丹 静芙 绮兰 梦安 紫丝 千雁 凝珍 香萱 梦容 冷雁 飞柏 天真 翠琴 寄真
  38.   秋荷 代珊 初雪 雅柏 怜容 如风 南露 紫易 冰凡 海雪 语蓉 碧玉 翠岚 语风 盼丹 痴旋 凝梦 从雪 白枫 傲云 白梅 念露 慕凝
  39.   雅柔 盼柳 半青 从霜 怀柔 怜晴 夜蓉 代双 以南 若菱 芷文 寄春 南晴 恨之 梦寒 初翠 灵波 巧春 问夏 凌春 惜海 亦旋 沛芹
  40.   幼萱 白凝 初露 迎海 绮玉 凌香 寻芹 秋柳 尔白 映真 含雁 寒松 友珊 寻雪 忆柏 秋柏 巧风 恨蝶 青烟 问蕊 灵阳 春枫 又儿
  41.   雪巧 丹萱 凡双 孤萍 紫菱 寻凝 傲柏 傲儿 友容 灵枫 尔丝 曼凝 若蕊 问丝 思枫 水卉 问梅 念寒 诗双 翠霜 夜香 寒蕾 凡阳
  42.   冷玉 平彤 语薇 幻珊 紫夏 凌波 芷蝶 丹南 之双 凡波 思雁 白莲 从菡 如容 采柳 沛岚 惜儿 夜玉 水儿 半凡 语海 听莲 幻枫
  43.   念柏 冰珍 思山 凝蕊 天玉 问香 思萱 向梦 笑南 夏旋 之槐 元灵 以彤 采萱 巧曼 绿兰 平蓝 问萍 绿蓉 靖柏 迎蕾 碧曼 思卉
  44.   白柏 妙菡 怜阳 雨柏 雁菡 梦之 又莲 乐荷 寒天 凝琴 书南 映天 白梦 初瑶 恨竹 平露 含巧 慕蕊 半莲 醉卉 天菱 青雪 雅旋
  45.   巧荷 飞丹 恨云 若灵 尔云 幻天 诗兰 青梦 海菡 灵槐 忆秋 寒凝 凝芙 绮山 静白 尔蓉 尔冬 映萱 白筠 冰双 访彤 绿柏 夏云
  46.   笑翠 晓灵 含双 盼波 以云 怜翠 雁风 之卉 平松 问儿 绿柳 如蓉 曼容 天晴 丹琴 惜天 寻琴 痴春 依瑶 涵易 忆灵 从波 依柔
  47.   问兰 山晴 怜珊 之云 飞双 傲白 沛春 雨南 梦之 笑阳 代容 友琴 雁梅 友桃 从露 语柔 傲玉 觅夏 晓蓝 新晴 雨莲 凝旋 绿旋
  48.   幻香 觅双 冷亦 忆雪 友卉 幻翠 靖柔 寻菱 丹翠 安阳 雅寒 惜筠 尔安 雁易 飞瑶 夏兰 沛蓝 静丹 山芙 笑晴 新烟 笑旋 雁兰
  49.   凌翠 秋莲 书桃 傲松 语儿 映菡 初曼 听云 孤松 初夏 雅香 语雪 初珍 白安 冰薇 诗槐 冷玉 冰巧 之槐 香柳 问春 夏寒 半香
  50.   诗筠 新梅 白曼 安波 从阳 含桃 曼卉 笑萍 碧巧 晓露 寻菡 沛白 平灵 水彤 安彤 涵易 乐巧 依风 紫南 亦丝 易蓉 紫萍 惜萱
  51.   诗蕾 寻绿 诗双 寻云 孤丹 谷蓝 惜香 谷枫 山灵 幻丝 友梅 从云 雁丝 盼旋 幼旋 尔蓝 沛山 代丝 痴梅 觅松 冰香 依玉 冰之
  52.   妙梦 以冬 碧春 曼青 冷菱 雪曼 安白 香桃 安春 千亦 凌蝶 又夏 南烟 靖易 沛凝 翠梅 书文 雪卉 乐儿 傲丝 安青 初蝶 寄灵
  53.   惜寒 雨竹 冬莲 绮南 翠柏 平凡 亦玉 孤兰 秋珊 新筠 半芹 夏瑶 念文 晓丝 涵蕾 雁凡 谷兰 灵凡 凝云 曼云 丹彤 南霜 夜梦
  54.   从筠 雁芙 语蝶 依波 晓旋 念之 盼芙 曼安 采珊 盼夏 初柳 迎天 曼安 南珍 妙芙 语柳 含莲 晓筠 夏山 尔容 采春 念梦 傲南
  55.   问薇 雨灵 凝安 冰海 初珍 宛菡 冬卉 盼晴 冷荷 寄翠 幻梅 如凡 语梦 易梦 千柔 向露 梦玉 傲霜 依霜 灵松 诗桃 书蝶 恨真
  56.   冰蝶 山槐 以晴 友易 梦桃 香菱 孤云 水蓉 雅容 飞烟 雁荷 代芙 醉易 夏烟 山梅 若南 恨桃 依秋 依波 香巧 紫萱 涵易 忆之
  57.   幻巧 水风 安寒 白亦 惜玉 碧春 怜雪 听南 念蕾 梦竹 千凡 寄琴 采波 元冬 思菱 平卉 笑柳 雪卉 南蓉 谷梦 巧兰 绿蝶 飞荷
  58.   平安 孤晴 芷荷 曼冬 寻巧 寄波 尔槐 以旋 绿蕊 初夏 依丝 怜南 千山 雨安 水风 寄柔 念巧 幼枫 凡桃 新儿 春翠 夏波 雨琴
  59.   静槐 元槐 映阳 飞薇 小凝 映寒 傲菡 谷蕊 笑槐 飞兰 笑卉 迎荷 元冬 书竹 半烟 绮波 小之 觅露 夜雪 春柔 寒梦 尔风 白梅
  60.   雨旋
  61. text

  62.   Random_Name3 = <<-text
  63.   伟 刚 勇 毅 俊 峰 强 军 平 保 东 文 辉 力 明 永 健 世 广 志 义 兴 良 海 山 仁 波 宁 贵 福 生 龙 元 全 国 胜 学 祥
  64.   才 发 武 新 利 清 飞 彬 富 顺 信 子 杰 涛 昌 成 康 星 光 天 达 安 岩 中 茂 进 林 有 坚 和 彪 博 诚 先 敬 震 振 壮
  65.   会 思 群 豪 心 邦 承 乐 绍 功 松 善 厚 庆 磊 民 友 裕 河 哲 江 超 浩 亮 政 谦 亨 奇 固 之 轮 翰 朗 伯 宏 言 若 鸣
  66.   朋 斌 梁 栋 维 启 克 伦 翔 旭 鹏 泽 晨 辰 士 以 建 家 致 树 炎 德 行 时 泰 盛 雄 琛 钧
  67.   安邦 安福 安歌 安国 安和 安康 安澜 安民 安宁 安平 安然 安顺 蔼民 安吉 安晏 安良 安澜 安和 安平 安康 安国 昂熙 昂然
  68.   昂杰 昂雄 昂毅 昂轩 昂雄 岸驰 岸谷 岸驭 昂雄 傲驰 傲骁 澳骐 澳骏 安翔 安晏 安宜 安怡 安易 安志 昂然 昂雄 宾白 宾鸿
  69.   宾实 彬彬 彬炳 彬郁 斌斌 斌蔚 滨海 波光 波鸿 波峻 波涛 博瀚 博超 博达 博厚 博简 博明 博容 博赡 博涉 博实 博涛 秉林
  70.   秉蘅 秉荃 秉绶 秉东 秉中 秉坤 秉衡 秉义 秉治 秉恩 秉政 秉钺 博超 博明 博容 博雅 博延 博军 博乙 博平 博宜 博勉 博裕
  71.   博跃 博耘 保华 保民 保暨 保鸿 保宁 保平 弼烁 弼实 弼烨 弼儒 炳旺 炳潮 炳玮 帮磊 帮钊 本然 本藤 彬彬 柏朗 柏谷 柏莨
  72.   栢毅 博文 博学 博雅 博延 博艺 博易 博裕 博远 才捷 才良 才艺 才英 才哲 才俊 成和 成弘 成化 成济 成礼 成龙 成仁 成双
  73.   成天 成文 成业 成益 成荫 成周 承安 承弼 承德 承恩 承福 承基 承教 承平 承嗣 承天 承望 承宣 承颜 承业 承悦 承允 承运
  74.   承载 承泽 承志 德本 德海 德厚 德华 德辉 德惠 德容 德润 德寿 德水 德馨 德曜 德业 德义 德庸 德佑 德宇 德元 德运 德泽
  75.   德明 飞昂 飞白 飞飙 飞掣 飞尘 飞沉 飞驰 飞光 飞翰 飞航 飞翮 飞鸿 飞虎 飞捷 飞龙 飞鸾 飞鸣 飞鹏 飞扬 飞文 飞翔 飞星
  76.   飞翼 飞英 飞宇 飞羽 飞雨 飞语 飞跃 飞章 飞舟 风华 丰茂 丰羽 刚豪 刚洁 刚捷 刚毅 高昂 高岑 高畅 高超 高驰 高达 高澹
  77.   高飞 高芬 高峯 高峰 高歌 高格 高寒 高翰 高杰 高洁 高峻 高朗 高丽 高邈 高旻 高明 高爽 高兴 高轩 高雅 高扬 高阳 高义
  78.   高谊 高逸 高懿 高原 高远 高韵 高卓 光赫 光华 光辉 光济 光霁 光亮 光临 光明 光启 光熙 光耀 光誉 光远 国安 国兴 国源
  79.   冠宇 冠玉 晗昱 晗日 涵畅 涵涤 涵亮 涵忍 涵容 涵润 涵涵 涵煦 涵蓄 涵衍 涵意 涵映 涵育 翰采 翰池 翰飞 翰海 翰翮 翰林
  80.   翰墨 翰学 翰音 瀚玥 翰藻 瀚海 瀚漠 昊苍 昊昊 昊空 昊乾 昊穹 昊然 昊然 昊天 昊焱 昊英 浩波 浩博 浩初 浩大 浩宕 浩荡
  81.   浩歌 浩广 浩涆 浩瀚 浩浩 浩慨 浩旷 浩阔 浩漫 浩淼 浩渺 浩邈 浩气 浩然 浩穰 浩壤 浩思 浩言 皓轩 和蔼 和安 和璧 和昶
  82.   和畅 和风 和歌 和光 和平 和洽 和惬 和顺 和硕 和颂 和泰 和悌 和通 和同 和煦 和雅 和宜 和怡 和玉 和裕 和豫 和悦 和韵
  83.   和泽 和正 和志 鹤轩 弘博 弘大 弘方 弘光 弘和 弘厚 弘化 弘济 弘阔 弘亮 弘量 弘深 弘盛 弘图 弘伟 弘文 弘新 弘雅 弘扬
  84.   弘业 弘义 弘益 弘毅 弘懿 弘致 弘壮 宏伯 宏博 宏才 宏畅 宏达 宏大 宏放 宏富 宏峻 宏浚 宏恺 宏旷 宏阔 宏朗 宏茂 宏邈
  85.   宏儒 宏深 宏胜 宏盛 宏爽 宏硕 宏伟 宏扬 宏义 宏逸 宏毅 宏远 宏壮 鸿宝 鸿波 鸿博 鸿才 鸿彩 鸿畅 鸿畴 鸿达 鸿德 鸿飞
  86.   鸿风 鸿福 鸿光 鸿晖 鸿朗 鸿文 鸿熙 鸿羲 鸿禧 鸿信 鸿轩 鸿煊 鸿煊 鸿雪 鸿羽 鸿远 鸿云 鸿运 鸿哲 鸿祯 鸿振 鸿志 鸿卓
  87.   华奥 华采 华彩 华灿 华藏 华池 华翰 华皓 华晖 华辉 华茂 华美 华清 华荣 华容 嘉赐 嘉德 嘉福 嘉良 嘉茂 嘉木 嘉慕 嘉纳
  88.   嘉年 嘉平 嘉庆 嘉荣 嘉容 嘉瑞 嘉胜 嘉石 嘉实 嘉树 嘉澍 嘉熙 嘉禧 嘉祥 嘉歆 嘉许 嘉勋 嘉言 嘉谊 嘉懿 嘉颖 嘉佑 嘉玉
  89.   嘉誉 嘉悦 嘉运 嘉泽 嘉珍 嘉祯 嘉志 嘉致 坚白 坚壁 坚秉 坚成 坚诚 建安 建白 建柏 建本 建弼 建德 建华 建明 建茗 建木
  90.   建树 建同 建修 建业 建义 建元 建章 建中 健柏 金鑫 锦程 瑾瑜 晋鹏 经赋 经亘 经国 经略 经纶 经纬 经武 经业 经义 经艺
  91.   景澄 景福 景焕 景辉 景辉 景龙 景明 景山 景胜 景铄 景天 景同 景曜 靖琪 君昊 君浩 俊艾 俊拔 俊弼 俊才 俊材 俊驰 俊楚
  92.   俊达 俊德 俊发 俊风 俊豪 俊健 俊杰 俊捷 俊郎 俊力 俊良 俊迈 俊茂 俊美 俊民 俊名 俊明 俊楠 俊能 俊人 俊爽 俊悟 俊晤
  93.   俊侠 俊贤 俊雄 俊雅 俊彦 俊逸 俊英 俊友 俊语 俊誉 俊远 俊哲 俊喆 俊智 峻熙 季萌 季同 开畅 开诚 开宇 开济 开霁 开朗
  94.   凯安 凯唱 凯定 凯风 凯复 凯歌 凯捷 凯凯 凯康 凯乐 凯旋 凯泽 恺歌 恺乐 康安 康伯 康成 康德 康复 康健 康乐 康宁 康平
  95.   康胜 康盛 康时 康适 康顺 康泰 康裕 乐安 乐邦 乐成 乐池 乐和 乐家 乐康 乐人 乐容 乐山 乐生 乐圣 乐水 乐天 乐童 乐贤
  96.   乐心 乐欣 乐逸 乐意 乐音 乐咏 乐游 乐语 乐悦 乐湛 乐章 乐正 乐志 黎昕 黎明 力夫 力强 力勤 力行 力学 力言 立诚 立果
  97.   立人 立辉 立轩 立群 良奥 良弼 良才 良材 良策 良畴 良工 良翰 良吉 良骥 良俊 良骏 良朋 良平 良哲 理群 理全 茂才 茂材
  98.   茂德 茂典 茂实 茂学 茂勋 茂彦 敏博 敏才 敏达 敏叡 敏学 敏智 明诚 明达 明德 明辉 明杰 明俊 明朗 明亮 明旭 明煦 明轩
  99.   明远 明哲 明喆 明知 明志 明智 明珠 朋兴 朋义 彭勃 彭薄 彭湃 彭彭 彭魄 彭越 彭泽 彭祖 鹏程 鹏池 鹏飞 鹏赋 鹏海 鹏鲸
  100.   鹏举 鹏鹍 鹏鲲 鹏涛 鹏天 鹏翼 鹏云 鹏运 濮存 溥心 璞玉 璞瑜 浦和 浦泽 奇略 奇迈 奇胜 奇水 奇思 奇邃 奇伟 奇玮 奇文
  101.   奇希 奇逸 奇正 奇志 奇致 祺福 祺然 祺祥 祺瑞 琪睿 庆生 荣轩 锐达 锐锋 锐翰 锐进 锐精 锐立 锐利 锐思 锐逸 锐意 锐藻
  102.   锐泽 锐阵 锐志 锐智 睿博 睿才 睿诚 睿慈 睿聪 睿达 睿德 睿范 睿广 睿好 睿明 睿识 睿思 绍辉 绍钧 绍祺 绍元 升荣 圣杰
  103.   晟睿 思聪 思淼 思源 思远 思博 斯年 斯伯 泰初 泰和 泰河 泰鸿 泰华 泰宁 泰平 泰清 泰然 天材 天成 天赋 天干 天罡 天工
  104.   天翰 天和 天华 天骄 天空 天禄 天路 天瑞 天睿 天逸 天佑 天宇 天元 天韵 天泽 天纵 同方 同甫 同光 同和 同化 同济 巍昂
  105.   巍然 巍奕 伟博 伟毅 伟才 伟诚 伟茂 伟懋 伟祺 伟彦 伟晔 伟泽 伟兆 伟志 温纶 温茂 温书 温韦 温文 温瑜 文柏 文昌 文成
  106.   文德 文栋 文赋 文光 文翰 文虹 文华 文康 文乐 文林 文敏 文瑞 文山 文石 文星 文轩 文宣 文彦 文曜 文耀 文斌 文彬 文滨
  107.   向晨 向笛 向文 向明 向荣 向阳 翔宇 翔飞 项禹 项明 晓博 心水 心思 心远 欣德 欣嘉 欣可 欣然 欣荣 欣怡 欣怿 欣悦 新翰
  108.   新霁 新觉 新立 新荣 新知 信鸿 信厚 信鸥 信然 信瑞 兴安 兴邦 兴昌 兴朝 兴德 兴发 兴国 兴怀 兴平 兴庆 兴生 兴思 兴腾
  109.   兴旺 兴为 兴文 兴贤 兴修 兴学 兴言 兴业 兴运 星波 星辰 星驰 星光 星海 星汉 星河 星华 星晖 星火 星剑 星津 星阑 星纬
  110.   星文 星宇 星雨 星渊 星洲 修诚 修德 修杰 修洁 修谨 修筠 修明 修能 修平 修齐 修然 修为 修伟 修文 修雅 修永 修远 修真
  111.   修竹 修贤 旭尧 炫明 学博 学海 学林 学民 学名 学文 学义 学真 雪松 雪峰 雪风 雅昶 雅畅 雅达 雅惠 雅健 雅珺 雅逸 雅懿
  112.   雅志 炎彬 阳飙 阳飇 阳冰 阳波 阳伯 阳成 阳德 阳华 阳晖 阳辉 阳嘉 阳平 阳秋 阳荣 阳舒 阳朔 阳文 阳曦 阳夏 阳旭 阳煦
  113.   阳炎 阳焱 阳曜 阳羽 阳云 阳泽 阳州 烨赫 烨华 烨磊 烨霖 烨然 烨烁 烨伟 烨烨 烨熠 烨煜 毅然 逸仙 逸明 逸春 宜春 宜民
  114.   宜年 宜然 宜人 宜修 意远 意蕴 意致 意智 熠彤 懿轩 英飙 英博 英才 英达 英发 英范 英光 英豪 英华 英杰 英朗 英锐 英睿
  115.   英叡 英韶 英卫 英武 英悟 英勋 英彦 英耀 英奕 英逸 英毅 英哲 英喆 英卓 英资 英纵 永怡 永春 永安 永昌 永长 永丰 永福
  116.   永嘉 永康 永年 永宁 永寿 永思 永望 永新 永言 永逸 永元 永贞 咏德 咏歌 咏思 咏志 勇男 勇军 勇捷 勇锐 勇毅 宇达 宇航
  117.   宇寰 宇文 宇荫 雨伯 雨华 雨石 雨信 雨星 雨泽 玉宸 玉成 玉龙 玉泉 玉山 玉石 玉书 玉树 玉堂 玉轩 玉宇 玉韵 玉泽 煜祺
  118.   元白 元德 元化 元基 元亮 元龙 元明 元青 元思 元纬 元武 元勋 元正 元忠 元洲 远航 苑博 苑杰 越彬 蕴涵 蕴和 蕴藉 展鹏
  119.   哲瀚 哲茂 哲圣 哲彦 振海 振国 正诚 正初 正德 正浩 正豪 正平 正奇 正青 正卿 正文 正祥 正信 正雅 正阳 正业 正谊 正真
  120.   正志 志诚 志新 志勇 志明 志国 志强 志尚 志专 志文 志行 志学 志业 志义 志用 志泽 致远 智明 智鑫 智勇 智敏 智志 智渊
  121.   子安 子晋 子民 子明 子默 子墨 子平 子琪 子石 子实 子真 子濯 子昂 子轩 子瑜 自明 自强 作人 自怡 自珍 曾琪 泽宇 泽语
  122. text

  123.   Random_Name_List1 = Random_Name1.split
  124.   Random_Name_List2 = Random_Name2.split
  125.   Random_Name_List3 = Random_Name3.split

  126.   def self.sjxm(gender = 0)
  127.     prefix = Random_Name_List1[rand(Random_Name_List1.size)]
  128.     case gender
  129.     when 0 then prefix + Random_Name_List2[rand(Random_Name_List2.size)]
  130.     when 1 then prefix + Random_Name_List3[rand(Random_Name_List3.size)]
  131.     end
  132.   end
  133. end
复制代码


游戏开始时执行一次以下事件脚本,注意需要指定角色的性别:
  1. $game_actors.each do |actor|
  2.   next if actor.nil?
  3.   case actor.id
  4.   # 在下面写上女性角色的 Actor_ID
  5.   when 1, 2, 3
  6.     actor.name = HLT_RandomName::sjxm(0)
  7.   else
  8.     actor.name = HLT_RandomName::sjxm(1)
  9.   end
  10. end
复制代码
熟悉rgss和ruby,xp区版主~
正在填坑:《膜拜组传奇》讲述膜拜组和学霸们的故事。
已上steam:与TXBD合作的Reformers《变革者》
* 战斗调用公共事件 *
* RGSOS 网络脚本 *
回复 支持 反对

使用道具 举报

Lv5.捕梦者

梦石
0
星屑
35186
在线时间
4169 小时
注册时间
2007-12-15
帖子
10067
7
发表于 2019-11-5 07:57:45 | 只看该作者
guoxiaomi 发表于 2019-11-5 00:26
这个名字列表真的太有意思了,我整理了一下脚本:

这样用可以吗……
$game_variables[12003]=9是给起名,那让这个名字随机组合一下……
姓V[1]=rand 姓里面随机挑
性别V[2]=0男 1女
名字根据V[2] 挑选男组或者女组用V[3]存储
然后就对话时候显示V1 V2 V3 就是抽性 性别 名 这样显示出了一个随机的npc名字。
大街上从屏幕外出来走过场后消失的npc,用这个随机抽名字,比路人甲好一些?
在npc更换行走图时候随机抽一个出来。

点评

来回场景中跑龙套的npc还是挺合适的,以表现世界上有很多人,可以根据特定组合名字给你讲故事,不过文本会太多还是算了  发表于 2019-11-5 17:46
你要用他的代码,$game_variables[12003]这个变量你都不需要用了,因为默认变量没这么多,我是后改过变量上限的。你不该直接调用不行的。  发表于 2019-11-5 16:59
我一开始写这个脚本的时候,并没打算给男的起名,所以才会用公共变量来控制返回的名字是男是女。6楼斑竹整理过的代码是可以根据参数判定男女的  发表于 2019-11-5 16:58
在那种随机生成的世界还是很合适的,但是大部分NPC的名字也是有梗的吧  发表于 2019-11-5 15:04
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-11-23 13:31

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表