offset unit location

Discussion in 'Mod Discussions' started by hurricnzj, March 16, 2015.

  1. hurricnzj

    hurricnzj New Member

    Messages:
    18
    Likes Received:
    2
    Is there a way to offset a Units location on the map. in this case:
    fabrication_sub > it spawns halfway underwater and I want it to be completely submerged.
    is this possible?

    HurriCane
  2. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    You can move the model down in Z space inside the .papa file but I don't know of any other ways nor how Uber did it with subs.
  3. hurricnzj

    hurricnzj New Member

    Messages:
    18
    Likes Received:
    2
    I figured out so far that i can edit the model.json file to be on another layer. It was on

    WL_WaterSurface
    changed it to
    WL_DeepWater

    but still a little bit sticks out.
    can you explain how I can edit the .papa file and change the Z axis?
    unless its converting the model to .fbx and then moving it down. because that does not work
    Last edited: March 16, 2015
  4. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I guess you could rewrite https://github.com/pamods/ReScalePa so that it translates the model down instead of scaling it.
  5. hurricnzj

    hurricnzj New Member

    Messages:
    18
    Likes Received:
    2
    I have no experience at all with coding exept htlm css and some javascript
  6. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    you just need to open the .papa file in blender and move it down just a little on the Z axis. It will then be moved down in the engine when rendered.

    And yeah you need to export it as a new .papa file and replace the old one.
  7. hurricnzj

    hurricnzj New Member

    Messages:
    18
    Likes Received:
    2
    I tried that with 3dsmax and the converting it back to .papa but diden't work.
    in case i did something wrong.
    do i move everything from armature to mesh?

Share This Page