Lou 0 Posted October 4, 2010 Ok, I've added new civilian skyscraper, It works fine, but its' lower corner is cut, and this part is invisible. Whats wrong? Share this post Link to post
rexzooly 0 Posted October 4, 2010 Ok, I've added new civilian skyscraper, It works fine, but its' lower corner is cut, and this part is invisible. Whats wrong? do you have some screen shots and what images you basing it off one thats already in the game or one you made, little more detail will help also is this for RA2 or YA. Share this post Link to post
Doctor Destiny 41 Posted October 4, 2010 Ok, I've added new civilian skyscraper, It works fine, but its' lower corner is cut, and this part is invisible. Whats wrong? RA2 has a height limit. The only way to fix it is make an invisible base structure and use the building as its active anim. Damage states work as well. I think garrison might as well, but I'm not sure. You will also need the rubble frames on the dummy structure. Share this post Link to post
Lou 0 Posted October 4, 2010 (edited) Sure, here is an image: this I put in rulesmd: [CASANF19] Name=Bank of America UIName=Name:CASANF19 TechLevel=-1 Strength=1000 Insignificant=yes Nominal=yes Remapable=yes ;RadarInvisible=yes Radar=yes @Doctor Destiny you mean first frame in SHP should be empty? SpySat=yes Points=5 Armor=concrete Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60 ;DestroyAnim=CACHIG05D DebrisAnims=DBRI-WM1,DBRI-WM2,DBRI-WM3,DBRI-WM4,DBRI-WM5,DBRI-WM6 MaxDebris=15 MinDebris=5 ;Selectable=no ;IsBase=no BaseNormal=no ;psst....IsBase isn't a Rules flag Sight=6 ; UC base values ClickRepairable=no CanBeOccupied=yes MaxNumberOccupants=10 ;DistributedFire=yes CanOccupyFire=yes And this in artmd: [CASANF19] Normalized=yes Remapable=yes Foundation=3x5 Height=30 SimpleDamage=no ExtraDamageStage=yes ;Buildup=CAHOSP NewTheater=yes ;ActiveAnim=CARUS03A ;ActiveAnimZAdjust=-100 DemandLoad=true MuzzleFlash0=46,2 ; these are pixel offsets for muzzle flashes from center of base MuzzleFlash1=-70,-2 MuzzleFlash2=74,12 MuzzleFlash3=-40,44 MuzzleFlash4=-12,18 MuzzleFlash5=44,-82 MuzzleFlash6=-66,-58 MuzzleFlash7=74,-28 MuzzleFlash8=18,68 MuzzleFlash9=-10,-32 AddOccupy1=-7,-9 AddOccupy2=-8,-9 AddOccupy3=-9,-7 AddOccupy4=-9,-8 RemoveOccupy1=-4,-7 RemoveOccupy2=-5,-8 RemoveOccupy3=-7,-4 RemoveOccupy4=-8,-5 CanBeHidden=False DamageFireOffset0=32,60 DamageFireOffset1=54,-10 DamageFireOffset2=-30,-4 OccupyHeight=20 CanHideThings=True ; CASANF19D destroy animation ;[CASANF19DM] ;Image=CASANF19DM ;NewTheater=yes ;Rate=320 ;DemandLoad=true ;Shadow=yes ;AltPalette=yes ; use the unit palete Edited October 4, 2010 by Lou Share this post Link to post
Doctor Destiny 41 Posted October 4, 2010 The rules entry is fine, but the art is the issue. The Height is too tall. The [CASANF19] SHP should be blank and you should have the active animation set to the image you want to use. Then the damage state should be done the same way. I knew from your description of the problem the Height was it. Share this post Link to post
Nmenth 291 Posted October 4, 2010 RA2 has a height limit. What is the limit? Share this post Link to post
Nmenth 291 Posted October 4, 2010 It's less than 30. I gathered that much already. I've never made an exceptionally tall building, and do not ever foresee it happening, but I figured it would be good information to know anyway. Share this post Link to post
Doctor Destiny 41 Posted October 4, 2010 I really don't know what the limit is. I'd say don't go above 20. Share this post Link to post
Lou 0 Posted October 5, 2010 I've made casanf19.shp blank, just blue background with 1 frame. Next, I've created new shp CASANF19_A.shp, and put image there. In artmd.ini I've added this string ActiveAnim=CASANF19_A and now I cant see my building at all. Share this post Link to post
Nmenth 291 Posted October 5, 2010 Did you add an Art entry for [CASANF19_A]? The animation needs its own entry... And it needs to be listed in the Animations List in Rules too. Share this post Link to post
Lou 0 Posted October 5, 2010 (edited) ahh. yeah. I forgot. Thanks! i've added animation description in artmd [CASANF19_A] Image=CASANF19_A NewTheater=yes Normalized=yes Start=0 LoopCount=-1 Layer=ground Shadow=yes DemandLoad=true is something wrong? Edited October 5, 2010 by Lou Share this post Link to post
Doctor Destiny 41 Posted October 5, 2010 [CASANF19_A] Image=CASANF19_A NewTheater=yes Normalized=yes Start=0 End=1 LoopCount=-1 Layer=ground Shadow=yes DemandLoad=true Should look like that. [CASANF19_AD] Image=CASANF19_A NewTheater=yes Normalized=yes Start=1 End=2 LoopCount=-1 Layer=ground Shadow=yes DemandLoad=true And damaged. Make sure you add these to the [Animations] list and your main entry. Share this post Link to post
Lou 0 Posted October 7, 2010 Yeah, now I got it to work. I couldn't get it, because SHP should have name cnsanf19_A instead of casanf19_A. But I still have questions. My building is kinda transparent, e.g. I can see water shining through and lightning of explosions, and buildings outline: And, what about occupied state? Should I make animation for this too? What to write in rulesmd and artmd? Share this post Link to post
Doctor Destiny 41 Posted October 7, 2010 You could always specify Transparent=no, but it should default to that. Share this post Link to post
Lou 0 Posted October 7, 2010 (edited) ok, I got it, problem was in height. I made it 30, and image got fine. Now, how do I make it to show occupied state image? Edited October 7, 2010 by Lou Share this post Link to post
Doctor Destiny 41 Posted October 8, 2010 I'm not sure there is a way, unless it takes into account SpecialAnim, or something along those lines... Share this post Link to post