Jump to content

Can I do this?


laggerd

Recommended Posts

I don't know, maybe if you arranged it with multiple transforms under the same name, if the solar panel is "transform-powered," perhaps? :)

I'm pretty sure solar panels also get their resource defined in the(ir) part.cfg file. Maybe so, I haven't made a solar panel yet. :)

If not, maybe an intake "curve," plugin powered if not supported by game code, or something...?

Well, study intake and solar panel part.cfg files and see how they're similar is your best bet IMO! Good luck! :D

Link to comment
Share on other sites

Surround the sides with 6 or 8 uniquely named empty objects and paste the following code 8 times in the part.cfg.

Make sure that raycastTransformName and pivotName, in each MODULE, have the names of the empty object.

MODULE

{

name = ModuleDeployableSolarPanel

sunTracking = false

raycastTransformName = suncatcher

pivotName = suncatcher

isBreakable = false

resourceName = ElectricCharge

chargeRate = 0.75

powerCurve

{

key = 206000000000 0 0 0

key = 13599840256 1 0 0

key = 68773560320 0.5 0 0

key = 0 10 0 0

}

}

Link to comment
Share on other sites

it will be fixed and non deployable, so why does there need a pivotName and ModuleDeployableSolarPanel? and how do I make those?

It's the standard settings for every solar panel.

and whats an empty object?

It's an object which doesn't have any vertexes.

sorry for so many replies but is this what i should look like http://i.imgur.com/eX5L9VP.gif

I think so, though make sure there is some space between the surface of the object and the empty object.

Link to comment
Share on other sites

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...