Watermel00n Posted June 24 Share Posted June 24 Hello. I want to make a new resource but I don't know what all these numbers mean. Spoiler RESOURCE_DEFINITION { name = Ore displayName = #autoLOC_501007 //#autoLOC_501007 = Ore abbreviation = #autoLOC_6002103 //#autoLOC_6002103 = Ore density = 0.010 unitCost = 0.02 flowMode = ALL_VESSEL transfer = PUMP hsp = 1000 isTweakable = true color = 1,0,1 volume = 5 RESOURCE_DRAIN_DEFINITION { isDrainable = true showDrainFX = true drainFXPriority = 9 drainForceISP = 5 drainFXDefinition = particlesDraining } } What is hsp, volume and color? Thanks for helping! Quote Link to comment Share on other sites More sharing options...
Aelfhe1m Posted June 25 Share Posted June 25 1 hour ago, Watermel00n said: What is hsp, volume and color? Thanks for helping! https://wiki.kerbalspaceprogram.com/wiki/CFG_File_Documentation#Resource_Configuration_Files Color looks to be an optional mod added extension. Not sure what mods might use it. Probably for the coloured indicators in some fuel switch modules? Looking at CRP only a few resources define anything for color and the values look pretty arbitrary to me (they're RGB values in the range 0, 0, 0 to 1.0, 1.0, 1.0 - the Ore definition you gave is 1, 0, 1 or pure magenta 100% red + 100% blue). Quote Link to comment Share on other sites More sharing options...
JadeOfMaar Posted July 24 Share Posted July 24 On 6/24/2022 at 8:55 PM, Aelfhe1m said: Color looks to be an optional mod added extension. Actually I believe this color is used by the stock resource scanner planetary overlay. Note that the Ore config has color = 1,0,1 which is purple, which is the color of the Ore overlay. Quote Link to comment Share on other sites More sharing options...
Watermel00n Posted July 28 Author Share Posted July 28 Thanks guys, i think i have it sorted now! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.