Author Topic: installing models at FH.  (Read 9721 times)

Thierry

  • Guest
installing models at FH.
« on: July 30, 2011, 01:45:22 am »
Index:
-Understanding how models works at FH.
-Installing meshes
-ZIP, RAR, and 7Z files
-Uploading a lot of small files: ZIPing files
___________________________________


Understanding how models works at FH.

FeralHearth calls resources.cfg


resources.cfg have some lines with the subfolders with meshes, materials and textures. for example:

when you put a .mesh, .material, or any other file inside these folders, FH will recognize it.

when you load a .mesh file, the mesh file will load the .skeleton file wich contain the mesh animation.
currently, FH doesn't support animations at object maker. (make a feature request to kovu :) )
The mesh file calls for some materials names (not the .material file).


Then FH loads ALL .material files looking for the material name.

the material is described inside the .material script


so the mesh works like this:



Installing meshes
The most asked question when you download a mesh and doesn't come with instructions.

Generally, you will find a lot of files with these extensions:
.mesh is the model itself without textures nor animations.
.skeleton is the animation of the mesh.
.material is the script that the mesh use to call the texture.
.jpg .png .gif .tga .bmp, etc. are the textures itself called by the .material script
.object is the script created by FH to load correctly the meshes.

general instructions to install:
copy all files in to FeralHeart\media\objects\my_objects, except .object file.
copy the .object file in to FeralHeart\media\objects.
then at object or map maker, you will see a new group with the same name that the .object file, when you load models saved in this group, you will see the models with textures. (if not continue reading)

if you downloaded meshes doesn't come with .object file, don't worry, continue reading.

open object maker, and type the mesh name to load including the extension, ex: test.mesh
if all is right, it will load the model with textures (if not continue reading):
open the downloaded .material script with notepad, or any other text editor. (if you don't find any .material script you will need to make one)
in the .material script you will find something like this:


material
yourmaterialname
{
   technique
   {
      pass
      {
         cull_hardware none
         cull_software none
         texture_unit
         {
            texture yourimage.png
         }
      }
   }
}


at object maker, select your loaded mesh and type the material name remarked in red. uppercase/lowercase sensitive.
Note: the .material files can have a lot of diferent material scripts, you need to deduct which is the correct one.


ZIP, RAR, and 7Z files, what i do with these?
ZIP
actual windows versions, doesn't require any additional program to manage zip files. (but you can use winrar or 7ZIP).
simply, double click (or click explore), you will see the files inside the zip. To extract them, select the files and click copy or (ctrl + C), then go outside the zip folder and clic paste or (ctrl + V).
Note: Don't close the window while extracting.
now you have the models decompresed.

RAR
RAR is like ZIP, the diference is you need a program to open it.
you can open a RAR file with winrar, but winrar is a 40 day trial. You can use 7Zip (free) instead to open a RAR file.
install 7ZIP (or winrar if you have it).
Right click in to the RAR file and click extract.
now you have the models decompresed.

7Z
7Z or 7ZIP, is like ZIP or RAR, but you can't open a 7Z file with winrar.
download and install 7Zip (free).
Right click in to the 7Z file and click extract.
now you have the models decompresed.


Uploading a lot of small files: ZIPing files
when you upload/download many small files, is anoying to click on every link and save, is better to make all in a single file.

ZIP
actual windows versions, doesn't require any additional program to manage zip files, but you can use winzip, winrar, or 7Zip if you want.

how to make a zip?:

this screenshots is from windows XP, may work similar with vista and seven.
first, select all files, and right click them.
select send to:
zip folder.


now you have created a zip file!




you may be interested in:
Introduction to the Object Maker Aedre's tutorial.

« Last Edit: August 14, 2011, 02:02:55 am by Thierry »

Offline Celeyan

  • Pack & Pride Representative
  • ****
  • Posts: 1,048
  • Country: 00
  • Floof-O-Meter: 50
  • ?? f?????? ?????'? ??f?? ??
    • View Profile
Re: how models works at FH for newbies
« Reply #1 on: August 13, 2011, 08:24:31 pm »
bump C:

Okapi

  • Guest
Re: how models works at FH for newbies
« Reply #2 on: August 13, 2011, 08:48:09 pm »
Thanks Thierry this really helped a lot! I'm sure to use this post again for help in the near future.

Thierry

  • Guest
Re: installing models at FH.
« Reply #3 on: August 14, 2011, 01:53:04 am »
thanks for your comments.

i just changed the title, added more stuff. this tutorial needs spelling correction.
i will make a explanation of installing particles later.


Offline cozyyote

  • Experienced Traveler
  • **
  • Posts: 238
  • Country: us
  • Floof-O-Meter: 19
  • owo what's this?
    • cozyyote
    • cozyyote
    • @cozyyote
    • View Profile
    • Telegram Art Channel
Re: installing models at FH.
« Reply #4 on: May 16, 2014, 11:18:52 pm »
AWESHUM!




« Last Edit: May 16, 2014, 11:22:27 pm by ~Trapped~ »

Offline Vespian

  • An Unsightly Beast
  • Ancient Silver Mane
  • *****
  • Posts: 3,935
  • Country: us
  • Floof-O-Meter: 242
    • View Profile
Re: installing models at FH.
« Reply #5 on: May 17, 2014, 02:55:13 am »
AWESHUM!
Let's not necro-thread old threads, alright floof? This topic has been inactive since the year 2011. Let the dead rest in peace. For future reference, stick to topics that were recently posted in.

Lockin' this.
gone