中华MOD网

 找回密码
 立即加入

QQ登录

只需一步,快速开始

查看: 5655|回复: 4

[资料分享] [原创]自用的控制台自动输入,按键精灵脚本![分享]

[复制链接]
发表于 2015-7-21 09:10:31 | 显示全部楼层 |阅读模式
本帖最后由 nozumi 于 2015-7-22 00:18 编辑

------------------------------------------------------------------------------------------------------------------------------

3个独立的脚本,都是修改武将技能的。新建按键精灵脚本,把代码复制进去保存。把武将拉出城或寨,选择武将按下相应脚本的启动热键。

想偷懒的直接下载脚本扔到按键精灵script文件夹
基本技+固有技+辅助技.txt (4.36 KB, 下载次数: 21)
引发技+忠诚度+祛疲劳.txt (2.24 KB, 下载次数: 1)
间谍 使者 商人.txt (1.82 KB, 下载次数: 7)

------------------------------------------------------------------------------------------------------------------------------

先是一般不会变动的
基本技+固有技+辅助技(默认残暴,安身三。需要仁义和其他追求的自改)

KeyPress 192,1
SayString "give_trait this Jn1000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn2000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn3000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn4000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn5000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn1001 7"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn2001 2"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn3001 2"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn4001 2"
KeyPress 13,1
Delay 100
SayString "give_trait this Jn5001 2"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA1000 6"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA2000 6"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA3000 4"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA4000 4"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA5000 4"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA6000 4"
KeyPress 13,1
Delay 100
SayString "remove_trait this JnA7000"
KeyPress 13,1
Delay 100
SayString "give_trait this JnB7000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA9000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg1000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg2000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg3000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg4000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg5000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg6000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg7000 0"
KeyPress 13,1
Delay 100
SayString "give_trait this Jnxg6000 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnWaterA4000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnWaterB1100 6"
KeyPress 13,1
Delay 100
SayString "give_trait this JnWaterB2100 6"
KeyPress 13,1
Delay 100
SayString "give_trait this JnWaterB3100 6"
KeyPress 13,1
Delay 100
SayString "give_trait this JnSpyA1000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnSpyB3100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnSpyB2100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnSpyB1100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1010JnQD-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1020JnYX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1030JnSY-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1040JnQJ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1050JnJM-A 0"
KeyPress 13,1
Delay 100
SayString "give_trait this A1060JnJD-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1070JnFS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1080JnHQ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1090JnLJ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this A1100JnTB-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2010JnNY-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2030JnZS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2040JnSY-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2050JnRZ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2060JnAM-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2070JnZA-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2080JnCK-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2090JnZC-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2100JnZB-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2110JnXS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2120JnDB-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2130JnWC-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2140JnSJ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2150JnJY-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2160JnDC-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2170JnZC-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2180JnQM-A 3"
KeyPress 13,1
Delay 100

------------------------------------------------------------------------------------------------------------------------------

接下来是会变动的部分
引发技+忠诚度+祛疲劳(奋迅长驱运输经常变动,祛除嗜酒、伤病、行军疲惫、进攻疲惫、防御疲惫、受灾疲惫,镇压造成的民心丧失,怕水两项因为不经常出现就大家手动吧。)

KeyPress 192,1
SayString "give_trait this C3010JnFH-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3020JnFS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3030JnTT-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3040JnJS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3050JnSJ-A 0"
KeyPress 13,1
Delay 100
SayString "give_trait this C3060JnSX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3070JnBJ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3080JnQJ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3090JnNX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3100JnPX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3110JnQJ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3120JnQB-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3130JnSQ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3140JnCZ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3150JnBC-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3160JnAY-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3170JnJX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3180JnFX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3190JnCQ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3200JnYS-A 3"
KeyPress 13,1
Delay 100
SayString "remove_trait this Z9010JnSB-A"
KeyPress 13,1
Delay 100
SayString "remove_trait this Z9020JnXP-A"
KeyPress 13,1
Delay 100
SayString "remove_trait this Z9030JnGP-A"
KeyPress 13,1
Delay 100
SayString "remove_trait this Z9040JnFP-A"
KeyPress 13,1
Delay 100
SayString "remove_trait this Z9050JnSZ-A"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA8000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnB8000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnB7100 2"
KeyPress 13,1
Delay 100
SayString "give_trait this A1070JnFS-FD-A 2"
KeyPress 13,1
Delay 100

