BloodknightStudios

Untitled

Dec 12th, 2017
493
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1.  
  2. singleton TSShapeConstructor(DiceCubeDts)
  3. {
  4. baseShape = "./DiceCube.dts";
  5. };
  6.  
  7. function DiceCubeDts::onLoad(%this)
  8. {
  9. %this.setDetailLevelSize("1", "500");
  10. %this.setDetailLevelSize("2", "200");
  11. %this.setDetailLevelSize("3", "100");
  12. %this.setDetailLevelSize("4", "50");
  13. %this.setDetailLevelSize("5", "25");
  14. %this.setDetailLevelSize("6", "10");
  15. %this.addMesh("DiceCube200", "DiceCube2.dts", "DiceCube2");
  16. %this.addMesh("DiceCube100", "DiceCube3.dts", "DiceCube3");
  17. %this.addMesh("DiceCube50", "DiceCube4.dts", "DiceCube4");
  18. %this.addMesh("DiceCube25", "DiceCube5.dts", "DiceCube5");
  19. %this.addMesh("DiceCube10", "DiceCube6.dts", "DiceCube6");
  20.  
  21. %this.saveShape("./DiceCube_Full.dts");
  22.  
  23. }
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment