Results 1 to 6 of 6

Thread: ammo model

  1. #1
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts

    ammo model

    hello , i make ammo box model , how add for him textures [ colors ] ?

    Loveboy can u make tutorial : how add color_map for model ?

  2. #2
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    Hello malyczolg!
    It's easy:
    1. You have to look on your .XMODEL_EXPORT file, down you can see this:

    Code:
    NUMOBJECTS 1
    OBJECT 0 "Mesh"
    
    NUMMATERIALS 1
    MATERIAL 0 "yourmaterialname "" ""
    COLOR 0.000000 0.000000 0.000000 1.000000
    TRANSPARENCY 0.000000 0.000000 0.000000 1.000000
    AMBIENTCOLOR 0.000000 0.000000 0.000000 1.000000
    INCANDESCENCE 0.000000 0.000000 0.000000 1.000000
    COEFFS 0.800000 0.000000
    GLOW 0.000000 0
    REFRACTIVE 6 1.000000
    SPECULARCOLOR -1.000000 -1.000000 -1.000000 1.000000
    REFLECTIVECOLOR -1.000000 -1.000000 -1.000000 1.000000
    REFLECTIVE -1 -1.000000
    BLINN -1.000000 -1.000000
    PHONG -1.000000
    That means, that the model has got only 1 material.
    materialname: yourmaterialname

    2. Go to Asset Manager and create a new entry on material. The name of it must be how like you write your material name on XMODEL_EXPORT.

    Click image for larger version. 

Name:	asset_manager.jpg 
Views:	61 
Size:	244.5 KB 
ID:	520

  3. #3
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    i cant save .XMODEL
    its test model :
    Attached Thumbnails Attached Thumbnails test.png  

  4. #4
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    I had this problem too, it's probably not enough things to export, try to add more or it's a bugg (I didn't tested it yet, maybe you should add the material on the ball)
    Else find a better ball from other websites and download it

  5. #5
    Private First Class
    Join Date
    Feb 2013
    Posts
    201
    Thanks
    4
    Thanked 10 Times in 7 Posts
    i make palette for ammobox and this same error
    Attached Thumbnails Attached Thumbnails asd.png  

  6. #6
    Lieutenant Loveboy's Avatar
    Join Date
    Nov 2012
    Posts
    546
    Thanks
    229
    Thanked 72 Times in 46 Posts
    Sorry I don't know yet why it doesn't work if you make yourself models. Just use finished models, or seach models in google.

Posting Permissions

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