Page 1 of 1

.prm problem

Posted: Sun Aug 23, 2015 1:22 am
by The guest
Hi community,
I have a problem with the textures from .prm files. Everytime I open a .prm Zmodeler says:
"ZM_Model.INF was not found. Creating newer one. This file is required to simplify import/export routines and for proper loading of neccessary textures."
After importing the whole model is white and the texture isn't loaded.
What do I have to do?
Thank you for answers and sorry for my bad english.
The guest

Re: .prm problem

Posted: Sun Aug 23, 2015 2:39 am
by Oleg
This is a helper file that allows you to specify how the model should be loaded, as there is not enough info inside a *.prm model file.

Here's an example of ZM_MODEL.INF file for TC6 model:

Code: Select all

;==========================================================================
;==================         Custom INFO file              =================
;==========================================================================

;    This file was generated by ZModeler and used when importing PRM files.
;    To import the whole vehicle into ZModeler and/or export it all you can
;write filenames in the FILES section. Don't foget to write proper number of
;files after FILES keyword.

;write NO keyword if you have any problems when importing PRM files.
USE_THIS_FILE       YES

;NO = use specified textue. YES = use textures with suffices: a,b,c, and so on.
TEXTURES_SUFFIXES   NO

FILES               5
body.prm    { TPage: car.BMP   Offset:  0.000000  0.000000  0.000000 }
wheelbl.prm { TPage: car.BMP   Offset: -30.000000 6.000000  -39.000000 }
wheelbr.prm { TPage: car.BMP   Offset:  30.000000 6.000000  -39.000000 }
wheelfl.prm { TPage: car.BMP   Offset: -25.500000 -6.000000  31.000000 }
wheelfr.prm { TPage: car.BMP   Offset: 25.500000  -6.000000  31.000000 }