Rock Resource and Deposit troubles

Discussion in 'Planets & Playfields' started by LiftPizzas, Jan 11, 2021.

  1. LiftPizzas

    LiftPizzas Rear Admiral

    Joined:
    Sep 28, 2015
    Messages:
    1,444
    Likes Received:
    2,574
    I have two problems in this one...

    1- Trying to add Titanium deposits to planets doesn't work. They just never generate on the planet regardless of size, etc. The list of deposits doesn't show them.

    2- Adding resource rocks also doesn't work, in two ways:

    a- titanium resource rocks are in the blocks config already. Trying to add them doesn't work. Replacing the name in the playfield file generates plenty of Neodymium rocks, but not when you call it titan.

    b-trying to add an aluminum resource rock doesn't work, it won't accept the model, so I get white cubes instead. I actually copied the ResourceRockIron verbatim, renumbered it 1519 and renamed it. I get this:
    resourcefail.jpg
    I can sometimes drill one of them with a drill, some not, but they are also non-colliding with players.

    Code:
    { Block Id: 1519, Name: RockResourceAluminium
      Material: rockhard
      Shape: Deco
      IsDeco: true
      Model: @models2/Environment/Rocks/Resources/RockResourceIronPrefab
      # Model: @models2/Environment/Rocks/Resources/RockResourceTitanPrefab
      SizeInBlocks: "2,1,2"
      BlockColor: "180,180,180"
      ShowUser: No
      HitPoints: 60, type: int, display: true
      { Child DropOnDestroy_1
        Item: AluminiumOre #also tried IronOre, same result
        Count: "1,3"
        Prob: 1
      }
    }
     
    #1
  2. ravien_ff

    ravien_ff Rear Admiral

    Joined:
    Oct 22, 2017
    Messages:
    6,425
    Likes Received:
    12,030
    I have been unable to get custom planetary deco to work yet. Hopefully we can get it!

    Ore deposits should work okay, however:

    Code:
        - Name: TitanResource #rich
          IsScalingCount: True
          CountMinMax: [ 4, 5 ]
          SizeMinMax: [ 5, 8 ]
          DepthMinMax: [ 15, 30 ]
          DroneProb: 0.9
          MaxDroneCount: 3
    If SSOR deposits don't work with titanium then that would be a bug probably.
     
    #2
    LiftPizzas likes this.
  3. LiftPizzas

    LiftPizzas Rear Admiral

    Joined:
    Sep 28, 2015
    Messages:
    1,444
    Likes Received:
    2,574
    LOL, I just re-checked and sure enough, I had TitaniumResource once again. (Surprised it didn't give a CoQ error.)

    TitanResource works with both voxel and SSOR.

    Too bad about the deco but hopefully that'll be possible soon.
     
    #3
    ravien_ff likes this.

Share This Page