Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

Embedding Objects in a Planet or Asteroid

Discussion in 'Gameplay Help' started by Spaceman Spiff, May 8, 2018.

  1. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    Many survival scenarios have crashed ships embedded in a planet's surface. I'm trying to figure out how to reproduce that effect, but nothing I've tried seems to work. Furthermore, I'd like a station that I build and want to place on a planet to be oriented correctly with respect to gravity, but hitting "B" seems to knock it out of alignment. Perhaps it's the way I saved my blueprint, but I'm just not sure. So, rather than wasting any more time trying to noodle it out, I'm asking the pros from Dover...

    Also, how do I simulate damaged blocks as for a crashed ship?
     
  2. Roxette Junior Engineer

    Messages:
    917
    You can embed the ship into the surface by pasting it (control-V) and adjusting the position as desired. Gravity alignment should be correct with 'B' but if there is another grid close it will align to that... order of placement is thus important. Simulation of damaged blocks for a crash scenario is best achieved by pasting the ship above the surface and letting gravity make damage happen. It will probably take several iterations to get the level of damage you want. The damage detail is stored in the sandbox or blueprint files as a sequence :

    <Skeleton>
    <BoneInfo>
    <BonePosition x="0" y="1" z="9" />
    <BoneOffset x="132" y="128" z="122" />
    </BoneInfo>
    <BoneInfo>
    <BonePosition x="3" y="2" z="9" />
    <BoneOffset x="126" y="131" z="113" />
    </BoneInfo>
    ...

    and it is not easy to create a specific pattern of damage in a sane way by other means as far as I'm aware.
     
    • Informative Informative x 1
  3. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    Thanks for the advice (I was wondering if anyone was going to reply). I found that I can only embed an object to about half a block’s depth. That makes me wonder how people have put objects several blocks below the surface. An example would be the legs on one of the “easy start” bases; they go several blocks belowground.

    It never occurred to me to just spawn a ship (or whatever) above the planet’s surface and just let gravity do its thing.
     
  4. Roxette Junior Engineer

    Messages:
    917
    In spectator mode, move your character/viewpoint below the surface, then you can paste structures in as deep as you like, and if necessary then use voxel hands to remove material around it.
     
    • Like Like x 1
  5. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    I tried what you said, both as a player and as a spectator, and the game will not let me paste an object into a planet, i.e., I get the red bounding box showing, and the green bounding box only shows when the object is above the planet's surface. I tried moving, as a spectator, below the surface, but that didn't work. What am I doing wrong? (And, yes, "copy/paste" is active.)
     
  6. Roxette Junior Engineer

    Messages:
    917
    I don't know... it sounds like you've checked the obvious things, but it works for me, the only time it refuses is if it is too close to another existing ship/structure or there is debris/loose objects in the way :/ ... is copy/paste enable set in the world settings? I've noticed some options in space master mode can work inconsistently if the corresponding game option setting conflicts.
     
  7. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    Admittedly, I was trying to place the small assembly near a "crashed" ship...it was a powered LCD panel with instructions to the player, and I wanted the power source, a small-grid small reactor, to be buried (i.e., not obvious). That's probably why I couldn't place it.

    Yes, copy/paste is set, but I neglected to check the options in space master mode. I'll check and let you know if I succeed.
     
  8. Roxette Junior Engineer

    Messages:
    917
    It just needs to be clear of the 'bounding box' of the crashed ship, try moving away slowly until the outline changes to green :)
     
  9. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    I've tried an entirely new place without success. I'm building a sort-of-like "Escape from Mars" scenario (although not nearly as cool) with a tunnel and a mine (ok, kids, find the alien artifact). Like EfM, I'd like to embed some small spotlights on some small reactors in the ceiling and walls of the mine, but I can't seem to get it to cooperate. I'm learning as I go, but the curve is steep! (And I haven't even tried to do anything with scripts, yet!)
     
  10. Roxette Junior Engineer

    Messages:
    917
    You never mentioned the block size :D small blocks can't be placed in voxel material in the stock game, even in creative... fortunately there's a mod that allows you to do it simply - the mod would not need to be included in the final game/scenario, you only need it to place the parts initially.

    https://steamcommunity.com/sharedfiles/filedetails/?id=829337535
     
  11. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    Strap me to a pig and roll me in the mud!! You're exactly right! I was able to stick a large-grid spotlight and battery into the ceiling, but not a small grid. It turns out that I'd already subscribed to that mod (probably from someone else's scenario, so I'll give it a spin! Thanks!!
    --- Automerge ---
    It worked perfectly. Thanks!
     
  12. Calaban Apprentice Engineer

    Messages:
    465
    as for damage effects (Green venting reactors, lighting spark antennas) nothing works better than the trusty ol M-16
     
  13. Spaceman Spiff Apprentice Engineer

    Messages:
    181
    Yup, I figured that out on my own. A few plinks and it's either sparkin' or burnin'.
     
  14. Ronin1973 Master Engineer

    Messages:
    4,315
    Convert the ship to a static grid first. If you can't do it in-game then use SEToolbox. SET also lets you alter the build levels of individual blocks if I remember correctly. You can also adjust the inventories of blocks as well.

    But it does need to be a static grid to be embedded into a voxel. I think they were trying to get that to work for small ship blocks but I don't think it ever worked out. Are you trying to do this with a small ship?