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

Post Reply
Ronis
PPM
Posts: 5
Joined: November 11th, 2021, 11:15 pm

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

Post by Ronis » May 12th, 2022, 9:40 pm

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.
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

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

Post by Arayas » May 12th, 2022, 9:44 pm

.sii file is placed in def/world/model/

thats your problem def/world is enough
ImageImage Image
support@roextended.ro
www.roextended.ro
Ronis
PPM
Posts: 5
Joined: November 11th, 2021, 11:15 pm

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

Post by Ronis » May 12th, 2022, 10:05 pm

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!
Ronis
PPM
Posts: 5
Joined: November 11th, 2021, 11:15 pm

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

Post by Ronis » May 12th, 2022, 10:24 pm

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"

}

}
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

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

Post by Arayas » May 12th, 2022, 10:29 pm

the game is seeing your model now, but the PMD is broken.
ImageImage Image
support@roextended.ro
www.roextended.ro
Ronis
PPM
Posts: 5
Joined: November 11th, 2021, 11:15 pm

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

Post by Ronis » May 12th, 2022, 10:31 pm

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?
User avatar
Arayas
Site Admin
Posts: 7353
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

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

Post by Arayas » May 12th, 2022, 10:53 pm

i cannot know what went wrong, but i can tell you what the game is telling.
ImageImage Image
support@roextended.ro
www.roextended.ro
Ronis
PPM
Posts: 5
Joined: November 11th, 2021, 11:15 pm

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

Post by Ronis » May 13th, 2022, 12:51 am

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.
Post Reply