Jump to content

[WIP][Help needed]Engine Development{Customable Nozzle,PowerCycle and more}(My first KSP mod


Recommended Posts

Hello,I'm a Chinese Senior 3 student.As the **** NCEE was over,I have plenty much time to ……waste

As a old (Since 0.22:cool: KSP player and an programmer(If definition of it is low enough :P ,I decide to write an mod about Engines' customables.

By switching Nozzle,Power Cycle and the others (TODO:What are the others)(TODO:Whether and How Mixture Ratio and Chamber Pressure should be edit),we can adjust the performance and cost of an engine.For example,we can advance Isp with the decline of max burn time and reliability(if a higher chamber pressure will do),or we could have a better perfomance if we don't need multiple restarts.(TODO:It seems that I will eat EI= =)

AFAIK,there is a lot splendid mod about engine but (likely) no customable engine except RealFuel(TODO:If my mod will too duplicate RF and how to be compatible with it),and there is a wonderful work SolverEngine.So I based my work on SolverEngine now.But because of my lack of KSP modding's knowledge,I wasn't sure how to implement it now.So I need your help.Thanks.

<!==</nonsense>===>

The futures I want to implement:

In editor:Player add a engine to the vessel,and adjust Engine Development's setting in GUI (like RF's choosing propellant),and it calculate the engine's parameters.

In fly:engines perfomance accroding to parameters calculated before.

I'm still learning about partmodule's coding now,so I dunno where the functions will be called……I need some guide'bout it:

1.If I should monopolize the ModuleEngine like this?Will these compatible with most Addons and PartMoudules?


@MODULE[ModuleEngine*] {
@name = ModuleEngineDev
@type = ModuleEngines

2.Whether I need two class for In Editor calculate and In Fly performance or just one class?If so,where to implement the feature i need?

3.'cause the parameters may be dynamic calculated,I found it to require isPersistant = ture configs (like atmosphereCurve ,it is calculated in editor),is it a good pratice?

4.And please suggest or criticize if you have any idea

Here is my (Empty) Github

https://github.com/Librazy/EngineDevelopment/

Actually I'm just about to start coding now……But I think it will be a foundational mod in KSP like RF and FAR. (:D

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