Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial Importing models from CoDs
#1
Not Available for guests...
[hide]

Importing models tutorial

Finnaly! I will tell and show how to import (export) models from some CODs..
First of you need thoose programs:
  • -
  • Skill For Maya 2009
    -
  • Autodesk Maya 2009
    -
  • Call of Duty Black Ops Mod tools
    -
  • Other Call of Duty Mod tools files. Because you will import models from it.
    -
  • xmodel exporter. You can download this program is HERE (Press on me)
    -
  • CoD7 Asset Manager
    -
  • IWIxDDS
    -
  • DDS to TGA Converter


Known bugs, tips
  • You can fully animate your weapon model there: PRESS ON ME
  • If you will have error like. ERROR! Can't open techset (etc) PM me, i'll fix.. this error is have small chance..
  • Do not use weapon_(blallba) files as viewmodel! They have other position.
  • Imported viewmodels already has fixed position in hands!
  • You can find my other tutorials for more information and fixes!
  • Xmodel Exporter Exports wrong tags for some models! ( Like character and viewmodels )



I will use Desert Eagle in Tutorial
For fully animate weapon press Export .MA in xmodel_exporter, also in Maya2009 need to use 'Bind Skin' function for connect joints to some parts/bones/tags ...

First Steps!

1. Open xmodel exporter program...
NOTE! For Fix Model size go to: Xmodel Exporter > Settings ... And check 'Scale models by 2.54 (cm to inch)'.. Save settings..
[Image: r65338thl143.jpg]

2. (If you will have errors on launch.. Just press Enter..)
3. Press 'Folder icon'. Screen:
[Image: i472211stq143.jpg]
4. Browse your directory, directory must be: <cod dir>/raw ! not <cod dir>/raw/xmodel
5. Press 'OK' and you will see Model List in Program
[Image: t117622nds143.jpg]
6. Choose your model...
7. You will see list of materials, tags, parts...
NOTE: On Some Computers xmodel exporter is buggy! You will see not 'viewmodel_desert_eagle1', you will see 'iewmodel_desert_eagle1' and you need to rename real files to 'bug' name
[Image: n18064thp143.jpg]

8. IF BUG: Go to CoD Directory (Not CoD7), and find: viewmodel_desert_Eagle1 and rename to iewmodel_desert_Eagle1 (Do this with every weapon)
9. Press 'Refresh' In Xmodel Exporter...
[Image: j491835thl143.jpg]

10. You will see, it works! But Materials is wrong! Go to <cod dir (not cod7)>/main/ and search thoose materials... When you will find materials, Copy them to <cod dir (not 7)>/raw/images ( Do not delete them! After importing )

11. Now Press 'Refresh' again.. You will see all is fine..
[Image: o7816thh143.jpg]

12. Now press on main name.. [Image: d454097thf143.jpg]

13. Check 'Export all surfaces', If this already checked, Uncheck and Check ....
14. You will see, key 'Export .OBJ' can be pressed...
15. Press on 'Export .OBJ'
You can press Export .MA and fix some tags with my new tutorial Tongue
NOTE: .OBJ File created in <cod dir (not cod7) >/raw/obj

16. This will named: iewmodel_desert_eagle1.obj
17. Open Maya 2009
18. In Maya 2009 press File > Open Scene
19. Browse your file and choose this file...
20. In Maya 2009 you will see your model ...
[Image: l497799tha143.jpg]

21. Press Edit > Select all. When all is selected press Edit > Group
22. Press CoD Tools > Model Export
23. Again Select all ...
24. In Maya's model exporter press 'Auto populate > Create from selection'
25. You will see name of model in List.. Check it and press 'Export selected', It will give you 'Save?', press 'No'. On second question press 'Yes'
26. You will see Extraction Bar..
27. Now go to <cod dir (not 7)>/raw/obj/ and you will see .XMODEL_EXPORT file, it can be named 'group1' 'group2' etc..
28. Open this file with AkelPad or other Text Editor..
29. You will see Bones .. They named Group0, Group1 etc..
30. For Make Animated Clip, Go to Maya 2009, Press on Parts, you will see name of Bone(Tag, Part) ..
[Image: a3189610tho143.jpg]
You will see Bone (Tag or Part) and Bone's Name
Bone 'tag_clip' is named 'Group(any num)', this is xmodel_exporter program bug..
31. In XMODEL_EXPORT file, rename this bone to 'tag_clip'
32. Save this file..
34. Open Asset Manager..
35. Choose 'xmodel' and press 'New entry', i called DE gold as 'viewmodel_deserteagle'
36. Rename Your XMODEL_EXPORT file to any name.. This name will be for xmodelsurf or xmodelpart
37. Choose it..
38. Change 'type' to 'animated'
[Image: l3992411t143.jpg]
39. Save GDT File...
40. Press convert for xmodel..
41. You will see error! Can't find material! Copy this material's name and create new entry for material with copied name..
42. You can convert CoD4 Files, or create your.. CoD4 Materials have bad quallity..
43. Now convert this material
44. Convert xmodel...
45. After Converting, find in <cod7 dir>/raw/ .IWI file, and mtl file (named as material in Asset Manager) And copy to your mod ..
46. Find in <cod7 dir>/raw your model! Model named as xmodel Entry in Asset Manager..
47. Find <cod7 dir>/raw xmodelpart and xmodelsurf! This file named as GDT File name in Asset Manager..
48. All Anims from CoD4 is in CoD7! You can see in my other thread... http://www.itsmods.com/forum/Thread-INFO...stuff.html
49. Create your weapon or spawn model!

