Jump to content

+ [Part] [1.6] Davon supply mod v025


PrivateFlip

Recommended Posts

On 11/19/2016 at 4:34 PM, dtoxic said:

yes i tried that, already,same issue

 

 

On 11/20/2016 at 2:11 PM, Bit Fiddler said:

is this ok in 1.2.1 and if so could the versions be updated so CKAN will allow it to be installed?

 

Update

-removed dependency on an functional ModuleAnimateGeneric being present in the part

-updated version

 

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
  • 4 weeks later...
On 16.2.2017 at 2:08 AM, ErevanGaming said:

Hi everybody,

Am thinking of using one of the big B9 parts to have the Davon Supply mod mechanic into it as a clone which would follow the example config given by @hab136 a few pages back =)

My question is, how do I add a line to take into account the resizing by tweakscale?

 

Regards and thanks in advance =)

@ErevanGamingI Found THIS:

	MODEL
	{
		model = KWRocketry/Parts/Engines/1mVestaVR1/KW_1mEngine_VestaVR1_M
		scale = 1, 1, 1
	}
	scale = 0.1
	
	MODEL
	{
		model = KWRocketry/Parts/Fairings/UnifiedFairings/KW_Auto_1mVestaShroud
		scale = 1, 1, 1
	}

Inside the KW Rocketry VestaVR1 Enging .cfg (This Parts is Resizeable) but i  think this isnt using Tweak Scale

 

Inside the Tweakscale Examples.cfg File I found this:

//// I want to scale EVERY part!
//// (might lead to unintended results, use at your own risk)
//@PART[*]:HAS[!MODULE[TweakScale]]:FINAL
//{
//    %MODULE[TweakScale]
//    {
//        %name = TweakScale
//        %type = free
//    }
//}

So I think you do it Like this:

 

*Your Part Config up here*
//New Module
MODULE
{
name=TweakScale
type=free ///Only if you want it free if not Open The Spoiler....
}

 

Spoiler

// ** Example for a discrete scaletype **
// SCALETYPE
//{
//	name = exampleDiscrete
//	freeScale = false
//	defaultScale = 1.25
//	scaleFactors = 0.625, 1.25, 2.5, 3.75, 5.0, 6.25, 7.5
//	scaleNames = 62.5cm, 1.25m, 2.5m, 3.75m, 5m, 6.25m, 7.5m
//}

I dont Know what this is? I Found it inside the DefaultScales.cfg

 

Have Fun

HurricanKai

Link to comment
Share on other sites

On 3/15/2017 at 11:04 PM, HurricanKai said:

@ErevanGamingI Found THIS:


	MODEL
	{
		model = KWRocketry/Parts/Engines/1mVestaVR1/KW_1mEngine_VestaVR1_M
		scale = 1, 1, 1
	}
	scale = 0.1
	
	MODEL
	{
		model = KWRocketry/Parts/Fairings/UnifiedFairings/KW_Auto_1mVestaShroud
		scale = 1, 1, 1
	}

Inside the KW Rocketry VestaVR1 Enging .cfg (This Parts is Resizeable) but i  think this isnt using Tweak Scale

 

Inside the Tweakscale Examples.cfg File I found this:


//// I want to scale EVERY part!
//// (might lead to unintended results, use at your own risk)
//@PART[*]:HAS[!MODULE[TweakScale]]:FINAL
//{
//    %MODULE[TweakScale]
//    {
//        %name = TweakScale
//        %type = free
//    }
//}

So I think you do it Like this:

 


*Your Part Config up here*
//New Module
MODULE
{
name=TweakScale
type=free ///Only if you want it free if not Open The Spoiler....
}

 

  Hide contents


// ** Example for a discrete scaletype **
// SCALETYPE
//{
//	name = exampleDiscrete
//	freeScale = false
//	defaultScale = 1.25
//	scaleFactors = 0.625, 1.25, 2.5, 3.75, 5.0, 6.25, 7.5
//	scaleNames = 62.5cm, 1.25m, 2.5m, 3.75m, 5m, 6.25m, 7.5m
//}

I dont Know what this is? I Found it inside the DefaultScales.cfg

 

Have Fun

HurricanKai

oh wow, thanks @HurricanKai =)

Link to comment
Share on other sites

  • 1 month later...

Can this mod work on TAC LS stations, If, its a amazing mod, but if not i will make sure to customize by resupply ships, thanks man.

Does it works on 1.2.2? 

I'm weak in coding, Plz help with a download link or a link for full all of codes. And the Guide

Edited by PrathamK
Link to comment
Share on other sites

  • 3 weeks later...
