156

回帖

1万

金币

5812

积分

积分
5812
发表于 2022-10-18 10:36:33 | 显示全部楼层 |阅读模式

马上注册,下载996引擎,与更多游戏开发者交流。

您需要 登录 才可以下载或查看,没有账号?注册

×
如题,
想写一个 NPC 能根据玩家UID或者什么玩家唯一的标识获取到像排行榜右边人物实时带着剑甲的样子

有知道的大哥,麻烦告知一下,谢谢
最后回复时间:2022-10-21 09:55:09官方回复了此贴
回复

使用道具 举报

9419

回帖

1万

金币

1万

积分

积分
14743
发表于 2022-10-21 09:55:09 | 显示全部楼层
用前端控件 <UIModel> 面板显示角色内观部件位

参考范例

#IF
#ACT
#SAY
<Img|x=0|y=0|width=30|height=30|bg=1|img=public/1900000651_1.png|show=6>
<Img|children={0,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}|a=4|percentx=50|percenty=50|img=custom/hl/hl_ui/hl_bg.png>
<Layout|id=0|children={1}|x=770|y=5|width=50|height=50|color=x|link=@exit>
<Button|id=1|nimg=custom/hl/hl_ui/close_01.png|pimg=custom/hl/hl_ui/close_02.png|link=@exit>
<Layout|id=2|children={21}|x=300|y=5|width=170|height=30|color=x>
<Text|id=21|a=4|percentx=50|percenty=50|color=100|size=20|outline=2|outlinecolor=0|text=天下第一>
<Layout|id=3|children={31}|x=20|y=62|width=730|height=445|color=x>
<Img|id=31|img=custom/hl/hdtb_ui/diyibeijing.jpg>

<Layout|id=4|children={41,42,43,44,45,46}|x=25|y=60|width=320|height=445|color=x>
<Img|id=41|x=39|y=255|img=custom/hl/hdtb_ui/diyitaizi.png>
<UIModel|id=42|x=165|y=180|scale=1||sex=0|weaponID=<$STR(N$第一男武器内观ID)>|weaponEffectID=<$STR(N$第一男武器特效ID)>#0#0#0|clothID=<$STR(N$第一男衣服内观ID)>|clothEffectID=<$STR(N$第一男衣服特效ID)>#1#0#0>
<RText|id=43|a=4|percentx=50|percenty=74|color=254|size=18|outline=2|outlinecolor=0|text=【天下第一猛男】>
<RText|id=44|a=4|percentx=50|percenty=80|color=253|size=18|outline=2|outlinecolor=0|text=【<<$STR(A273)>/FCOLOR=249>】>
<$STR(S$猛男经验显示)>
<Button|id=46|a=4|percentx=50|percenty=95|color=100|size=18|outline=2|outlinecolor=0|nimg=custom/hl/hl_ui/140_1.png|pimg=custom/hl/hl_ui/140_2.png|text=申请第一猛男|link=@申请第一猛男>

<Layout|id=5|children={51,52,53,54,55,56}|x=430|y=60|width=320|height=445|color=x>
<Img|id=51|x=39|y=255|img=custom/hl/hdtb_ui/diyitaizi.png>
<UIModel|id=52|x=165|y=180|scale=1||sex=1|weaponID=<$STR(N$第一女武器内观ID)>|weaponEffectID=<$STR(N$第一女武器特效ID)>#0#0#0|clothID=<$STR(N$第一女衣服内观ID)>|clothEffectID=<$STR(N$第一女衣服特效ID)>#1#0#0>
<RText|id=53|a=4|percentx=50|percenty=74|color=254|size=18|outline=2|outlinecolor=0|text=【天下第一美女】>
<RText|id=54|a=4|percentx=50|percenty=80|color=253|size=18|outline=2|outlinecolor=0|text=【<<$STR(A274)>/FCOLOR=249>】>
<$STR(S$美女经验显示)>
<Button|id=56|a=4|percentx=50|percenty=95|color=100|size=18|outline=2|outlinecolor=0|nimg=custom/hl/hl_ui/140_1.png|pimg=custom/hl/hl_ui/140_2.png|text=申请第一美女|link=@申请第一美女>

<Text|id=6|a=4|percentx=50|percenty=48|color=254|size=20|outline=2|outlinecolor=0|text=[天下第一属性]>
<Text|id=7|a=4|percentx=50|percenty=53|color=255|size=20|outline=2|outlinecolor=0|text=最大血量+1120>
<Text|id=8|a=4|percentx=50|percenty=58|color=255|size=20|outline=2|outlinecolor=0|text=最大蓝量+540>
<Text|id=9|a=4|percentx=50|percenty=63|color=255|size=20|outline=2|outlinecolor=0|text=人物减伤+5%>
<Button|id=12|x=710.0|y=63.0|nimg=custom/hl/hl_ui/icon_fuhao_02.png|pimg=custom/hl/hl_ui/icon_fuhao_02.png|color=103|size=18|link=@等级榜提示>
<$STR(S$等级榜提示)>
回复

使用道具 举报