|
本帖最后由 Zero_Fanker 于 2015-6-1 15:50 编辑
最近在搞第四阵营的机场,然后根据之前有人在论坛里发的可以调整机位的x,y偏移来实现悬停在有高度的平台上的,原帖在此:[黑科技]非通用灰鸡停机位置调整方法http://bbs.ra2diy.com/forum.php?mod=viewthread&tid=11498
(出处: 红警DIY论坛)
经过一晚上的机位调整之后,还是出现了机位遮住了灰机本体的BUG
于是我发现了建筑代码里一般都会有的这些参数:
RemoveOccupyN=x,y
AddOccupyN=x,y
看了art的教程,也看了原版art的注解,这个到底是指让指定坐标的建筑图像置于单位之上/之下
还是说仅仅是影响游戏选单中“显示隐藏物件”中判定是否被隐藏的参数设定呢?
如果是前者,这个坐标应该怎么计算,以谁为原点
如果是后者,那我应该如何解决这个机位被遮挡的问题呢
以下是我的art设定:
[TAAIRC]
Remapable=yes
Cameo=TAAIRCICON
Foundation=4x4
Height=7
Flat=yes; while this is a valid BuilType flag, it does nothing.
Buildup=44mk
BibShape=TAAIRCBB
ZShapePointMove=60,30 ; SJM is fixing zshape/zshapelocky problems, changed from 0,0
DemandLoadBuildup=true
FreeBuildup=true
NewTheater=yes
OccupyHeight=5
DamageFireOffset0=-5,11
DockingOffset0=-450,-450,0;-256,-128,0;
DockingOffset1=-450,0,0;-256,128,0;
DockingOffset2=-20,-80,0;0,-128,0
DockingOffset3=0,-450,0;0,128,0
ActiveAnim=TAAIRC_A
ActiveAnimDamaged=TAAIRC_AD
ActiveAnimZAdjust=0
ActiveAnimYSort=362
;ActiveAnimTwo=TAPILE_B
;ActiveAnimTwoDamaged=TAPILE_B
;ActiveAnimTwoZAdjust=0
;ActiveAnimTwoYSort=362
;ActiveAnimTwoZAdjust=-142
CanHideThings=True
CanBeHidden=False
RemoveOccupy1=0,0
RemoveOccupy2=1,0
RemoveOccupy3=2,0
RemoveOccupy4=1,1
RemoveOccupy5=2,2
[TAAIRCBB]
Layer=ground
YSort=362
ZAdjust=-200
[TAAIRC_A]
Normalized=yes
LoopStart=0
LoopEnd=19
LoopCount=-1
Rate=200
Layer=ground
NewTheater=yes
Shadow=yes
[TAAIRC_AD]
Image=TAAIRC_A
Normalized=yes
LoopStart=20
LoopEnd=39
LoopCount=-1
Rate=200
Layer=ground
NewTheater=yes
Shadow=yes
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|