- 战神引擎
- tiantang2正版手游全套源码+前后端编译教程 4月前
- 【必看】神龙传奇游戏介绍(技能、佣兵、特戒、打造等介绍) 3月前
- 四川广汉一鞭炮厂爆炸腾起“蘑菇云” 附近民房窗户被震碎 2020-7-9
- 备份时间表。 2020-7-3
-
这只是让你显示,。 要实现套装属性要写脚本
比如下面的脚本, 这个脚本利用了盘古插件的高级属性
{$I gaojishuxing.pas} procedure TZdemo(); var toukui , wuqi , xunzhang , douli , yifu , yupei , zuos , yous , zuoj , yuoj , xuezi , yaodai , fudu , xianglian,dunpai : string; begin //0衣服 1武器 2勋章 3项链 4头盔 5左手镯 6右手镯 7左戒指 8右戒指 9毒符 10腰带 11靴子 13斗笠 29血石 //14玉佩(29) 15 盾牌(34) toukui := This_Player.GetItemNameOnBody(4); yupei := This_Player.GetItemNameOnBody(14); zuos := This_Player.GetItemNameOnBody(5); yous := This_Player.GetItemNameOnBody(6); zuoj := This_Player.GetItemNameOnBody(7); yuoj := This_Player.GetItemNameOnBody(8); xuezi := This_Player.GetItemNameOnBody(11); yaodai := This_Player.GetItemNameOnBody(10); xianglian := This_Player.GetItemNameOnBody(3); wuqi := This_Player.GetItemNameOnBody(1); yifu := This_Player.GetItemNameOnBody(0); fudu := This_Player.GetItemNameOnBody(9); dunpai := This_Player.GetItemNameOnBody(15); douli := This_Player.GetItemNameOnBody(13); xunzhang := This_Player.GetItemNameOnBody(2); if (dunpai = '一级盾牌') then begin if This_player.GetV(194,1) <> 1 then begin This_player.setV(194,1,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+1)); This_Player.setV(22,5,(This_Player.getV(22,5)+1)); end; end else begin if This_player.GetV(194,1) = 1 then begin This_player.setV(194,1,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-1)); This_Player.setV(22,5,(This_Player.getV(22,5)-1)); end; end; if (dunpai = '二级盾牌') then begin if This_player.GetV(194,2) <> 1 then begin This_player.setV(194,2,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+2)); This_Player.setV(22,5,(This_Player.getV(22,5)+2)); end; end else begin if This_player.GetV(194,2) = 1 then begin This_player.setV(194,2,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-2)); This_Player.setV(22,5,(This_Player.getV(22,5)-2)); end; end; if (dunpai = '三级盾牌') then begin if This_player.GetV(194,3) <> 1 then begin This_player.setV(194,3,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+3)); This_Player.setV(22,5,(This_Player.getV(22,5)+3)); ServerSay('玩家【' + This_Player.Name + '】chenggong!', 2); end; end else begin if This_player.GetV(194,3) = 1 then begin This_player.setV(194,3,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-3)); This_Player.setV(22,5,(This_Player.getV(22,5)-3)); ServerSay('玩家【' + This_Player.Name + '】quxia!', 2); end; end; if (dunpai = '四级盾牌') then begin if This_player.GetV(194,4) <> 1 then begin This_player.setV(194,4,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+4)); This_Player.setV(22,5,(This_Player.getV(22,5)+4)); end; end else begin if This_player.GetV(194,4) = 1 then begin This_player.setV(194,4,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-4)); This_Player.setV(22,5,(This_Player.getV(22,5)-4)); end; end; if (dunpai = '五级盾牌') then begin if This_player.GetV(194,5) <> 1 then begin This_player.setV(194,5,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+5)); This_Player.setV(22,5,(This_Player.getV(22,5)+5)); end; end else begin if This_player.GetV(194,5) = 1 then begin This_player.setV(194,4,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-5)); This_Player.setV(22,5,(This_Player.getV(22,5)-5)); end; end; if (dunpai = '六级盾牌') then begin if This_player.GetV(194,6) <> 1 then begin This_player.setV(194,6,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+6)); This_Player.setV(22,5,(This_Player.getV(22,5)+6)); end; end else begin if This_player.GetV(194,6) = 1 then begin This_player.setV(194,6,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-6)); This_Player.setV(22,5,(This_Player.getV(22,5)-6)); end; end; if (dunpai = '七级盾牌') then begin if This_player.GetV(194,7) <> 1 then begin This_player.setV(194,7,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+7)); This_Player.setV(22,5,(This_Player.getV(22,5)+7)); end; end else begin if This_player.GetV(194,7) = 1 then begin This_player.setV(194,7,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-7)); This_Player.setV(22,5,(This_Player.getV(22,5)-7)); end; end; if (dunpai = '八级盾牌') then begin if This_player.GetV(194,8) <> 1 then begin This_player.setV(194,8,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+8)); This_Player.setV(22,5,(This_Player.getV(22,5)+8)); end; end else begin if This_player.GetV(194,8) = 1 then begin This_player.setV(194,8,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-8)); This_Player.setV(22,5,(This_Player.getV(22,5)-8)); end; end; if (dunpai = '九级盾牌') then begin if This_player.GetV(194,9) <> 1 then begin This_player.setV(194,9,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+9)); This_Player.setV(22,5,(This_Player.getV(22,5)+9)); end; end else begin if This_player.GetV(194,9) = 1 then begin This_player.setV(194,9,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-9)); This_Player.setV(22,5,(This_Player.getV(22,5)-9)); end; end; if (dunpai = '十级盾牌' ) then begin if This_player.GetV(194,10) <> 1 then begin This_player.setV(194,10,1); This_Player.setV(21,5,(This_Player.GetV(21,5)+10)); This_Player.setV(22,5,(This_Player.getV(22,5)+10)); end; end else begin if This_player.GetV(194,10) = 1 then begin This_player.setV(194,10,0); This_Player.setV(21,5,(This_Player.GetV(21,5)-10)); This_Player.setV(22,5,(This_Player.getV(22,5)-10)); end; end;
-
如何知道setV(194,10,0),getV等数字的具体含义,网上没有私人变量里面的数字含义
-
0-255,这是自定义,首先你要看你版本的变量,有没有使用过,如果没试用过就可以拿来使用,如果要用使用过的,你要知道他使用的意思 s好像是私人变量,g是全局变量 194,100,0 这是我自己写的 194,100 是定义变量名,0是这个变量的值
-
在我群里吗,@我问
-
怎么看有没有使用过 . 我不知道你的群号
-
974343395 这个不好看使用没,所以最好设置大一点
-
制作套装攻略
1 要开启盘古引擎,( 高级属性 ),穿戴触发
2 把盘古的2个DLL需要懂的放到D盘GS1目录下,(怕出麻烦)
3 盘古里面的PsMapQuest,RunQuest.pas文件里面的功能代码函数要写进同一个D盘文件名,而且要引用套装脚本名字
4 套装脚本要引用高级属性脚本,而且把高级脚本里面的函数写到套装脚本末尾处
5 套装脚本与高级属性脚本放到 D:\mud2.0\Mir200\Envir\CommonScripts 下
- 战神引擎
- V8
- 安卓
- 脚本
- 传奇
- lua
- Linux
- 天花板
- 冰雪
- 手工端
- 手游
- 数据库
- 系统
- unity
- 666
- 原神
- 游戏
- 传奇3
- 单机
- 热个人人格
- 176
- 复古
- 野径云俱黑赶快
- 群服
- CentOS
- 特色
- 存档
- 破解版
- 问题
- 盘古
- 离线版
- 话题
- 图片
- 格式
- 沉默
- 光芒引擎
- 说明书
- 白猪
- iPhone
- 君临
- 阅读
- 小说
- Controller
- 代码
- TeamViewer
- 向日葵
- 富士康
- 真三国
- sql
- 攻略
- 雷神
- 新春
- 情怀
- 魔兽
- 单机传奇
- 酷狗
- 下载
- 探秘
- 3proxy
- 登录
- sxg
- Gee
- 丛林肉搏
- 第一版
- 苹果
- XO引擎
- socks5
- 硬盘
- 检测
- 翻墙
- 黑神话
- 黑神话悟空
- 热血传奇
- 客户端
1116
0
7
返回
随便看看
最新回复 (7)
版块热门