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

Project1

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

[已经解决] 角色创建系统脚本,大家帮看看都是什么

 关闭 [复制链接]

Lv1.梦旅人

梦石
0
星屑
685
在线时间
0 小时
注册时间
2009-11-6
帖子
4
跳转到指定楼层
1
发表于 2009-11-7 18:08:22 | 只看该作者 回帖奖励 |正序浏览 |阅读模式

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

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

x
样式库
# 可以继续往里加素材文件名~至于每行对应什么职业应该看的出来吧  - 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"]      



都是在哪里》?
哥就像巴黎鸥莱雅′尔值得拥有

Lv3.寻梦者

小柯的徒弟

梦石
0
星屑
1535
在线时间
1157 小时
注册时间
2008-5-24
帖子
3085

贵宾

3
发表于 2009-11-8 07:24:06 | 只看该作者
  1. 这里这些男女素材
  2. 都是在哪里》?
复制代码
RMXP安装的目录下。

另外一点,
http://rpg.blue/web/htm/news27.htm
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
60
在线时间
61 小时
注册时间
2006-9-15
帖子
946
2
发表于 2009-11-7 19:59:04 | 只看该作者
MS是将素材的名字做了个数组?
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-12-28 04:06

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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