Page 1 of 1

Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 9:40 pm
by Ronis
Hi,

My problem is that I have a model exported (custom, made in bledner), but it does not show in contect browser. Image

I believe my .sii file is correct, I have followed Miro's tutorial
Here is my .sii (definition) file.



SiiNunit
{
#by Ronis_
model_def : model.leresti_mon {
model_desc: "/model/leresti_sign/leresti_mon.pmd"
category: "monument"

}
}

model_def has the same name as the mod and as the .sii file.
model_desc has the same name ^.

The sign is a monument (or a normal sign indicating a city/town) which greets drivers whenever they enter the area of said town.

.sii file is placed in def/world/model/
The model's texture is .tga and the .tobj was automatically generated by blender.
Hopefully there is a fix for this too.

PS: I tried moving the mod from the mod folder, it is indeed used by the Map Editor, but fails to show, and yes, i have -force_mods (or something along those lines).

Romanian:

Am facut un totem care saluta lumea cand intrii intr.o localitate/oras/sat.
Acesta este locat intre Campulung si Leresti, mai exact cel de la Str Valea Foii.

E, cu aceste spuse, am dat pack mod la model, este in mod folder ca .sii, problema este ca el nu apare in content browser cu:
.sii fisier valid.
model full texturat.
-force_mods activ ca parametru la editor.
Alte moduri nu sunt folosite.

Ce pot face in aceasta situatie?
PS: Am incercat pe o mapa noua goala sa vad daca se incarca, dar rezultatul este nu. Am mai incercat cu un model test, ceva minuscul facut de mine, la fel sa intamplat si aceleasi conditii de mai sus se aplica.

Multumesc anticipat.

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 9:44 pm
by Arayas
.sii file is placed in def/world/model/

thats your problem def/world is enough

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 10:05 pm
by Ronis
Arayas wrote:
May 12th, 2022, 9:44 pm
.sii file is placed in def/world/model/

thats your problem def/world is enough
Huh, I've been told to place it in /model/. Also, thanks, it worked!

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 10:24 pm
by Ronis
Sorry for this, now I've a problem with the geometry data?

"Model data prolog failed! 0x4547F1002B40003
Missing model item geometry data! (/model/leresti_sign/leresti_mon.pmd)

The .pmd exists within the scs file, in the correct location, and is also defined within the .sii file.

Code: Select all

SiiNunit
{
model_def : model.cmpmonument 
{
	model_desc: "/model/leresti_sign/leresti_mon.pmd"
	category: "monument"

}

}

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 10:29 pm
by Arayas
the game is seeing your model now, but the PMD is broken.

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 10:31 pm
by Ronis
Arayas wrote:
May 12th, 2022, 10:29 pm
the game is seeing your model now, but the PMD is broken.
So I should just re-export/re-pack the mod and try again?

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 12th, 2022, 10:53 pm
by Arayas
i cannot know what went wrong, but i can tell you what the game is telling.

Re: Custom Model exported, but the editor does not show it in content browser

Posted: May 13th, 2022, 12:51 am
by Ronis
Arayas wrote:
May 12th, 2022, 10:53 pm
i cannot know what went wrong, but i can tell you what the game is telling.
Don't worry, you have said it right, just needed to re-export and it works. Thanks.