HOT FIX: in xmodel exporter when exporting, press on tag model then Export .MA and use it in maya 2009! All tags is saved! Just export! (Scripts18 Failed)



I released M40a3 And Desert Ealge there as Example! Enjoy!

Some results:
[Image: q349942011-08-09_00036h143.jpg]
[Image: o283372011-08-09_00062a143.jpg]
[Image: s326192011-08-08_00086q143.jpg]

[/hide]


[*]Recorded by "secret noob"

Written by me.
Thanks to CoDBOMod|Nukem - said about model size fixing..

Thanks for reading!! Nyan Cat


Attached Files
.rar   cod4weps_by_se7en_u.rar (Size: 573.42 KB / Downloads: 273)
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#2
nice tutorial Wink
Reply

#3
cool :=) thanks
I like turtles
[Image: thumb-275x274-design-609.png]

Reply

#4
Nice!! how did you got the original sounds?. Thanks!
Reply

#5
(08-10-2011, 15:54)FRAN710 Wrote: Nice!! how did you got the original sounds?. Thanks!

http://www.itsmods.com/forum/Thread-Addi...layer.html
Reply

#6
(08-10-2011, 16:04)d0h! Wrote:
(08-10-2011, 15:54)FRAN710 Wrote: Nice!! how did you got the original sounds?. Thanks!

http://www.itsmods.com/forum/Thread-Addi...layer.html

that won't work.. the weapons you import with this are from another game..

[Image: MaEIQ.png]
Reply

#7
nice tutorial
Reply

#8
(08-10-2011, 16:09)Pozzuh Wrote:
(08-10-2011, 16:04)d0h! Wrote:
(08-10-2011, 15:54)FRAN710 Wrote: Nice!! how did you got the original sounds?. Thanks!

http://www.itsmods.com/forum/Thread-Addi...layer.html

that won't work.. the weapons you import with this are from another game..
You could take the sounds from cod4/codwaw and put them into BO raw/sounds. You would have to make your own soundalias though which isnt too hard. Easiest way is to use openoffice calc and seperate by commas ",". hope that makes sense. I would take the gun that sounds most similar to the one your making, and just change the alias name and the file locations. ( be sure to make 2 sound aliases both regular and plr sounds. plr sounds are always the same volume and dont fade over a distance where as regular or npc sounds do.)
Reply

#9
(08-10-2011, 17:09)boe44 Wrote: You could take the sounds from cod4/codwaw and put them into BO raw/sounds. You would have to make your own soundalias though which isnt too hard. Easiest way is to use openoffice calc and seperate by commas ",". hope that makes sense. I would take the gun that sounds most similar to the one your making, and just change the alias name and the file locations. ( be sure to make 2 sound aliases both regular and plr sounds. plr sounds are always the same volume and dont fade over a distance where as regular or npc sounds do.)

There is no sound converter for black ops so you can't do this afaik.
[Image: b_560_95_1.png]
Reply

#10
(08-10-2011, 17:19)[CoDBOMod]Nukem Wrote: There is no sound converter for black ops so you can't do this afaik.

converting .wav to raw Mono, 44100Hz, 32-bit float doesnt work like in every other cod?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Spawning Solid Models akillj 5 4,406 09-08-2013, 00:07
Last Post: akillj
  Help Importing BO2 Dog Tags to BO DidUknowiPwn 5 3,964 09-02-2013, 06:37
Last Post: Nekochan
  List of models that can be spawned? (Looking for C4 model) akillj 5 4,799 06-27-2013, 13:35
Last Post: Yamato
  [C# xna 4] 3d models or vertices array narkos 5 4,382 06-25-2013, 08:14
Last Post: narkos
  [Release] Export models from Call Of Duty : Black Ops JariZ 26 34,091 05-16-2013, 17:20
Last Post: mosayebg
  How to get models working? Erik The Born 2 3,055 04-28-2013, 08:19
Last Post: Erik The Born
  Player models McKinleySPB 1 2,886 04-26-2013, 17:36
Last Post: Nekochan
  [Request] List of all weapon models DidUknowiPwn 3 4,628 04-20-2013, 09:13
Last Post: Dominator56
  Not all models where extracted? Erik The Born 8 4,545 04-20-2013, 08:43
Last Post: Erik The Born
  [Tutorial] Importing models from N64 Games into Maya master131 8 17,816 03-15-2013, 04:00
Last Post: bigbangben

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.