Project1
标题:
角色创建系统脚本,大家帮看看都是什么
[打印本页]
作者:
thwangao
时间:
2009-11-7 18:08
标题:
角色创建系统脚本,大家帮看看都是什么
样式库
# 可以继续往里加素材文件名~至于每行对应什么职业应该看的出来吧 - v -
module RPG
class GRAPHIC
def initialize
$graphic_arr = []
case $gender
when "男"
$graphic_arr[1] = ["001-Fighter01", "003-Fighter03", "004-Fighter04", "005-Fighter05"]
$graphic_arr[2] = ["009-Lancer01", "010-Lancer02", "011-Lancer03"]
$graphic_arr[3] = ["013-Warrior01", "014-Warrior02"]
$graphic_arr[4] = ["016-Thief01", "017-Thief02", "018-Thief03"]
$graphic_arr[5] = ["020-Hunter01", "021-Hunter02"]
$graphic_arr[6] = ["023-Gunner01"]
$graphic_arr[7] = ["025-Cleric01", "026-Cleric02", "027-Cleric03", "028-Cleric04"]
$graphic_arr[8] = ["033-Mage01", "034-Mage02", "035-Mage03", "036-Mage04", "037-Mage05"]
$graphic_arr[9] = ["101-Civilian01", "102-Civilian02", "103-Civilian03", "104-Civilian04", "105-Civilian05", "106-Civilian06", "107-Civilian07", "108-Civilian08", "109-Civilian09", "110-Civilian10", "111-Civilian11", "112-Civilian12"]
$graphic_arr[10] = ["126-Noble01", "127-Noble02", "128-Noble03", "129-Noble04", "130-Noble05"]
when "女"
$graphic_arr[1] = ["002-Fighter02", "006-Fighter06", "007-Fighter07","008-Fighter08"]
$graphic_arr[2] = ["012-Lancer04"]
$graphic_arr[3] = ["015-Warrior03"]
$graphic_arr[4] = ["019-Thief04", "018-Thief03"]
$graphic_arr[5] = ["022-Hunter03"]
$graphic_arr[6] = ["024-Gunner02"]
$graphic_arr[7] = ["029-Cleric05", "030-Cleric06", "031-Cleric07", "032-Cleric08"]
$graphic_arr[8] = ["038-Mage06", "039-Mage07", "040-Mage08", "041-Mage09"]
$graphic_arr[9] = ["113-Civilian13", "114-Civilian14", "115-Civilian15", "116-Civilian16", "117-Civilian17", "118-Civilian18", "119-Civilian19", "120-Civilian20", "121-Civilian21", "122-Civilian22", "123-Civilian23", "124-Civilian24"]
$graphic_arr[10] = ["131-Noble06", "132-Noble07", "133-Noble08"]
end
end
end
end
这里这些男女素材
when "男"
$graphic_arr[1] = ["001-Fighter01", "003-Fighter03", "004-Fighter04", "005-Fighter05"]
$graphic_arr[2] = ["009-Lancer01", "010-Lancer02", "011-Lancer03"]
$graphic_arr[3] = ["013-Warrior01", "014-Warrior02"]
$graphic_arr[4] = ["016-Thief01", "017-Thief02", "018-Thief03"]
$graphic_arr[5] = ["020-Hunter01", "021-Hunter02"]
$graphic_arr[6] = ["023-Gunner01"]
$graphic_arr[7] = ["025-Cleric01", "026-Cleric02", "027-Cleric03", "028-Cleric04"]
$graphic_arr[8] = ["033-Mage01", "034-Mage02", "035-Mage03", "036-Mage04", "037-Mage05"]
$graphic_arr[9] = ["101-Civilian01", "102-Civilian02", "103-Civilian03", "104-Civilian04", "105-Civilian05", "106-Civilian06", "107-Civilian07", "108-Civilian08", "109-Civilian09", "110-Civilian10", "111-Civilian11", "112-Civilian12"]
$graphic_arr[10] = ["126-Noble01", "127-Noble02", "128-Noble03", "129-Noble04", "130-Noble05"]
when "女"
$graphic_arr[1] = ["002-Fighter02", "006-Fighter06", "007-Fighter07","008-Fighter08"]
$graphic_arr[2] = ["012-Lancer04"]
$graphic_arr[3] = ["015-Warrior03"]
$graphic_arr[4] = ["019-Thief04", "018-Thief03"]
$graphic_arr[5] = ["022-Hunter03"]
$graphic_arr[6] = ["024-Gunner02"]
$graphic_arr[7] = ["029-Cleric05", "030-Cleric06", "031-Cleric07", "032-Cleric08"]
$graphic_arr[8] = ["038-Mage06", "039-Mage07", "040-Mage08", "041-Mage09"]
$graphic_arr[9] = ["113-Civilian13", "114-Civilian14", "115-Civilian15", "116-Civilian16", "117-Civilian17", "118-Civilian18", "119-Civilian19", "120-Civilian20", "121-Civilian21", "122-Civilian22", "123-Civilian23", "124-Civilian24"]
$graphic_arr[10] = ["131-Noble06", "132-Noble07", "133-Noble08"]
都是在哪里》?
作者:
secondsen
时间:
2009-11-7 19:59
MS是将素材的名字做了个数组?
作者:
「旅」
时间:
2009-11-8 07:24
这里这些男女素材
都是在哪里》?
复制代码
RMXP安装的目录下。
另外一点,
http://rpg.blue/web/htm/news27.htm
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1