------------------------------------------------------------------------------------------------------------------------------

最后是万能事务官
间谍+使者+商人(三种通用,都加了算盘。因为男人加个贤淑有点尴尬,有需要通用到公主身上的话在末尾加。)

KeyPress 192,1
SayString "give_trait this JnB8000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnA8000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnSpyA1000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnDiplomatA1000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this JnmerchantA1000 9"
KeyPress 13,1
Delay 100
SayString "give_trait this give_trait this JnSpyB3100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this give_trait this JnSpyB2100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this give_trait this JnSpyB1100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnDiplomatB3100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnDiplomatB2100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnDiplomatB1100 3"
KeyPress 13,1
Delay 100
SayString "give_trait this GoodMerchant 4"
KeyPress 13,1
Delay 100
SayString "give_trait this B2040JnSY-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2080JnCK-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this B2170JnZC-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3020JnFS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3040JnJS-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3170JnJX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3180JnFX-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this C3190JnCQ-A 3"
KeyPress 13,1
Delay 100
SayString "give_trait this JnB7100 2"
KeyPress 13,1
Delay 100
SayString "give_ancillary this suanpan"
KeyPress 13,1
Delay 100

*************************************************
SayString "give_trait this gongzhu9"
KeyPress 13,1
Delay 100
//需要脚本公主通用的脚本末尾添加上边的部分。
------------------------------------------------------------------------------------------------------------------------------


加钱、加人、完成建筑的脚本请移步sunwayking兄的帖子。
http://www.1mod.org/thread-101053-1-1.html




发帖求助前要善用【网站搜索】功能,那里可能会有你要找的答案

中华MOD网推荐搜索:https://kan.1mod.org/

中华MOD网新浪微博:https://weibo.com/1mod

中华MOD网推荐浏览器点击我下载

中华MOD网腾讯微信:All1mod 或首页左边

中华MOD网游戏帮助Q群:218311682

 楼主| 发表于 2015-7-21 09:19:33 | 显示全部楼层
民心丧失可以加残暴,但是负面效果也多。所以没加!英雄技能加给无名大众脸也有点不值钱,所以也没加。脚本的目的是减少手动输入量!

发帖求助前要善用【网站搜索】功能,那里可能会有你要找的答案

中华MOD网推荐搜索:https://kan.1mod.org/

中华MOD网新浪微博:https://weibo.com/1mod

中华MOD网推荐浏览器点击我下载

中华MOD网腾讯微信:All1mod 或首页左边

中华MOD网游戏帮助Q群:218311682

回复 鲜花 砖头

使用道具 举报

发表于 2015-7-21 09:29:22 | 显示全部楼层
路过看看

发帖求助前要善用【网站搜索】功能,那里可能会有你要找的答案

中华MOD网推荐搜索:https://kan.1mod.org/

中华MOD网新浪微博:https://weibo.com/1mod

中华MOD网推荐浏览器点击我下载

中华MOD网腾讯微信:All1mod 或首页左边

中华MOD网游戏帮助Q群:218311682

回复 鲜花 砖头

使用道具 举报

发表于 2015-7-21 12:38:39 | 显示全部楼层
进来看看先

发帖求助前要善用【网站搜索】功能,那里可能会有你要找的答案

中华MOD网推荐搜索:https://kan.1mod.org/

中华MOD网新浪微博:https://weibo.com/1mod

中华MOD网推荐浏览器点击我下载

中华MOD网腾讯微信:All1mod 或首页左边

中华MOD网游戏帮助Q群:218311682

回复 鲜花 砖头

使用道具 举报

发表于 2015-7-22 00:09:42 | 显示全部楼层
谢谢分享

发帖求助前要善用【网站搜索】功能,那里可能会有你要找的答案

中华MOD网推荐搜索:https://kan.1mod.org/

中华MOD网新浪微博:https://weibo.com/1mod

中华MOD网推荐浏览器点击我下载

中华MOD网腾讯微信:All1mod 或首页左边

中华MOD网游戏帮助Q群:218311682

回复 鲜花 砖头

使用道具 举报

您需要登录后才可以回帖 登录 | 立即加入

本版积分规则

关闭

站长推荐上一条 /2 下一条

QQ|Archiver|手机版|手机专用客户端|中华MOD官网

GMT+8, 2024-11-26 13:09

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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