Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: [Tutorial] How to make models in Call of Duty 2

  1. #1
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts

    [Tutorial] How to make models in Call of Duty 2

    Hello Guys!

    Here is a new Thread about Modelling.

    I want to show you how you can make your own models in Call of Duty 2!

    For that tutorial, you will need some specially programs.

    1. CoD2 Mod Tools
    Download link: http://www.gamefront.com/files/5010188

    Install it, and you will get in your Call of Duty 2 path a new Folder "bin"

    Do not install it, if you have already installed it.


    2. Blender

    Blender is a Modelling Program
    Download: http://www.chip.de/downloads/Blender..._12993220.html

    If you can't Download Blender, then please find on google a Download which works.

    Download it and install it ( Do not Install it if you have Blender already )


    3. CoD Tools for Blender
    You will need the CoD Tools for exporting CoD Models.
    Download link: http://code.google.com/p/blender-cod...2.3_alpha2.zip

    Set the ZIP-File in your Desktop.


    4. WinRAR
    Download: http://www.chip.de/downloads/WinRAR-..._37666786.html
    If you can't download it form here, please find in google for an other Download link.
    Install it, if you haven't got WinRAR and if you have it already, then don't install it again.


    Now we can start!

    As first you must have a Model.
    You can find Models in some websites.
    Example: http://tf3dm.com/

    As example we will do this chair in CoD2
    http://tf3dm.com/3d-model/chair-85457.html

    Download it, you will get a .7z file, you have to put the .7z file in your Desktop.

    If you open the lt6v8f2yxa-chair.7z file ( With WinRAR ), then you will see this files in it:
    chair.mtl
    chair.obj
    chair_d.dds
    chair_n.dds

    Put the .mtl and .obj on your Desktop and the two .dds on your Call of Duty 2 Path.

    As next you have to open Blender.

    If you open Blender, it will looks so

    Click image for larger version. 

Name:	bild1.jpg 
Views:	285 
Size:	279.1 KB 
ID:	436


    If you see, there is a Block, with camera, we don't need it, so we delete it.

    How you delete something:

    1. Press A to select all ( A second time will unselect all )
    2. Press X to Delete
    3. Click on delete

    Now you have nothing in your Blender

    Click image for larger version. 

Name:	bild2.jpg 
Views:	273 
Size:	405.1 KB 
ID:	437

    Now you have to install in Blender the CoD Tools.

    1. Click on File -> User Preferences

    Now it will open something.

    At the top there stay "Add-Ons"

    Click image for larger version. 

Name:	bild3.jpg 
Views:	274 
Size:	285.4 KB 
ID:	438

    Click on it, then you are in Add-Ons.

    As next, click down on "Install Add-On..."

    Click image for larger version. 

Name:	bild4.jpg 
Views:	267 
Size:	284.6 KB 
ID:	439

    Now you have to locate in your desktop, where the zip file is saved.

    Click image for larger version. 

Name:	bild5.jpg 
Views:	273 
Size:	284.3 KB 
ID:	440

    Now click on the .zip file.

    Now click left on the > to show the details

    Then click on the right the [] Button, to make a mark.

    Then press on "Save As Default" to have it everytime.

    Click image for larger version. 

Name:	bild6.jpg 
Views:	279 
Size:	264.5 KB 
ID:	441


    As next we open our model on Blender.

    Click on File -> Import -> Wavefront (.obj)

    and locate it on your Desktop path to open the chair.obj and open it.

    Click image for larger version. 

