Manic Digger

It is currently Tue Apr 24, 2018 6:54 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [In Game] War Mod's player models
PostPosted: Sat Sep 29, 2012 5:09 pm 
Offline
User avatar

Joined: Thu Dec 08, 2011 1:02 am
Posts: 85
Location: ???
So, as exe requested http://mdgallery.strangebutfunny.net/view.php?id=149%20here, I'll post the model:
UPDATED
playerwar.txt:
Code:
exportanim,stand
exportanim,walk

skinsize,64,32

set,legsheight,0.9
set,armsheight,1.8
set,minuslegsheight,-0.9
set,minusarmsheight,-1.8
set,limbrotation3,limbrotation1
mul,limbrotation3,0.5
set,limbrotation4,limbrotation2
mul,limbrotation4,0.125
set,updown2,updown
mul,updown2,0.5

rotate,headingdeg,0,1,0

scale,1.0,1.0,1.0
translate,-0.15,0,-0.3
ifeq,anim,walk
translate,0,updown,0
endif


//torso
makecoords,coords,8,12,4,16,16
drawcuboid,0,legsheight,0,0.3,0.9,0.6,skin,coords


//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,0,0
drawcuboid,-0.15,armsheight,0,0.6,0.6,0.6,skin,coords
popmatrix

//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,32,0
drawcuboid,-0.199,1.75,-0.05,0.7,0.7,0.7,skin,coords
popmatrix


//left leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minuslegsheight, 0

makecoords, coords, 4, 12, 4, 0, 16
drawcuboid, 0, 0, 0, 0.3, 0.9, 0.3, skin, coords

popmatrix

//right leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation2,0,0,1
endif
translate,-0.15, minuslegsheight, 0

drawcuboid, 0, 0, 0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//left arm
pushmatrix
translate,0.15, armsheight, 0
ifeq,anim,walk
rotate,limbrotation2,0,0,1
endif
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 12, 4, 40, 16
drawcuboid, 0, legsheight, -0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//right arm
pushmatrix
translate,0.15, armsheight, 0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minusarmsheight, 0
drawcuboid, 0, legsheight, 0.6, 0.3, 0.9, 0.3, skin, coords

popmatrix

//cape
pushmatrix
translate,0.3, armsheight, 0
ifeq,anim,walk
rotate,limbrotation4,0,0,1
rotate,20,0,0,1
endif
translate,-0.3, minusarmsheight, 0
makecoords,coords,2,2,2,0,4
drawcuboid,0.3,legsheight,0,0.1,0.9,0.6,skin,coords
popmatrix

//cape
pushmatrix
translate,0.3, armsheight, 0
ifeq,anim,walk
rotate,limbrotation4,0,0,1
rotate,20,0,0,1
endif
translate,-0.3, minusarmsheight, 0
makecoords,coords,2,2,2,0,4
drawcuboid,0.3,legsheight,0,0.1,0.9,0.6,skin,coords
popmatrix

popmatrix

-=UPDATED=-Attached are the skins i use. They could use some improving though. I'm also planning to add team capes.


