Jump to content

MacLuky

Members
  • Posts

    728
  • Joined

  • Last visited

Posts posted by MacLuky

  1. Ran into an issue where I was unable to leave the astronaut building and even a complete lockup of my persist file due to the renamer. Apparently I had a scenario running for a Kerman, but he got renamed to Galean. The mismatch caused the game to freak out.

    Workaround: remove the renamer

    Prevent: don't use old save files with new mods ;-)

  2. Ah this seems to work (partly)

    // first create the part
    +PART[landerCabinSmall]:AFTER[Squad]
    {
        @name = MacLuky.LanderCanMk12
        @title = Mk1 Lander Can Refurbished
        @manufacturer = MacLuky Space Solutions
    	@description = After observing subway commuters during rush hour our lead engineer figured out how to add 2 more seats to the interior.
        @mass *= 1.02
        @entryCost *= 1.2
    	@cost *= 1.2
    	@CrewCapacity = 3
    
    	@INTERNAL
    	{
    		@name = MacLuky.LanderCanMk12.Internal
    	}
    }
    
    // then patch the model
    @PART[MacLuky.LanderCanMk12]:AFTER[MacLuky]
    {
    	!mesh = DELETE
        MODEL
    	{
    		model = Squad/Parts/Command/mk1LanderCan/model
    		texture = ksp_s_landerCan_diff, MacLuky_Dev/LanderCanMk12/ksp_s_landerCan_diff
    	}
    }

    However, the new texture is not showing up, probably due to Ven's stock revamp. I'll create a vanilla install to resume testing but at least the part now shows up.

  3. Ah, I had mistyped the name of the texture I was trying to replace:

            texture = ksp_s_landerCan_diff, MacLuky_Dev/LanderCanMk12/ksp_s_landerCan_diff

     but this leads to a new can of worms:

    [LOG 12:15:15.075] PartLoader: Compiling Part 'Squad/Parts/Command/mk1LanderCan/mk1LanderCan/MacLuky.LanderCanMk12'
    [ERR 12:15:15.078] PartLoader: Encountered exception during compilation. System.NullReferenceException: Object reference not set to an instance of an object
      at PartLoader.ReplaceTextures (UnityEngine.GameObject model, System.Collections.Generic.List`1 textureNames, System.Collections.Generic.List`1 newTextures) [0x00000] in <filename unknown>:0 
      at PartLoader.CompileModel (.UrlConfig cfg, .ConfigNode partCfg, Single scaleFactor, .AvailablePart partInfo) [0x00000] in <filename unknown>:0 
      at PartLoader.ParsePart (.UrlConfig urlConfig, .ConfigNode node) [0x00000] in <filename unknown>:0 
      at PartLoader+<CompileParts>c__Iterator62.MoveNext () [0x00000] in <filename unknown>:0 
    
    [ERR 12:15:15.078] PartCompiler: Cannot compile part

    This time the files _are_ present :-)

  4. 10 hours ago, lordcirth said:

    Kerbalism does stop warp on messages, but the stock game "winds down" warp rather than stopping instantly, so if the problem is sudden, they can still die.  Out of curiosity, what type of warning/death was it?

    co2 poisoning, I saw lightheaded for a second and then death. I believe KAC has some code that slows down in time. It seems to pause quite accurately, might be worth to take a look at. I'll be more careful in the future. Awesome mod btw. did some testing for my patches on 1.3 with TAC but switched back to Kerbalism as soon as they were confirmed to work, 

  5. Hi,

    I've wrestled through the many hints on texture replacements in this forum, but am still stuck. I hope you can help me. I tried:

    +PART[landerCabinSmall]
    {
        @name = MacLuky.LanderCanMk12
        @title = Mk1 Lander Can Refurbished
        @manufacturer = MacLuky Space Solutions
    	description = After observing subway commuters during rush hour our lead engineer figured out how to add 2 more seats to the interior.
        @mass *= 1.02
        @entryCost *= 1.2
    	@cost *= 1.2
    	@CrewCapacity = 3
    
    	!mesh = DELETE
        MODEL
    	{
    		model = Squad/Parts/Command/mk1LanderCan/model
    		texture = ksp_s_landerCan_normal, MacLuky_Dev/LanderCanMk12/ksp_s_landerCan_normal
    	}
    
    	@INTERNAL
    	{
    		@name = MacLuky.LanderCanMk12.Internal
    	}
    }

    The new IVA shows up just fine, but I can't get the replaced texture to show up. The original texture is at Squad/Parts/Command/mk1LanderCan/ksp_s_LanderCan_normal.dds, the new one at MacLuky_Dev/LanderCanMk12/ksp_s_landerCan_normal.dss

    What am I doing wrong? (KSP 1.2.2 MM 2.7.5 and KSP 1.3 MM 2.8.1 tested. Puzzled

  6. How do the scrubbers work? I've had a couple of mission aborts due to co2 poisoning. I believe that once power goes down for a short period of time the scrubbers either don't recover or don't have the efficiency to diminish the build up. Jeb barely made it to spacelab2 where 3 modules had scrubbers and now it seems to improve. But his ship is a flying death trap 

  7. 3 hours ago, ShotgunNinja said:

    There is no fading in/out based on distance from camera (that's why you can't find it in code). Instead, as all particles are rendered as 1pixel-wide points irregardless of distance from camera, what you are seeing is the particle density on screen getting below some threshold, at which point your visual cortex filter out the sparse white dots (that are still there). This is a minor issue with the method I've used to render these fields.

     

    Ah that makes sense. So increase the resolution at which I play should help, or drawing bigger pixels ;-)  thanks for the insight. Nice readably code btw.

  8. Ah, I was using the map view. There it shows only when I zoom out pretty far. I went over the code, but can't really find the cut off point, I guess I can use the map view too but I wanted to send a probe to map the field and position it in a belt. 

    Btw. totally in love with the mod. Adding support for it to my next spacecraft mod

×
×
  • Create New...