#1 2014-06-01 10:10:15

laber
Member

Custom models in Tesseract

Yesterday I tried to add a custom model into Tesseract, but did not succeed.
Are there any tutorials on that topic or just some special OBJ export needed?

What I did:

1) added the following line to "default_map_models.cfg":
mapmodel "teamarg/logo"

2) created a new folder:
/media/model/mapmodel/teamarg/logo/

3) added the following files to that folder:
obj.cfg
model.obj
diffuse.png

4) added the following to the obj.cfg
objload model.obj

objskin    * diffuse.png 0.7

mdlscale 1
mdlcollide 1
mdlspec 100

5) restarted the server, created a new map and searched for my model in the F3 menu

Thanks for your time and this great game! :D

Offline

#2 2014-06-01 12:40:24

RaZgRiZ
Moderator

Re: Custom models in Tesseract

The F3 menu doesn't magically list all the models, it's a list in default_map_models.cfg. Do not modify it however, make your own config for your map (must have the same name as your map and be placed in media/map). Don't forget to add the definition for the model inside it.

The reason for this is because if everyone simply started adding models to his default list then there would be some slight issues with people not understanding what the hell you were doing in your map since they'll be seeing the wrong models.

Last edited by RaZgRiZ (2014-06-01 12:42:36)

Offline

#3 2014-06-29 15:22:56

rasteron
Member

Re: Custom models in Tesseract

Hey laber, have you tried scaling up your model in your exporter tool or in your config file? If you check the models panel you can see it on a blank slot particularly if you placed it last on your list. This happened to me the first time I added custom stuff.

Also, you don't need to run the server to see your new assets, running/restarting the client will just do fine.

cheers.

Offline

Board footer