Attachments:
File comment: Pistol Block texture without transparency for terrain placement. (I didn't know it was possible at first.)
Pistol.png
Pistol.png [ 344 Bytes | Viewed 4632 times ]
File comment: Green Team
playergreen.png
playergreen.png [ 2.07 KiB | Viewed 4636 times ]
File comment: Blue Team
playerblue.png
playerblue.png [ 2.06 KiB | Viewed 4636 times ]


Last edited by cybrminer7 on Sat Oct 06, 2012 4:15 am, edited 1 time in total.
Top
 Profile  
 
 Post subject: Re: War Mod's player models
PostPosted: Sat Oct 06, 2012 3:59 am 
Offline
User avatar

Joined: Thu Dec 08, 2011 1:02 am
Posts: 85
Location: ???
UPDATE BUMP
I've changed the model and texture up a bit.
playerwarpistol:
Code:
exportanim,stand
exportanim,walk

skinsize,64,32

set,legsheight,0.9
set,armsheight,1.8
set,minuslegsheight,-0.9
set,minusarmsheight,-1.8
set,limbrotation3,limbrotation1
mul,limbrotation3,0.5
set,limbrotation4,limbrotation2
mul,limbrotation4,0.125
set,updown2,updown
mul,updown2,0.5

rotate,headingdeg,0,1,0

scale,1.0,1.0,1.0
translate,-0.15,0,-0.3
ifeq,anim,walk
translate,0,updown,0
endif


//torso
makecoords,coords,8,12,4,16,16
drawcuboid,0,legsheight,0,0.3,0.9,0.6,skin,coords


//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,0,0
drawcuboid,-0.15,armsheight,0,0.6,0.6,0.6,skin,coords
popmatrix

//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,32,0
drawcuboid,-0.199,1.75,-0.05,0.7,0.7,0.7,skin,coords
popmatrix


//left leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minuslegsheight, 0

makecoords, coords, 4, 12, 4, 0, 16
drawcuboid, 0, 0, 0, 0.3, 0.9, 0.3, skin, coords

popmatrix

//right leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation2,0,0,1
endif
translate,-0.15, minuslegsheight, 0

drawcuboid, 0, 0, 0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//left arm
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 12, 4, 40, 16
drawcuboid, 0, legsheight, -0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//right arm
pushmatrix
translate,0.15, armsheight, 0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minusarmsheight, 0
drawcuboid, 0, legsheight, 0.6, 0.3, 0.9, 0.3, skin, coords

popmatrix

//gun
//ifeq,weapon,pistol
//endif
//barrel
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 4, 4, 24, 0
drawcuboid, -0.11, 0.52, -0.175, 0.1, 0.5, 0.1, skin, coords

popmatrix

//handle
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 2, 2, 2, 0, 0
drawcuboid, -0.01, 0.85, -0.175, 0.25, 0.15, 0.1, skin, coords

popmatrix

//cape
pushmatrix
translate,0.3, armsheight, 0
ifeq,anim,walk
rotate,limbrotation4,0,0,1
rotate,20,0,0,1
endif
translate,-0.3, minusarmsheight, 0
makecoords,coords,2,2,2,0,4
drawcuboid,0.3,legsheight,0,0.1,0.9,0.6,skin,coords
popmatrix


popmatrix

playerwardead:
Code:
exportanim,stand
exportanim,walk

skinsize,64,32

set,legsheight,0.9
set,armsheight,1.8
set,minuslegsheight,-0.9
set,minusarmsheight,-1.8
set,limbrotation3,limbrotation1
mul,limbrotation3,0.5
set,limbrotation4,limbrotation2
mul,limbrotation4,0.125
set,updown2,updown
mul,updown2,0.5

rotate,headingdeg,0,1,0
translate,-1.2,0.2,0
rotate,-90,0,0,1

scale,1.0,1.0,1.0
translate,-0.15,0,-0.3
ifeq,anim,walk
translate,0,updown,0
endif


//torso
makecoords,coords,8,12,4,16,16
drawcuboid,0,legsheight,0,0.3,0.9,0.6,skin,coords


//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,0,0
drawcuboid,-0.15,armsheight,0,0.6,0.6,0.6,skin,coords
popmatrix

//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,32,0
drawcuboid,-0.199,1.75,-0.05,0.7,0.7,0.7,skin,coords
popmatrix


//left leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minuslegsheight, 0

makecoords, coords, 4, 12, 4, 0, 16
drawcuboid, 0, 0, 0, 0.3, 0.9, 0.3, skin, coords

popmatrix

//right leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation2,0,0,1
endif
translate,-0.15, minuslegsheight, 0

drawcuboid, 0, 0, 0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//left arm
pushmatrix
translate,0.15, armsheight, 0
ifeq,anim,walk
rotate,limbrotation2,0,0,1
endif
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 12, 4, 40, 16
drawcuboid, 0, legsheight, -0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//right arm
pushmatrix
translate,0.15, armsheight, 0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minusarmsheight, 0
drawcuboid, 0, legsheight, 0.6, 0.3, 0.9, 0.3, skin, coords

popmatrix

//cape
pushmatrix
translate,0.3, armsheight, 0
ifeq,anim,walk
rotate,limbrotation4,0,0,1
rotate,20,0,0,1
endif
translate,-0.3, minusarmsheight, 0
makecoords,coords,2,2,2,0,4
drawcuboid,0.3,legsheight,0,0.1,0.9,0.6,skin,coords
popmatrix

//cape
pushmatrix
translate,0.3, armsheight, 0
ifeq,anim,walk
rotate,limbrotation4,0,0,1
rotate,20,0,0,1
endif
translate,-0.3, minusarmsheight, 0
makecoords,coords,2,2,2,0,4
drawcuboid,0.3,legsheight,0,0.1,0.9,0.6,skin,coords
popmatrix



popmatrix


Top
 Profile  
 
 Post subject: Re: War Mod's player models: Submachine Gun
PostPosted: Sat Oct 06, 2012 4:02 am 
Offline
User avatar

Joined: Thu Dec 08, 2011 1:02 am
Posts: 85
Location: ???
Sorry for the 2 posts at the same time, but there was so much code, i couldn't fit it in one reply.

Note for the following model: the player has two at a time.
playerwarsubmachinegun:
Code:
exportanim,stand
exportanim,walk

skinsize,64,32

set,legsheight,0.9
set,armsheight,1.8
set,minuslegsheight,-0.9
set,minusarmsheight,-1.8
set,limbrotation3,limbrotation1
mul,limbrotation3,0.5
set,limbrotation4,limbrotation2
mul,limbrotation4,0.125
set,updown2,updown
mul,updown2,0.5

rotate,headingdeg,0,1,0

scale,1.0,1.0,1.0
translate,-0.15,0,-0.3
ifeq,anim,walk
translate,0,updown,0
endif


//torso
makecoords,coords,8,12,4,16,16
drawcuboid,0,legsheight,0,0.3,0.9,0.6,skin,coords


//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,0,0
drawcuboid,-0.15,armsheight,0,0.6,0.6,0.6,skin,coords
popmatrix

//head
pushmatrix
translate,0.15,armsheight,0

rotate,pitchdeg,0,0,1
translate,-0.15,minusarmsheight,0
makecoords,coords,8,8,8,32,0
drawcuboid,-0.199,1.75,-0.05,0.7,0.7,0.7,skin,coords
popmatrix


//left leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation1,0,0,1
endif
translate,-0.15, minuslegsheight, 0

makecoords, coords, 4, 12, 4, 0, 16
drawcuboid, 0, 0, 0, 0.3, 0.9, 0.3, skin, coords

popmatrix

//right leg
pushmatrix
translate,0.15,legsheight,0
ifeq,anim,walk
rotate,limbrotation2,0,0,1
endif
translate,-0.15, minuslegsheight, 0

drawcuboid, 0, 0, 0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//left arm
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 12, 4, 40, 16
drawcuboid, 0, legsheight, -0.3, 0.3, 0.9, 0.3, skin, coords

popmatrix


//right arm
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0
drawcuboid, 0, legsheight, 0.6, 0.3, 0.9, 0.3, skin, coords

popmatrix

//leftgun
//barrel
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 4, 4, 24, 0
drawcuboid, -0.11, 0.25, -0.175, 0.1, 1, 0.1, skin, coords

popmatrix

//handle
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 2, 2, 2, 0, 0
drawcuboid, -0.01, 0.85, -0.175, 0.25, 0.15, 0.1, skin, coords

popmatrix

pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.55, minusarmsheight, 0
rotate,-30,0,0,1
makecoords, coords, 2, 2, 2, 0, 0
drawcuboid, -0.01, 0.5875, -0.175, 0.35, 0.15, 0.1, skin, coords

popmatrix

//rightgun
//barrel
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 4, 4, 4, 24, 0
drawcuboid, -0.11, 0.25, 0.675, 0.1, 1, 0.1, skin, coords

popmatrix

//handle
pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.15, minusarmsheight, 0

makecoords, coords, 2, 2, 2, 0, 0
drawcuboid, -0.01, 0.85, 0.675, 0.25, 0.15, 0.1, skin, coords

popmatrix

pushmatrix
translate,0.15, armsheight, 0
rotate,-90,0,0,1
rotate,pitchdeg,0,0,1
translate,-0.55, minusarmsheight, 0
rotate,-30,0,0,1
makecoords, coords, 2, 2, 2, 0, 0
drawcuboid, -0.01, 0.5875, 0.675, 0.35, 0.15, 0.1, skin, coords

popmatrix

//cape
pushmatrix
translate,0.3, armsheight, 0
ifeq,anim,walk
rotate,limbrotation4,0,0,1
rotate,20,0,0,1
endif
translate,-0.3, minusarmsheight, 0
makecoords,coords,2,2,2,0,4
drawcuboid,0.3,legsheight,0,0.1,0.9,0.6,skin,coords
popmatrix


popmatrix


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group