注册 | 登录

游侠NETSHOW论坛





游侠NETSHOW论坛 游侠NETSHOW论坛 全面战争全系列MOD讨论区 强迫对方接受协议怎样操作
查看: 5126|回复: 6
打印 上一主题 下一主题

[求助] 强迫对方接受协议怎样操作 [复制链接]

帖子
64
精华
0
积分
32
金钱
198
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2008-6-19 10:56:04 |只看该作者 |倒序浏览
强迫对方接受协议的命令是FORCE_DIPLOMACY,试过几次输入,但均无作用,怀疑操作过程不当。但不知正确的操作过程或步骤是怎样的,请知晓的高手不吝赐教   

使用道具 举报

帖子
36
精华
0
积分
18
金钱
79
荣誉
0
人气
0
评议
0
沙发
发表于 2009-7-14 22:22:40 |只看该作者
同问,连英文论坛都去了,还是不知道咋办……

使用道具 举报

魏 儒林校尉

帖子
1024
精华
0
积分
543
金钱
3957
荣誉
3
人气
1
评议
0
板凳
发表于 2009-7-15 12:23:12 |只看该作者
不是伪秘籍
只是有些命令只能在脚本里实现 无法通过控制台

使用道具 举报

帖子
182
精华
0
积分
92
金钱
455
荣誉
0
人气
0
评议
0
地板
发表于 2009-8-21 19:54:51 |只看该作者
楼主的想法很好。希望达人能够出来解答一下。
You may say I am a dreamer, but I'm not the only one.

使用道具 举报

欢乐颂军乐手

帖子
7045
精华
4
积分
5184
金钱
13472
荣誉
86
人气
16
评议
0
5#
发表于 2009-8-21 20:01:17 |只看该作者
解答同4楼。控制台里出现的数据分两种,一种是大家通常所说的秘籍,是允许玩家手输的作弊码。另种是脚本运行指令,指令不能操作。

使用道具 举报

帖子
789
精华
0
积分
405
金钱
1127
荣誉
1
人气
0
评议
0
6#
发表于 2009-8-24 11:35:53 |只看该作者
对了,茄子怎么不在你的补丁里头加上强制外交那个脚本啊,去找了下教程,应该是比较简单的:

How to add a force diplomacy option.

You need to modify two files...

data/export_descr_advice.txt
data/text/export_advice.txt

...and add one.

data/scripts/show_me/Force_Diplomacy.txt

1. data/export_descr_advice.txt

Replace the existing Help_UI_Panel_Diplomacy_Early_Advice_Thread with this:

;------------------------------------------
AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread
    GameArea Campaign

    Item Help_UI_Panel_Diplomacy_Early_Advice_Text_01
        Suppressible n
        Uninhibitable
        Verbosity  0
        Threshold  1
        Attitude Normal
        Presentation Default
        Title Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title
        Script scripts\show_me\Force_Diplomacy.txt
        Text Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Text1

Replace the existing 2085B_UI_Panel_Diplomacy_Help_Trigger trigger with this:

;------------------------------------------
Trigger 2085B_UI_Panel_Diplomacy_Help_Trigger
    WhenToTest ScrollAdviceRequested

    Condition ScrollAdviceRequested diplomacy_scroll

    AdviceThread Help_UI_Panel_Diplomacy_Early_Advice_Thread  0

2. data/text/export_advice.txt (optional)

Replace the existing Help_UI_Panel_Diplomacy_Early_Advice entries with these:

?-------------------

{Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Title}        Force Diplomacy

{Help_UI_Panel_Diplomacy_Early_Advice_Text_01_Text1}
You can force this faction to accept your offer by clicking on the "show me how" button.

3. data/scripts/show_me/Force_Diplomacy.txt
Here's the script itself:

script
        declare_show_me
        declare_counter loop

        monitor_event AbandonShowMe        TrueCondition
                suspend_unscripted_advice false
                console_command force_diplomacy off
                terminate_script
        end_monitor       

        monitor_event ScrollClosed ScrollClosed diplomacy_scroll
                ui_flash_stop
                suspend_unscripted_advice false
                console_command force_diplomacy off
                terminate_script
        end_monitor               
       
        suspend_unscripted_advice true
       
        console_command force_diplomacy accept

        while I_CompareCounter loop = 0
        end_while
       
        suspend_unscripted_advice false
end_script
i came,i saw,i fleeeeee........?
those damned cowards!

玩罗马的尴尬

使用道具 举报

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

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-9-1 16:11 , Processed in 0.357271 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到