On 4/27/2017 at 11:54 AM, PrathamK said:

Can this mod work on TAC LS stations, If, its a amazing mod, but if not i will make sure to customize by resupply ships, thanks man.

Does it works on 1.2.2? 

I'm weak in coding, Plz help with a download link or a link for full all of codes. And the Guide

It should work, but you would have to add some resources to the part itself

To add extra resources to the part you only need to make some changes to the part.cfg file. There's a link on how to do this a few posts back. I'll add this link to the first post of this thread

 

(Here is is link to the github repository with the source code https://github.com/PrivateFlip/DavonSupplyMod, but you shouldn't need it for what you're trying to do)

 

Link to comment
Share on other sites

9 hours ago, PrathamK said:

The part is too Long, any Change to Shorten it. Or its size to 1.25M

Read the guide - you can use any other part you like, any size you like that is right for your purpose, simply change the resources, add this module to it, and go from there.  The wiki and the guide should show you how.

Also go back in this thread and look at page 8 - everything you wish to do is there.

 

Edited by Murdabenne
TYPOS! Grrr.
Link to comment
Share on other sites

  • 3 weeks later...
14 minutes ago, tmbomber said:

Is anyone still supporting this?
(It's crashing after the 1.3 update)

@tmbomber I've said it like... three times, and I'll say it again. It crashes with 1.3 because Module Manager isn't 1.3 compatible. If you switch your KSP version back to 1.2.2, it'll work.

Link to comment
Share on other sites

4 hours ago, TheRagingIrishman said:

That's simply not true. MM 2.8.0 was released specifically for 1.3. 

I was going to do a little research before responding, but that's exactly what I was going to say.
I have about 60 mods, totaling over 15000 patches. MM 2.8.0 seems to work fine for all of them.

So, what's the story here?7

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
On 8/10/2017 at 1:36 PM, LastStarDust said:

Hello.

I would like to use this mod to resupply a station in Jool's orbit from a mining base on Bop ... is it possible?

I read this mod would work only in the Kerbin sphere of influence ... is it possible to overcome this limitation?

Thanks

I believe you can do this by altering either the part.cfg for the station part or an MM patch (the latter being more preferable because it will last through updates). I manually added in a bunch of Real Fuels resources as well as USI Life Support resources. Below that (see the ManagedResources line for those additions) you can find the DeliveryTimeList and CostPerTon. Unless it's not possible within the plugin .dll file I believe you can add other bodies here however I haven't played with this mod since 23.5 and just re-downloaded it so if the prior few pages did not offer an answer you can always try adding other moons/planets to these lines and set the prices accordingly and try it.
 

MODULE
{
	name = DavonRestrictedResourceSupplyModule
	MaxDeviationValue = 5
	DeliveryAmountFactor = 1
	SupplyActivationFactor = 3
	ManagedResources = LiquidFuel, Oxidizer, MonoPropellant, Supplies, Fertilizer, Hydrogen, Oxygen, Methane, Ammonia, Hydrazine, Nitrogen, CO2, CO, Water, HTP
	BaseDeliveryTime = 99999
	DeliveryTimeList = Kerbin, 2, Mun, 6, Minmus, 11
	CostPerTon = Kerbin, 2935, Mun, 8870, Minmus, 10311
}

 

As an MM patch it would be:
 

@part[DavonStationLogisticsHub]:Final
{
	@MODULE[DavonRestrictedResourceSupplyModule]
    {

        // To add the extra resources I need in I'd do:
        @ManagedResources = LiquidFuel, Oxidizer, MonoPropellant, Supplies, Fertilizer, Hydrogen, Oxygen, Methane, Ammonia, Hydrazine, Nitrogen, CO2, CO, Water, HTP
        // If you just wish to add other bodies, it should look something like this (without the above resource modifier) for example:
        @DeliveryTimeList = Kerbin, 2, Mun, 6, Minmus, 11, Eve, 22, Duna, 23
        @CostPerTon = Kerbin, 2935, Mun, 8870, Minmus, 10311, Eve, 20622, Duna, 22090
    }
}

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

@PrivateFlip Hi, so maybe you can remember me, i wrote the Wiki, So i wouod like to ask if im allowed to use The Model and Your Code in a Fork of your Porject here, Because i realy woud like to add some extra Features, But im a realy bad at making Models :D

Be shure that i woud Credit you! Hope you Respond!

I woud Publish Everything Under the Terms of the MIT License. (If you cant Remember the Conditions, I Suggest Looking at this easy explanation)

 

Oh: KhaosCorp is no more on this Forum so...

Edited by HurricanKai
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...