Renegade Projects Network Forums
Animation is behind shp unit - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: Modding (https://forums.renegadeprojects.com/forumdisplay.php?fid=3)
+--- Forum: Red Alert 2 & Yuri's Revenge Editing (https://forums.renegadeprojects.com/forumdisplay.php?fid=8)
+--- Thread: Animation is behind shp unit (/showthread.php?tid=1363)



Animation is behind shp unit - Joe - 30.08.2009

Hello, my weapon fire animation is behind the shp unit which is a problem. I tried some tags, negative and posetive values, no good results.

Quote:[DownLaser]
Damage=50
ROF=40
Range=3
Speed=100
Projectile=Invisible
Warhead=DownLaserWH
Report=KazonFire
LaserInnerColor=255,255,0
LaserOuterColor=255,255,0
IsLaser=true
;OmniFire=yes
Anim=KAZONFIRE_N,KAZONFIRE_NE,KAZONFIRE_E,KAZONFIRE_SE,KAZONFIRE_S,KAZONFIRE_SW,KAZONFIRE_W,KAZONFIRE_NW ;These are the animations that are behind the unit, which is the problem

Quote:[KAZONFIRE_N]
ZAdjust=10
Layer=Top

[KAZONFIRE_NE]
ZAdjust=10
Layer=Top

[KAZONFIRE_E]
ZAdjust=10
Layer=Top

[KAZONFIRE_SE]
ZAdjust=10
Layer=Top

[KAZONFIRE_S]
ZAdjust=10
Layer=Top

[KAZONFIRE_SW]
ZAdjust=10
Layer=Top

[KAZONFIRE_W]
ZAdjust=10
Layer=Top

[KAZONFIRE_NW]
ZAdjust=10
Layer=Top

/Joe


RE: Animation is behind shp unit - Guest - 30.08.2009

any1?


RE: Animation is behind shp unit - Nighthawk - 30.08.2009

Try changing the third number on the unit's xxxFireFLH. I can't remember whether it needs to be more positive or negative though...


RE: Animation is behind shp unit - Guest - 31.08.2009

Not working. I also tried YSortAdjust=, Layer=top and Flat=yes tags


RE: Animation is behind shp unit - Renegade - 31.08.2009

Maybe the problem is with the unit?


RE: Animation is behind shp unit - Guest - 31.08.2009

what kind of problem could there be in the unit? CanBeHidden= is a building tag


RE: Animation is behind shp unit - Renegade - 01.09.2009

Well I don't know...would have to see the code.
Have you tried taking out ZAdjust and Layer?
Given that they relate to sorting, and you have sorting issues, that should be a first try.