Browse Source

warthog model converted from .x to .b3d (thanks Sirrobzeroone)

master
TenPlus1 9 months ago
parent
commit
bdfa95ff8a
5 changed files with 3 additions and 5318 deletions
  1. BIN
      models/mobs_pumba.b3d
  2. +0
    -5316
      models/mobs_pumba.x
  3. BIN
      textures/mobs_pumba.png
  4. BIN
      textures/mobs_pumba_inv.png
  5. +3
    -2
      warthog.lua

BIN
models/mobs_pumba.b3d View File


+ 0
- 5316
models/mobs_pumba.x
File diff suppressed because it is too large
View File


BIN
textures/mobs_pumba.png View File

Before After
Width: 32  |  Height: 32  |  Size: 1.2KB Width: 64  |  Height: 128  |  Size: 1.1KB

BIN
textures/mobs_pumba_inv.png View File

Before After
Width: 32  |  Height: 32  |  Size: 914B

+ 3
- 2
warthog.lua View File

@@ -2,7 +2,7 @@
local S = mobs.intllib


-- Warthog originally by KrupnoPavel, B3D model by sirrobzeroone

mobs:register_mob("mobs_animal:pumba", {
stepheight = 0.6,
@@ -19,7 +19,7 @@ mobs:register_mob("mobs_animal:pumba", {
armor = 200,
collisionbox = {-0.4, -0.01, -0.4, 0.4, 0.95, 0.4},
visual = "mesh",
mesh = "mobs_pumba.x",
mesh = "mobs_pumba.b3d",
textures = {
{"mobs_pumba.png"},
},
@@ -85,7 +85,7 @@ mobs:spawn({
})


mobs:register_egg("mobs_animal:pumba", S("Warthog"), "wool_pink.png", 1)
mobs:register_egg("mobs_animal:pumba", S("Warthog"), "mobs_pumba_inv.png")


mobs:alias_mob("mobs:pumba", "mobs_animal:pumba") -- compatibility

Loading…
Cancel
Save