Package com.l2client.model.jme

Examples of com.l2client.model.jme.NPCModel


    private void setupScene() {

      //TODO could use getTemplates to switch through models..
      NewCharSummary sum = new NewCharSummary();
      sum.name = "DwarfWarriorM";
      NPCModel m = new NPCModel(sum);
      //Node n = Assembler2.getModel3("dwarfwarrior"); //"pelffwarrior");//humanhalberd"); //goblin");
      m.attachVisuals();
//      if(n != null){ 
        ent = em.createEntity(_1000);
       
        Node nn = new Node("intermed");
        nn.attachChild(m);
View Full Code Here


        n.templateId = e.getTemplateId();
        n.objectId = e.getObjectId();
        // TODO char inventory for model equip
        n.race = e.getRace();
       
        NPCModel v = new NPCModel(n);
        v.attachVisuals();
        vis.vis = v;
        addEntityIdToGeoms(e.getObjectId(), v);
        ent.setName(v.getName());
        ent.attachChild(v);
       
        Singleton.get().getSceneManager().changeWalkerNode(ent,Action.ADD);
      }
    }).start();
View Full Code Here

TOP

Related Classes of com.l2client.model.jme.NPCModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.