幕府将军2全面战争 修改脚本内置代码 scripting。lua
更新时间:2024-05-26 19:23:01 阅读量: 综合文库 文档下载
- 幕府将军2全面战争推荐度:
- 相关推荐
------------------------------------------------------------------------------- ------------------------------ SCRIPT SETUP ----------------------------------- ------------------------------------------------------------------------------- local core = require \local advice = require \local scripting = require \local camera_pan = 0 local new_game = false local panning = false
local becoming_shogun_advice = false
EpisodicScripting = scripting
scripting.SetCampaign(\out.ting(\
local function OnNewCampaignStarted(context) new_game = true becoming_shogun_advice = true scripting.game_interface:add_restricted_building_level_record(\e_Port\ scripting.game_interface:add_restricted_unit_record(\ scripting.game_interface:add_restricted_unit_record(\ -- Unlock the nanban port for the Otomo and Shimazu (just in case they lose it) scripting.game_interface:remove_restricted_building_level_record_for_faction(\3_Nanban_Trade_Port\ scripting.game_interface:remove_restricted_building_level_record_for_faction(\3_Nanban_Trade_Port\ end
local function OnUICreated(context) if scripting.IsOnCampaignMap() then if new_game and not CampaignUI.IsMultiplayer() then -- Add black screen cover, hide pop-in CampaignUI.ToggleScreenCover(true) CampaignUI.ToggleCinematicBorders(true) if conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\
out.ting(\scripting.game_interface:take_shroud_snapshot()
scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\scripting.game_interface:override_ui(\scripting.game_interface:steal_user_input(true)
scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.676) CampaignUI.SetCameraHeading(-0.98)
CampaignUI.SetCameraTargetInstant(198.0, -34.0) new_game = false
elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true) scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraHeading(0.02) CampaignUI.SetCameraTargetInstant(-155.0, -112.0) new_game = false elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true) scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.68) CampaignUI.SetCameraHeading(0.5) CampaignUI.SetCameraTargetInstant(-142.0, -152.0) new_game = false elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud()
scripting.game_interface:override_ui(\scripting.game_interface:override_ui(\scripting.game_interface:steal_user_input(true)
scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(1.0) CampaignUI.SetCameraHeading(-0.87)
CampaignUI.SetCameraTargetInstant(-248.0, -162.0) new_game = false
elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true) scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.68) CampaignUI.SetCameraHeading(0.69) CampaignUI.SetCameraTargetInstant(-23.0, -156.0) new_game = false
elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true) scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.8) CampaignUI.SetCameraHeading(0.26) CampaignUI.SetCameraTargetInstant(39.0, -157.0) new_game = false elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\
scripting.game_interface:override_ui(\scripting.game_interface:steal_user_input(true)
scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.88) CampaignUI.SetCameraHeading(-0.49)
CampaignUI.SetCameraTargetInstant(4.0, -160.0) new_game = false
elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true) scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.676) CampaignUI.SetCameraHeading(0.19) CampaignUI.SetCameraTargetInstant(-41.0, -158.0) new_game = false elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true) scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.7) CampaignUI.SetCameraHeading(-0.36) CampaignUI.SetCameraTargetInstant(57.0, -165.0) new_game = false elseif conditions.FactionKeyIsLocal(\ scripting.game_interface:register_movies(\ out.ting(\ scripting.game_interface:take_shroud_snapshot() scripting.game_interface:make_neighbouring_regions_visible_in_shroud() scripting.game_interface:override_ui(\ scripting.game_interface:override_ui(\ scripting.game_interface:steal_user_input(true)
scripting.game_interface:set_zoom_limit(1.19, 0.676) CampaignUI.SetCameraZoom(0.92) CampaignUI.SetCameraHeading(0.047) CampaignUI.SetCameraTargetInstant(76.4, -106.0) new_game = false else CampaignUI.ToggleCinematicBorders(false) CampaignUI.ToggleScreenCover(false) end elseif new_game and CampaignUI.IsMultiplayer() then scripting.game_interface:set_zoom_limit(1.1, 0.8) CampaignUI.SetCameraZoom(0.95) end end end
-------------------------------------------------------------------------------------------------------------------------
-- 稰谅 twcenter (http://www.twcenter.net/forums/forumdisplay.php?f=1572) husserlTW, deathblow
-- 稰谅 笴栏膀 roygbiv -- Τ好拜 叫笴栏膀癚阶跋ず祇拜 http://www.gamebase.com.tw/forum/1838/thread/ALL
-------------------------------------------------------------------------------------------------------------------------
events.FactionTurnStart[#events.FactionTurnStart+1] = function(context) -- 簿埃瓜癵铭 --scripting.game_interface:show_shroud(false) -- 闽超玵瓁 scripting.game_interface:disable_rebellions_and_revolutions_worldwide(true) if CampaignUI.IsPlayersTurn() == true and conditions.TurnNumber(context) == 1 then -- 糤戈 effect.adjust_treasury(999999, context) if conditions.FactionName(\context) and conditions.FactionIsHuman(\ -- ﹙и场產壁 scripting.game_interface:apply_effect_bundle(\ scripting.game_interface:apply_effect_bundle(\ scripting.game_interface:apply_effect_bundle(\ scripting.game_interface:apply_effect_bundle(\ scripting.game_interface:apply_effect_bundle(\
正在阅读:
幕府将军2全面战争 修改脚本内置代码 scripting。lua05-26
社会保险政策解读(2014年6月)08-21
基于全基因组snp数据如何进行主成分分析11-14
2018最新煤矿职工谈心谈话记录大全10-17
回忆如水作文700字07-14
2015年土壤学实习报告05-27
竞聘信息中心主任工作设想02-20
环氧己烷反应器设计04-28
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 全面战争
- 幕府
- 脚本
- 内置
- scripting
- 将军
- 修改
- 代码
- lua
- 华电信息检索期末考试-判断题库
- 社会治安综合治理办公室
- 人教版小学五年级上册数学总复习资料
- 公共关系复习笔记
- 航空发展史
- 商品房买卖合同纠纷起诉书答辩状代理词
- 新版2015秋电大实用写作网上作业参考答案..
- 主变压器的选择
- 软件技术基础 实验四:栈和队列的操作实现
- 1.net应用程序01 - 图文
- 江苏大学2016年自动化PLC课程设计任务
- 施工单位工程联系单最新
- “强担当,重实干,奋力谱写绿色赶超新篇章”微型党课word精品模
- 石河子大学毕业设计11
- WCDMA RNP 传播模型校正数据分析指导书
- 辩论赛主持稿改
- 定积分的概念说课稿
- 2014年云南省交通厅事业单位基础知识要点整理
- 新形势下以人为本思想在旧城改造规划中的应用
- 2011年司法考试失败原因分析及2012年司考注意事项