Maslo Posted September 3, 2015 Posted September 3, 2015 I made both Light post [GALITE] and Solar panel [CA0018] buildable, and now I am trying to make them sellable. How can I do that? I dont see any flag related to selling under buildings that can be sold, and setting Unsellable=false does not work either.
cn2mc Posted September 3, 2015 Posted September 3, 2015 I don't know about TS or later C&C, but in TD and RA a building needs a build-up animation to be sellable, so the game can play that in reverse.
Nyerguds Posted September 3, 2015 Posted September 3, 2015 Yup. Buildings need a build-up animation or they are automatically unsellable...
Allen508 Posted September 3, 2015 Posted September 3, 2015 Yup TS you need to have a build up. You can use any build up for your buildings.
Nyerguds Posted September 4, 2015 Posted September 4, 2015 Yeah, a single-frame SHP will probably do fine. It just needs that SHP file. An actual build-up animation is much nicer, though
Holland Posted November 26, 2015 Posted November 26, 2015 Yeah they don't have a selling animation What you can do, is create a new building like a clone from laser, and just add (or change) 'Image=GALITE' If you don't know how to add/clone new buildings (I use the software TibEd), just add this to your map: [buildingTypes] 273=YourBuildingName1 274=YourBuildingName2 [YourBuildingName1] Image=GALITE [YourBuildingName2] Image=CA0018 Just copy the other stuff from laser or something in there and edit from there. I'll put laser's codes without turret here for ya: Name=Laser Strength=500 Armor=wood Prerequisite=NAHAND TechLevel=2 Adjacent=4 ROT=10 Sight=7 Owner=Nod Cost=300 BaseNormal=no Points=30 Power=-40 Crewed=no Capturable=false Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60 MaxDebris=2 Primary=LaserFire2 ThreatPosed=30 ; This value MUST be 0 for all building addons DamageParticleSystems=SparkSys,LGSparkSys IsBaseDefense=yes HasStupidGuardMode=false Sorry dont know how skilled you are with modding The easier thing it, to just use existing building that does have a build up/selling animation, like Light Tower Or sandbags, lol. just edit them to not to be a wall. It might look weird in game tho, but i don't think so.
Nyerguds Posted November 26, 2015 Posted November 26, 2015 Um. Not sure how that is relevant; adding a build-up animation is just a matter of adding a "????make.shp" file.
Allen508 Posted November 26, 2015 Posted November 26, 2015 In TS/RA2 you have to define the buildup in the art.ini with the rest of the building. ; Firestorm Gen [GAFIRE] Cameo=FSDICON ; Icon Image=GAFIRE ; No idea why WW did this Remapable=yes ; Changes to owners color Foundation=3x2 ; Building foundation Buildup=GAFIREMK ; Buildup file DemandLoadBuildup=true ;http://modenc.renegadeprojects.com/DemandLoadBuildup FreeBuildup=true ; Unknow NewTheater=yes ; Tell game to load shp from theater mix files ActiveAnim=GAFIRE_C ; Active Animation file ActiveAnimZAdjust=-100 ;up/down Adjust for Animation ActiveAnimTwo=GAFIRE_B ; Active Animation file ActiveAnimTwoZAdjust=-100 ;up/down Adjust for Animation
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now