View Full Version : ammo model
malyczolg
25th October 2013, 21:07
hello , i make ammo box model , how add for him textures [ colors ] ?
Loveboy can u make tutorial : how add color_map for model ?
Loveboy
25th October 2013, 22:19
Hello malyczolg!
It's easy:
1. You have to look on your .XMODEL_EXPORT file, down you can see this:
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.
520
malyczolg
26th October 2013, 09:03
i cant save .XMODEL
its test model :
Loveboy
26th October 2013, 10:27
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
malyczolg
26th October 2013, 14:09
i make palette for ammobox and this same error
Loveboy
27th October 2013, 09:46
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.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.