Name:	bild7.jpg 
Views:	263 
Size:	218.0 KB 
ID:	442

    Now you can see your model ( it's now too small )

    Click image for larger version. 

Name:	bild8.jpg 
Views:	269 
Size:	265.6 KB 
ID:	443

    You see, its orange (selected all) , now we want only select the chair. Do a right click on the chair to have it as yellow.

    we want to make it bigger, so we click left on the Object button

    Click image for larger version. 

Name:	bild9.jpg 
Views:	271 
Size:	270.5 KB 
ID:	444

    Now, you see there Scale: X,Y,Z is 1.000 (this is the normal size, but not for call of duty)

    Click image for larger version. 

Name:	bild10.jpg 
Views:	268 
Size:	263.4 KB 
ID:	445

    Now we write on X,Y,Z 20.

    Now its 20 times more bigger. That should be normal for Call of Duty

    Click image for larger version. 

Name:	bild11.jpg 
Views:	270 
Size:	237.5 KB 
ID:	446


    As next we export the model to .XMODEL_EXPORT

    Now, as we installed the CoD Tools for Blender, now we have .XMODEL_EXPORT and .XANIM_EXPORT

    Now click on File -> Export -> COD Xmodel (.XMODEL_EXPORT)

    Locate it to your Desktop and give it a name (look at the top, rename the untiltled.XMODEL_EXPORT to chair.XMODEL_EXPORT

    Now click on Export XMODEL_EXPORT (right, at the top)

    Now if you close Blender and look at your Desktop, you have get a file names "chair.XMODEL_EXPORT"

    Now you have to open the chair.XMODEL_EXPORT file ( Editor or Wordpad ) and go down.

    There, at the end will stay MATERIAL 0 "$default" "Lambert" "untitled"

    Click image for larger version. 

Name:	bild12.jpg 
Views:	269 
Size:	205.2 KB 
ID:	447

    rechange the $default to chair_material

    Click image for larger version. 

Name:	bild13.jpg 
Views:	258 
Size:	203.8 KB 
ID:	448

    The chair_material is the texture of the model.

    You can close now chair.XMODEL_EXPORT and now do the chair.XMODEL_EXPORT in the path "C:\Program Files (x86)\Activision\Call of Duty 2\model_export\base_character"

    Now open the assetmanager.exe (Call of Duty 2/bin) as admin.

    Click image for larger version. 

Name:	bild14.jpg 
Views:	257 
Size:	151.2 KB 
ID:	449

    Now go down in the list, and click on xmodel, give the name chair and then press on New entry, then on OK

    Click image for larger version. 

Name:	bild15.jpg 
Views:	261 
Size:	117.4 KB 
ID:	450

    type should be rigid
    highLodDist should be 100000000
    and filename: Click on [...], then locate it to you call of duty 2 path, then on model_export, then on base character, then click on chair.XMODEL_EXPORT

    Click image for larger version. 

Name:	bild16.jpg 
Views:	264 
Size:	194.4 KB 
ID:	451

    Then save it
    How to save?
    1. File -> Save as...
    2. Filename: chair.gdt
    3. Save

    Then press at the top, PC Convert -> Current Asset only

    Now you get a error: Can't find material [chair_material] ...

    Click image for larger version. 

Name:	bild17.jpg 
Views:	260 
Size:	242.4 KB 
ID:	452

    Now close the Black thing ( NOT ASSET MANAGER!!! )

    Now go to the list back (Asset Manger) and click on material, name should be chair_material , then on New Entry, then on OK

    Now should be surfaceType plaster, usage should be case.

    Down ( Color map ), click there on [...] and locate it to your Call of Duty 2 path.

    Click on chair_d.dds to open it.

    Click image for larger version. 

Name:	bild18.jpg 
Views:	265 
Size:	295.9 KB 
ID:	453

    Now click on File -> Save As... then locate to your Call of Duty 2 Path.

    1. Filename: chair_material.gdt
    2. Save

    Now PC Convert -> Current Asset Only...

    Now it will open again a black thing... It says no error.

    Click image for larger version. 

Name:	bild19.jpg 
Views:	262 
Size:	255.2 KB 
ID:	454

    Now we go back to the list, to xmodel, and click on chair.

    Now we do again PC Convert -> Current Asset Only

    and a black thing will open... ALL WORKS!!!

    Click image for larger version. 

Name:	bild20.jpg 
Views:	253 
Size:	237.3 KB 
ID:	455

    Now, open (as admin) your CoD2Radiant.exe (Call of Duty 2/bin) and you can put your model in your map.

    right click -> misc -> model ... choose chair ... and there is it...

    Click image for larger version. 

Name:	bild21.jpg 
Views:	273 
Size:	302.1 KB 
ID:	456


    If there are still some errors or I have bad explained on a point, please reply and i will fix it!

    Have fun to make Models

  2. The Following 15 Users Say Thank You to Loveboy For This Useful Post:

    BlancO (10th December 2013),EvoloZz (16th September 2013),Invictus (28th December 2013),Jeplaa (14th September 2013),kung foo man (15th September 2013),Mitch (27th April 2014),NemanjA (17th September 2013),Ni3ls (16th September 2013),pollo (16th November 2013),RobsoN (16th September 2013),serthy (14th September 2013),smect@ (27th October 2013),Tally (14th September 2013),thOuMta (15th September 2013),YuriJurek (14th September 2013)

  3. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Good tutorial. A lot of work, I can see. So, well done.

  4. The Following User Says Thank You to Tally For This Useful Post:

    Loveboy (14th September 2013)

  5. #3
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    Nice work, seems you have put a lot of effort in it, great job !

  6. #4
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    Here you can download the chair (Model in Call of Duty 2) http://speedy.sh/Pjt8v/chair.iwd

  7. The Following User Says Thank You to Loveboy For This Useful Post:

    YuriJurek (15th September 2013)

  8. #5
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    I come across some models that use more than 1 texture for example http://tf3dm.com/3d-model/sword-13298.html, how do I configure the .XMODEL_EXPORT file? and then what do I do in Assest Menager to make it work?

  9. #6
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by YuriJurek View Post
    I come across some models that use more than 1 texture for example http://tf3dm.com/3d-model/sword-13298.html, how do I configure the .XMODEL_EXPORT file? and then what do I do in Assest Menager to make it work?
    Code:
    //////////////////////////////////////////////////////////////////////////////////////////
    // Beginning MATERIALS
    //////////////////////////////////////////////////////////////////////////////////////////
    
    NUMMATERIALS 2
    
    MATERIAL 0 "mtl_ac130" "" "..\images\xpec_ac130_col.dds"
    COLOR 0 0 0 0
    TRANSPARENCY 0 0 0 0
    AMBIENTCOLOR 0 0 0 0
    INCANDESCENCE 0 0 0 0
    COEFFS 0 0
    GLOW 0 0
    REFRACTIVE 0 0
    SPECULARCOLOR 0 0 0 0
    REFLECTIVECOLOR 0 0 0 0
    REFLECTIVE 0 0
    BLINN 0 0
    PHONG 0
    
    MATERIAL 1 "mtl_ac130_p" "" "..\images\xpec_ac130_p_col.dds"
    COLOR 0 0 0 0
    TRANSPARENCY 0 0 0 0
    AMBIENTCOLOR 0 0 0 0
    INCANDESCENCE 0 0 0 0
    COEFFS 0 0
    GLOW 0 0
    REFRACTIVE 0 0
    SPECULARCOLOR 0 0 0 0
    REFLECTIVECOLOR 0 0 0 0
    REFLECTIVE 0 0
    BLINN 0 0
    PHONG 0
    
    
    //////////////////////////////////////////////////////////////////////////////////////////
    // End MATERIALS
    //////////////////////////////////////////////////////////////////////////////////////////

  10. The Following User Says Thank You to Tally For This Useful Post:

    Loveboy (16th September 2013)

  11. #7
    Private First Class YuriJurek's Avatar
    Join Date
    Jun 2013
    Posts
    219
    Thanks
    152
    Thanked 88 Times in 47 Posts
    This doesn't really say anything to me, it would be nice if you could explain it a bit further so in the future I'll know what I am doing.

    And what about the second part, how do I configure Assest Menager? So that every texture works as it should.

  12. #8
    Brigadier General
    Join Date
    Dec 2012
    Posts
    1,012
    Thanks
    440
    Thanked 171 Times in 132 Posts
    just convert all the textures and load the right material name as you do it normally

  13. #9
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    You have to know, that if you want to export models which are many detailed (many MB) can't export to Call of Duty 2, IF THE MODEL HASN'T GOT MANY MATERIALS. 1 MATERIAL IS ALLOWED TO HAVE A LIMIT (I THINK 5450 VERTICES...)
    Last edited by Loveboy; 16th September 2013 at 20:14.

  14. #10
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    You can seperate your model in Blender into several objects to avoid this error.

  15. The Following 2 Users Say Thank You to serthy For This Useful Post:

    Loveboy (17th September 2013),Ni3ls (17th September 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •