new doe and stag models w/ animations

This commit is contained in:
erebusman 2015-06-28 16:36:30 -07:00 committed by darkrose
parent 52358eb67a
commit 1f88ababd1
5 changed files with 107368 additions and 15 deletions

Binary file not shown.

52292
data/models/doe.x Normal file

File diff suppressed because it is too large Load Diff

55061
data/models/stag.x Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 107 KiB

View File

@ -376,14 +376,14 @@ void content_mob_init()
f->content = i; f->content = i;
f->level = MOB_PASSIVE; f->level = MOB_PASSIVE;
f->hp = 30; f->hp = 30;
f->model = "doe.b3d"; f->model = "doe.x";
f->model_scale = v3f(0.8,0.8,0.8); f->model_scale = v3f(1.0,1.0,1.0);
f->model_rotation = v3f(0,-90,0); f->model_rotation = v3f(0,180,0);
f->model_offset = v3f(0,0.9,0); f->model_offset = v3f(0,0,0);
f->setTexture("mob_doe.png"); f->setTexture("mob_doe.png");
f->setAnimationFrames(MA_STAND,61,120); f->setAnimationFrames(MA_STAND,0,240);
f->setAnimationFrames(MA_MOVE,0,60); f->setAnimationFrames(MA_MOVE,241,300);
f->setAnimationFrames(MA_ATTACK,0,60); f->setAnimationFrames(MA_ATTACK,241,300);
f->punch_action = MPA_HARM; f->punch_action = MPA_HARM;
f->dropped_item = std::string("CraftItem2 ")+itos(CONTENT_CRAFTITEM_FUR)+" 2"; f->dropped_item = std::string("CraftItem2 ")+itos(CONTENT_CRAFTITEM_FUR)+" 2";
f->motion = MM_SEEKER; f->motion = MM_SEEKER;
@ -403,14 +403,14 @@ void content_mob_init()
f->content = i; f->content = i;
f->level = MOB_AGGRESSIVE; f->level = MOB_AGGRESSIVE;
f->hp = 40; f->hp = 40;
f->model = "stag.b3d"; f->model = "stag.x";
f->model_scale = v3f(1,1,1); f->model_scale = v3f(1.1,1.1,1.1);
f->model_rotation = v3f(0,-90,0); f->model_rotation = v3f(0,180,0);
f->model_offset = v3f(0,1.1,0); f->model_offset = v3f(0,0,0);
f->setTexture("mob_stag.png"); f->setTexture("mob_doe.png");
f->setAnimationFrames(MA_STAND,61,120); f->setAnimationFrames(MA_STAND,0,240);
f->setAnimationFrames(MA_MOVE,0,60); f->setAnimationFrames(MA_MOVE,241,300);
f->setAnimationFrames(MA_ATTACK,0,60); f->setAnimationFrames(MA_ATTACK,301,324);
f->punch_action = MPA_HARM; f->punch_action = MPA_HARM;
f->tamed_mob = CONTENT_MOB_TAMESTAG; f->tamed_mob = CONTENT_MOB_TAMESTAG;
f->dropped_item = std::string("CraftItem2 ")+itos(CONTENT_CRAFTITEM_MEAT)+" 2"; f->dropped_item = std::string("CraftItem2 ")+itos(CONTENT_CRAFTITEM_MEAT)+" 2";