Jump to content

Zbawcasan

Administrators
  • Posts

    67
  • Joined

  • Last visited

Posts posted by Zbawcasan

  1. By default atavism uses Resource Node Group and does not spawn resource node in the scene but turns it on or off.

    if you using ResourceNodeGroup then atavism binds resource node to group depending on the position and only spawn group to check interaction distance for group to enable or disable resource nodes.

    If you are not using ResourceNodeGroup you can by default spawn object in the scene when you set gameobject param (path to model in resource folder).

    Check box "IgnoreServerPropObjects" is to not spawn objects with "_ign_" in the name.

    By default resource node and Resource Node Group have in name "_ign_"

     

    in this line you can change name

    Quote

    markerTemplate.put(Namespace.WORLD_MANAGER, WorldManagerClient.TEMPL_NAME, "_ign_" + name + id);

    in this lines you can set model to be spawned 

    Quote

    DisplayContext dc = new DisplayContext(gameObject, true);
    dc.addSubmesh(new DisplayContext.Submesh("", ""));
    markerTemplate.put(Namespace.WORLD_MANAGER, WorldManagerClient.TEMPL_DISPLAY_CONTEXT, dc);
    markerTemplate.put(Namespace.WORLD_MANAGER, "model", gameObject); 

     

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.