Jump to content

Checking if this is possible (modify existing parts, event triggered science, ...)


RyuKajiy

Recommended Posts

I would like to know (before i try to do it and crash into a wall) if some things are possible with mods.

Is it possible to dynamicaly change values of parts ?

Meaning that i think that later researches should have an influence on the earlier tech tree parts. So i would like to modify the existing parts when certain researches are bought.

As an example: when unlocking Advanced Electrics increase the capacioty of all batteries by 5%.

So a mod would have to check when this topic is bought and go through all parts tagged "battery" and increas their capacity. Then it would probably need to catch some load event, because the values in config files are not changes. So on a load event it would need to check if certain research topics are allready bought and modify the loaded values of the parts.

I wonder if this would also influence ships in flight, are their values stored in the save data, or are their parts loaded later when you switch to controlling those ?

Is it possible to hide research topics until a certain condition is met ?

I would like to change the research tree a bit, so that you need to do certain actions to be able to research certain topics.

For example you need to have successfully launched a ship in orbit before you can research some advanced rocketry topics. Or you have to do a certain field test in orbit/on the mun to open up nuclear propulsion.

So it should hide those topics in the tree, or grey them out with a hint what you need to do. Catch an event when these conditions are met and unlock the topics then. Also would need to store somethwere that the conditions were achieved, so that on loading i can make sure that the topics will have the right status.

Would it be possible to create a space elevator ?

Well this is rather a topic for later, cause this would need some serious modeling and coding, but i wonder if it is even possible at all.

What it would need is to add another building to the space center, representing the surface hook of the elevator. Then it would need some counterweight model (maybe a cought asteroid) as the geostatic orbit kook. And a cable connecting the two. I am not sure if you can place a new building in the space center, and the cable would probably be outside of what is possible. Also it would need to add a new menu to the space center, where you can control the elevator, e.g. sending pre constructed ships into space and launch then from the counterweight instead of the launch platform.

Modify existing parts just with cfg file?

Last but not least i found some reference (but from earlier versions of KSP) that you can change existing parts just by copying and modifying the cfg files. Is it also possible to clone then, just paste a different skin on the model and change the values, just using the cfg file, or do you need to create a dll too for new parts now ?

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