DarkSheep个人小站

  • 首页
  • 阿里云
    • 优惠活动
    • 应用教程
  • 博主日常
    • 陈年往事
    • 时光相册
    • 阴晴风雨
    • 学思笔记
  • 魔兽地图
    • 源图速递
    • 汉化发布
    • 地图攻略
    • 汉化笔记
    • 汉化教程
    • 编辑器教程
  • 关于肥羊
  • 打赏肥羊
人如蝼蚁,命若尘埃,却依旧想在这世间留下痕迹
  1. 首页
  2. 魔兽地图
  3. 汉化笔记
  4. 正文

《肥羊毁灭记_v7.01a》的汉化笔记

2020年1月21日 1301点热度 0人点赞 0条评论

— — —本文最近由DarkSheep于2020年1月21日下午10时55分更新!— — —

一、关于Australia

trigger gg_trg_Australia=null

call InitTrig_Australia()

call ConditionalTriggerExecute(gg_trg_Australia)

set gg_trg_Australia=CreateTrigger()
call TriggerAddCondition(gg_trg_Australia,Condition(function Trig_Australia_Conditions))
call TriggerAddAction(gg_trg_Australia,function Trig_Australia_Actions)

call ConditionalTriggerExecute(gg_trg_Australia)

function Trig_Australia_Conditions takes nothing returns boolean
return(StringCase(GetPlayerName(Player(0)),false)!=StringCase("rnwjdals",false))
endfunction
function Trig_Australia_Func002C takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Australia_Func003C takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Australia_Func004C takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Australia_Func005C takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Australia_Func006C takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_PLAYING)and(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_EMPTY)
endfunction
function Trig_Australia_Func007C takes nothing returns boolean
return(GetPlayerSlotState(Player(0))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(1))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(2))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(5))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(6))==PLAYER_SLOT_STATE_EMPTY)and(GetPlayerSlotState(Player(7))==PLAYER_SLOT_STATE_PLAYING)
endfunction
function Trig_Australia_Func008Func001C takes nothing returns boolean
return(GetPlayerController(Player(0))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(1))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(2))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(5))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(6))==MAP_CONTROL_COMPUTER)or(GetPlayerController(Player(7))==MAP_CONTROL_COMPUTER)
endfunction
function Trig_Australia_Func008C takes nothing returns boolean
return(Trig_Australia_Func008Func001C())
endfunction
function Trig_Australia_Actions takes nothing returns nothing
if(Trig_Australia_Func002C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
if(Trig_Australia_Func003C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
if(Trig_Australia_Func004C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
if(Trig_Australia_Func005C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
if(Trig_Australia_Func006C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
if(Trig_Australia_Func007C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
if(Trig_Australia_Func008C())then
call CustomDefeatBJ(Player(0),"패배!")
call CustomDefeatBJ(Player(1),"패배!")
call CustomDefeatBJ(Player(2),"패배!")
call CustomDefeatBJ(Player(5),"패배!")
call CustomDefeatBJ(Player(6),"패배!")
call CustomDefeatBJ(Player(7),"패배!")
endif
call DestroyTrigger(GetTriggeringTrigger())
endfunction
function InitTrig_Australia takes nothing returns nothing
set gg_trg_Australia=CreateTrigger()
call TriggerAddCondition(gg_trg_Australia,Condition(function Trig_Australia_Conditions))
call TriggerAddAction(gg_trg_Australia,function Trig_Australia_Actions)
endfunction


二、关于称号激活

废人称号有三个功能。输入 -称号 激活。等级大于等级250级有三件物品:杀戮之剑、遗弃之剑、审判之剑。其中杀戮之剑捡起来会删除角色。


三、关于单人存档

call DestroyTrigger(gg_trg_Save)   ——>   call TriggerExecute(gg_trg_Save)


四、学习心得

关键在于对PLAYER_SLOT_STATE_PLAYING的理解。PLAYER_SLOT_STATE_PLAYING是指正在游戏的玩家。


五、地图优化

经查看外国优化版本JASS,发现它是使用actboy168的W3x2Lni进行优化的。SLK优化可以大大的加快你地图的读图速度。本羊用《肥羊毁灭记_v7.01a》掐秒表的读图测试结果是:未优化读图时间183.08秒,优化后读图时间78秒。(我的笔记本电脑比较老旧,win7系统,Intel Core I3-3217u 1.8GHz ,4G内存,500G机械硬盘,无独立显卡。如果你们的电脑比较新,应该会比本羊读图更快。)

本羊尝试后初步成功(可以进游戏但未深入测试),经验如下:

1、需要W3x2Lni v2.4.4(其他版本的未试验)

2、需要完成的地图(listfile),也就是地图文件列表。否则优化后会有错误。

3、地图拖入后,选择SLK,不勾任何选项,开始。

相关文章

  • 魔兽地图汉化新教程第11章:如何快速更新汉化地图
  • 使用魔兽争霸编辑器碰到的问题
  • 《黑暗前幕_正邪之战 1.75》预览图和载入图替换笔记
  • 肥羊镇最后的30分钟_EX8.修复笔记
  • 肥羊修罗场_2.5 汉化笔记
标签: 暂无
最后更新:2020年1月21日

DarkSheep

给我买杯咖啡吧!感谢您使用肥羊汉化系列地图。如果您觉得地图有趣,给我买杯咖啡吧!您的打赏将激励着我,我将为之继续努力。您可以通过微信或支付宝打赏。

打赏 点赞
< 上一篇
下一篇 >

文章评论

取消回复

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。

DarkSheep

给我买杯咖啡吧!感谢您使用肥羊汉化系列地图。如果您觉得地图有趣,给我买杯咖啡吧!您的打赏将激励着我,我将为之继续努力。您可以通过微信或支付宝打赏。

关于肥羊
打赏肥羊
全博客搜索(非常实用!)
标签聚合
肥羊军团的荣耀战争 肥羊毁灭记 肥羊世纪的咸鱼生活 命运进行曲ORPG 肥羊的圣诞礼物 肥羊修罗场 肥羊们的征途 肥羊镇最后的30分钟 魔兽编辑器教程 肥羊神教的暗黑地牢 肥羊镇的暴虐魔王 五月的肥羊斗兽场 魔兽地图汉化新教程 游戏剧本怎么写 绝地羊岛:快活战场 肥羊竞技场 阿里云 神域镇魂曲 肥羊营地的BOSS战 德州电锯杀羊狼
最新 热点 随机
最新 热点 随机
肥羊的圣诞礼物_1.24 单位建议收集 肥羊的圣诞礼物_1.23 装备合成指南 肥羊的圣诞礼物_1.23 魔兽地图下载 肥羊镇的暴虐魔王_1.48 更新日志速递 肥羊镇最后的30分钟_EX26 更新日志速递 肥羊的圣诞礼物_1.11 魔兽地图下载 《游戏剧本怎么写》读书笔记4 文本 肥羊镇的暴虐魔王_1.47 更新日志速递 肥羊镇的暴虐魔王_1.46 更新日志速递 肥羊镇的暴虐魔王_1.44 更新日志速递
肥羊镇最后的30分钟_EX25 更新日志速递肥羊镇的暴虐魔王_1.46 更新日志速递肥羊镇的暴虐魔王_1.47 更新日志速递《游戏剧本怎么写》读书笔记4 文本肥羊镇的暴虐魔王_1.48 更新日志速递肥羊的圣诞礼物_1.23 魔兽地图下载肥羊的圣诞礼物_1.23 装备合成指南肥羊的圣诞礼物_1.24 单位建议收集肥羊镇的暴虐魔王_1.42 更新日志速递肥羊竞技场_1.03 更新日志速递
肥羊镇的暴虐魔王_1.25 更新日志速递 肥羊遗迹城_1.43 游戏技巧 看《和莎莫的500天》有感 2018.10.27 梦 魔兽编辑器中“跳过剩余动作”的自研笔记 肥羊的圣诞礼物_1.09 魔兽地图下载 肥羊镇最后的30分钟_5.5.8 魔兽地图下载 绝地羊岛:快活战场_test29 魔兽地图下载 肥羊镇最后的30分钟_EX24.5 更新日志速递 肥羊修罗场_1.1.6 地图攻略和隐藏装备
传送门
Irinabot源图库 俄语单词翻译 Irina征战海外

COPYRIGHT © 2021 DarkSheep. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

赣ICP备20000111号-1