-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Bug Reports
Posts posted by tarokun3090
-
-
I am creating a variable wing that can be deployed and retracted.
I want to use ModuleAnimateGeneric and ModuleLiftingSurface of parts.cfg file.1. How to change the lift with deploy and retract?
2. Is there a way to know the current status of deploy and retract?I have just started Addon development, and I do not know much about it.
Thanks for any advice.
How to change the lift with deploy and retract?
in KSP1 C# Plugin Development Help and Support
Posted
I solved it myself.
parts.cgf
MODULE { name = ModuleAnimateGeneric animationName = bigsolarpanel actionGUIName = WingToggle startEventGUIName = Deploy endEventGUIName = Retract } MODULE { name = ModuleLiftingSurface useInternalDragModel = True deflectionLiftCoeff = 2.0 dragAtMaxAoA = 0.5 dragAtMinAoA = 0.0 } MODULE { name = AnimatedWing }
source.cs
I also have some code that I do not understand, so I need to check it.