Jump to content

Leo Wang

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation

0 Neutral
  1. Here's the cfg file. I copied it from that of the stock Gigantor solar array and made some changes. PART { name = WPT_Panel module = Part author = Leo Wang MODEL { model = Tanabata/Parts/Electrical/WPT_Panel/WPT_Panel scale = 0.01,0.01,0.01 texture = WPT_Panel_texture, Tanabata/Parts/Electrical/WPT_Panel/WPT_Panel_texture } rescaleFactor = 1 node_attach = 0.0, 0.0, 0.0, 1.0, 0.0, 0.0 TechRequired = largeElectrics entryCost = 14500 cost = 3000 category = Electrical subcategory = 0 title = WPT Panel manufacturer = SEDS Japan description = Deployable panels for the Tanabata satellites. Include WPT antennas on one side and solar cells on the other. attachRules = 0,1,0,0,1 mass = 0.3 dragModelType = default maximum_drag = 0.2 minimum_drag = 0.2 angularDrag = 1 crashTolerance = 8 maxTemp = 1200 // = 3200 bulkheadProfiles = srf thermalMassModifier = 2.0 emissiveConstant = 0.95 heatConductivity = 0.04 // 1/3 the default tags = #autoLOC_500381 //#autoLOC_500381 = charge deploy e/c elect energ extend fold generat (light panel photo power retract sun track unfold volt watt MODULE { name = ModuleDeployableSolarPanel isTracking = False secondaryTransformName = suncatcher pivotName = suncatcher resourceName = ElectricCharge chargeRate = 24.4 animationName = Deploy panels extendActionName = Deploy <<1>> retractActionName = Retract <<1>> extendpanelsActionName = Toggle <<1>> } }
  2. Here are the screenshots. Sorry for the messed up order because it's very difficult to rearrange them with imgur's low resolution preview. https://imgur.com/a/xhoJRvn
  3. But how do I ensure that the scale is both 1,1,1 at the start and the end for an antenna object that extends?
  4. I created a part that is supposed to be about 35cm wide, and the parts menu in the VAB shows the scale correctly. However, when I put the part into the editor, it becomes 35m wide (The values of the dimensions are the same but the units changed from cm to m). The problem is probably with the animation because the scale was correct before I added a module in the .cfg file that uses the animation, but I don't know what is wrong with it since the animation worked without problem in blender and unity. The animation involves both rotation and scaling of several objects (a deployable solar array and antennas that extend).
  5. I'm making a part that contains solar panels, and ModuleDeployableSolarPanel needs a secondary transform called suncatcher in the config I checked. I've tried googling it but all the tutorials are inaccessible. How do I set up a suncatcher in Unity? Is there any other thing I need to do in Unity to make a solar panel? Thanks.
  6. UPDATE: I don't know why but I set the origin of the "Cube" to (0,0,0) in blender and everything worked. I am trying to make a simple part, a cubesat deployer with a door that can be opened. The part looks right in Blender and Unity, with the texture and animation. However, when I open it in KSP, the position of the door is off, there is no texture, and I cannot select the part by clicking on it. How do I fix this? I am using Blender 2.79b, Unity 2017.1.3p1, and KSP 1.4.5. It looks like this in Blender: And like this in Unity: But becomes like this in KSP: Thanks.
×
×
  • Create New...