Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.05 KB | None | 0 0
  1.  
  2. --Title: POTATOROW Add
  3. --Autor: Vnsfdg2
  4. --Version: 1.0.1 Beta
  5. --Date: 15.01.2017
  6.  
  7. print("Register filltype: POTATOROW by VNSFDG2");
  8.  
  9. local PRHudFile = Utils.getFilename("tipmat/hud_fill_potato_row.png", g_currentModDirectory);
  10. local diffuseMapPotatorow = Utils.getFilename("tipmat/potatoes_row_diffuse.png", g_currentModDirectory);
  11. local normalMapPotatorow = Utils.getFilename("tipmat/potatoes_row_normal.png", g_currentModDirectory);
  12. local distancMapPotatorow = Utils.getFilename("tipmat/potatoes_row_Distance.png", g_currentModDirectory);
  13.  
  14.  
  15. FruitUtil.registerFruitTypeWindrow(fruitPotato,"potato_row",g_i18n:getText("potato_row"),FillUtil.FILLTYPE_CATEGORY_WINDROW, 0.045, 4.37, true, PRHudFile,PRHudFile, 350 * 0.000001* fruitWeightScale, math.rad(50));
  16. TipUtil.registerDensityMapHeightType(FillUtil.FILLTYPE_POTATO_ROW,math.rad(30),1.0,0.08,0.00,0.08,1, false, diffuseMapPotatorow, normalMapPotatorow, distancMapPotatorow);
  17.  
  18. FruitUtil.registerFruitTypeConverter(kopaczka);
  19. FruitUtil.addFruitToFillTypeConversion(kopaczka,"potato", "potato_row",1,1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement