Problem with xmodel_export converting :(

Have a question about modding, modelling or skinning? Have a tutorial to post? Post here!

Moderator: Core Staff

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 10:27 am

Hey guys.
I tryed to import the portal gun from portal into cod4.
So I read some tutorials and stuff.
Its all fine till I try to convert it to an real xmodel.

here a picture:
Image

1. I converted the portalgun from "w_portalgun.mdl" to "weapon_pgun.OBJ"
2. I opened it in maya and made the color of the model white.
3. I exported it as a .OBJ again and used "xmodel_Creator_v0.6".
4. Then I was going to set up the material and all worked fine. I can convert the Material w/o any errors.
5. After that I tryed to convert the xmodel_export to an xmodel but i got that error and I dont know why.

Could anyone help me with that?
Image|Image
Image|Image
Image|Image

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 12:37 pm

nvm made it now =)
btw: wth xD
http://screenshot.xfire.com/s/103034372-4.jpg
Image|Image
Image|Image
Image|Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with xmodel_export converting :(

Post by Drofder2004 » August 22nd, 2010, 1:02 pm

I think Dan has the model ezported with skins already, its hidden away in the portal map :)
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 1:06 pm

I know that he did that and i saw it on mp_portal.
he also made a real portal mod for cod4 ... but he wont send it to anyone / or he doesnt have it anymore.

so drofder. How can i make that xmodel to a weapon now so i can pick it up and stuff ?
Image|Image
Image|Image
Image|Image

User avatar
Opel
CJ Fan
CJ Fan
Posts: 188
Joined: September 15th, 2008, 12:28 pm
Location: Scotland

Re: Problem with xmodel_export converting :(

Post by Opel » August 22nd, 2010, 1:15 pm

You have to add tags to the weapon in maya so you can make it usuable for players. Check Modsonline or Iwnation Moddeling part, there is most likely some tutorials.

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 2:47 pm

i know that i dont get it .... just started maya and baah
Image|Image
Image|Image
Image|Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with xmodel_export converting :(

Post by Drofder2004 » August 22nd, 2010, 2:48 pm

R4d0xZz wrote:I know that he did that and i saw it on mp_portal.
he also made a real portal mod for cod4 ... but he wont send it to anyone / or he doesnt have it anymore.

so drofder. How can i make that xmodel to a weapon now so i can pick it up and stuff ?
As said, you need to do all the structures and tags, and animations... for the benefit of seeing it in a players hands, I think you can just modify a weapon file and change the models...

But I have never done modelling/skinning/anims/imprting or anything close...
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 3:18 pm

:D
http://screenshot.xfire.com/s/103042377-4.jpg

i fix that if i add tags in maya yea ?
Image|Image
Image|Image
Image|Image

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Problem with xmodel_export converting :(

Post by Rezil » August 22nd, 2010, 5:39 pm

In all IW scenes they did in Maya, Z is up. Check your orientation in Maya. You need tags so the game engine will know where to place your gun in relation to the viewsleeves.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 7:23 pm

yeah noticed that already.
http://screenshot.xfire.com/s/103054866-4.jpg

now i need to get a texture on it :D
Image|Image
Image|Image
Image|Image

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Problem with xmodel_export converting :(

Post by Rezil » August 22nd, 2010, 7:30 pm

Very cool. About the textures: the name of the material in Maya needs to MATCH the material name in AssMan, otherwise it will report it not found.
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 22nd, 2010, 7:37 pm

yea liam told me about uv mapping ... just watched 20 secs. of a tutorial and now it looks like this <3
http://screenshot.xfire.com/s/103055840-4.jpg
Image|Image
Image|Image
Image|Image

User avatar
Rezil
Core Staff
Core Staff
Posts: 2030
Joined: July 24th, 2006, 11:21 am
Location: Cramped in a small cubicle/making another jump map

Re: Problem with xmodel_export converting :(

Post by Rezil » August 22nd, 2010, 7:48 pm

Have fun with the animation and getting it to look good in cod! :)
Drofder2004: Drofder's rules for reviewing a map
[...]
#5 If your name is Rezil, minimum 5/5.
---
<LT>YosemiteSam[NL]:
I heard somewhere that the best way to start is juggling 2 balls with one hand, so you will get a feel for it.

User avatar
|Master|
CJ Worshipper
CJ Worshipper
Posts: 331
Joined: December 21st, 2009, 2:31 pm

Re: Problem with xmodel_export converting :(

Post by |Master| » August 23rd, 2010, 9:17 am

Haha :P Well done man, it looks awesome :D now get it working!
Administrators: God, The Devil
Members: The People
Guests: Babies!


Image

User avatar
R4d0xZz
CJ Fan
CJ Fan
Posts: 199
Joined: August 24th, 2009, 2:08 am
Location: Berlin
Contact:

Re: Problem with xmodel_export converting :(

Post by R4d0xZz » August 23rd, 2010, 3:32 pm

so got the model fully working now ...
i got some basic script too but ... it does not work so could somebody check that script because im not soo good at scripting :D
http://pastebin.com/zm3armfS
Image|Image
Image|Image
Image|Image

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests