Jump to content

Trying to make a solar Panel.


Recommended Posts

Okay, I have been trying to implement this panel as a solar panel for a few days now, I have attempted to look into all the tutorials on how to implement it. No matter what I do I cannot make this solar panel, work as a solar panel. The problem I believe is the suncatcher but there is nothing I can find that lays out the rules or steps to create a sun catcher. Currently the best assumption I had was to take a panel and name it suncatcher. That did not work, here is pictures of the part, unity and the cfg file. Please help.

7iMJb4f.jpg

qQbuG1A.png

PART

{

name = StackSolar

module = Part

author = Caithloki

mesh = model.mu

scale = 1

rescaleFactor = 1

PhysicsSignificance = 1

node_stack_top = 0.0, 0.1287344, 0.0, 0.0, 1.0, 0.0, 0

node_stack_bottom = 0.0, -0.1287344, 0.0, 0.0, -1.0, 0.0, 0

node_attach = 0.0, -0.1287344, 0.0, 0.0, -1.0, 0.0, 0

TechRequired = precisionEngineering

entryCost = 5800

cost = 750

category = Utility

subcategory = 0

title = Stack Solar Panel 1.25m

manufacturer = ORC

description = The stack solar panel is used for crafts coming in hard to the atmo, this allows it to

avoid major heat damage.

attachRules = 1,1,1,1,0

mass = 0.0175

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

MODULE

{

name = ModuleAnimateGeneric

sunTracking = false

animationName = Open

raycastTransformName = suncatcher

pivotName = suncatcher

resourceName = ElectricCharge

chargeRate = 1.64

retractable = true

startEventGUIName = Open

endEventGUIName = Close

actionGUIName = Toggle Panel

powerCurve

{

key = 206000000000 0 0 0

key = 13599840256 1 0 0

key = 68773560320 0.5 0 0

key = 0 10 0 0

}

}

I hope someone can point me either to a tutorial with more indepth info on solar panel creation or through the forum. Thanks in advance. If anymore info is needed please ask and I will supply it.

Link to comment
Share on other sites

The issue is that nowhere in your part.cfg file do you tell KSP it is a solar panel.

You need to add the MODULE ModuleDeployableSolarPanel to make KSP understand this part is supposed to generate electricity. Check out one of the stock solar panels, it should show you what variables are needed.

I believe the ModuleDeployableSolarPanel includes the animation code as well so you do not need the ModuleAnimateGeneric at all, but confirm that yourself in testing.

D.

Link to comment
Share on other sites

  • 2 years later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...