Project1

标题: 创建多个窗口皮肤 [打印本页]

作者: 1041235896    时间: 2015-1-2 18:47
标题: 创建多个窗口皮肤
本帖最后由 1041235896 于 2015-1-2 21:24 编辑

首先我想说的是这个肯定 是我做的
我这个平时不喜欢玩白字↑
好吧 其实是从国外转载过来的
汉化了一丢丢,具体还是应该看得懂的

RUBY 代码复制
  1. #==============================================================================#
  2. # [XP] Multiple Colored Menu Script
  3. # Author: Janrae Mendoza
  4. # Description: Uses multiple kinds of window skins for each scene in the menu.
  5. # Official Website: dropsofjanrae.wordpress.com
  6. # Affiliates:
  7. # [url]http://bluemageforum.forumieren.net/[/url]
  8. # [url]http://rpgmakerheaven.forumsv.net[/url]
  9. # [url]http://xasabs.wordpress.com[/url]
  10. # [url]http://atelier-rgss.com[/url]
  11. # You can find this script in: [url]http://rpgmakerheaven.forumsv.net/[/url]
  12. #我是来汉化的,这个东东的主要作用其实就是在不同的场景显示不同的窗口
  13. #但是窗口文件还是得自己准备,,,下面应该能看懂吧
  14. #==============================================================================#
  15. # A different skin for Scene_Menu
  16. class Scene_Menu
  17. alias janrae_different_window_skin_lat main
  18. def main
  19. $game_system.windowskin_name = "菜单" #name of the windowskin, must be
  20. #in the windowskin folder.#汉化
  21. janrae_different_window_skin_lat
  22. $game_system.windowskin_name = $data_system.windowskin_name
  23. end
  24. end
  25. class Scene_Item
  26. alias janrae_different_window_skin_lat main
  27. def main
  28. $game_system.windowskin_name = "项目"#好吧其实是物品
  29. janrae_different_window_skin_lat
  30. $game_system.windowskin_name = $data_system.windowskin_name
  31. end
  32. end
  33. class Scene_Skill
  34. alias janrae_different_window_skin_lat main
  35. def main
  36. $game_system.windowskin_name = "技能"
  37. janrae_different_window_skin_lat
  38. $game_system.windowskin_name = $data_system.windowskin_name
  39. end
  40. end
  41. class Scene_Equip
  42. alias janrae_different_window_skin_lat main
  43. def main
  44. $game_system.windowskin_name = "装备"
  45. janrae_different_window_skin_lat
  46. $game_system.windowskin_name = $data_system.windowskin_name
  47. end
  48. end
  49. class Scene_Status
  50. alias janrae_different_window_skin_lat main
  51. def main
  52. $game_system.windowskin_name = "状态"
  53. janrae_different_window_skin_lat
  54. $game_system.windowskin_name = $data_system.windowskin_name
  55. end
  56. end
  57. class Scene_Save
  58. alias janrae_different_window_skin_lat main
  59. def main
  60. $game_system.windowskin_name = "存档"
  61. janrae_different_window_skin_lat
  62. $game_system.windowskin_name = $data_system.windowskin_name
  63. end
  64. end
  65. class Scene_Load
  66. alias janrae_different_window_skin_lat main
  67. def main
  68. $game_system.windowskin_name = "Load"#好像是负荷什么的,,,好吧其实是读档
  69. janrae_different_window_skin_lat
  70. $game_system.windowskin_name = $data_system.windowskin_name
  71. end
  72. end
  73. class Scene_End
  74. alias janrae_different_window_skin_lat main
  75. def main
  76. $game_system.windowskin_name = "结束"
  77. janrae_different_window_skin_lat
  78. $game_system.windowskin_name = $data_system.windowskin_name
  79. end
  80. end


我想大概就是这样→_→
说实话看国外的论坛真**吃力,
但是为了学英语,
呸,
为了看点新鲜的东西,
呸,,,,,,,,,……还是得用翻译器慢慢翻→_→

作者: taroxd    时间: 2015-1-2 18:48
能把读档翻译成负荷,物品翻译成项目,还真是有你的……
作者: 菊花侠小赵    时间: 2015-1-3 10:13
其实只要在脚本里转到窗口xxxx.new之前和之后加上$game_system.windowskin_name = xxxx
也可以有一样的效果吧




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1