|
发表于 2020-6-23 21:21:48
|
显示全部楼层
本帖最后由 阳光刺破心脏 于 2020-6-23 21:33 编辑
tablau material只是控制旗帜图案,图案不显示,图标也在。而且那个选中时候的绿光圈,是没法用代码控制到的。
如果没错的话,你应该是指那个 tableau_game_troop_label_banner 和 script_troop_agent_set_banner。
看起来好像都是设置图标的banner图案的,不知道我的理解有没有问题。去掉图标的话,估计还是要在模型下手。
("game_troop_label_banner", 0, "tableau_with_transparency", 256, 256, -128, 0, 128, 256,
[
(store_script_param, ":banner_mesh", 1),
(cur_tableau_set_background_color, 0xFF888888),
(set_fixed_point_multiplier, 100),
(cur_tableau_set_camera_parameters, 0, 100, 100, 0, 100000),
(init_position, pos1),
(position_set_y, pos1, 120),
(cur_tableau_add_mesh, ":banner_mesh", pos1, 120, 0),
]), common_battle_init_banner = (
ti_on_agent_spawn, 0, 0, [],
[
(store_trigger_param_1, ":agent_no"),
(agent_get_troop_id, ":troop_no", ":agent_no"),
(call_script, "script_troop_agent_set_banner", "tableau_game_troop_label_banner", ":agent_no", ":troop_no"),
]) ("troop_agent_set_banner",
[
(store_script_param, ":tableau_no",1),
(store_script_param, ":agent_no", 2),
(store_script_param, ":troop_no", 3),
(call_script, "script_agent_troop_get_banner_mesh", ":agent_no", ":troop_no"),
(cur_agent_set_banner_tableau_material, ":tableau_no", reg0),
]),
|
评分
-
查看全部评分
鲜花鸡蛋乌木护手骑士团 在2020-6-23 21:47 送朵鲜花 并说:没问题,感谢解答~
|