Custom items not in item lists ?

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Custom items not in item lists ?

Post by Doridion »

Don't know if i'm alone to have this issue, but all my custom items don't appear in the item lists. Show list, surface, sockets, containers, etc.

My question is for AH Devs ; is there a way to make them usable in theses elements ? ( already giving traits or using base_object, but nothing help ).

Thanks in advance
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Custom items not in item lists ?

Post by Doridion »

Little bump to yell help putting the custom items in the items lists ( just to be selectionnable and can be added in the alcoves, altars, etc ).
User avatar
QuintinStone
Posts: 72
Joined: Sat Nov 01, 2014 9:58 pm

Re: Custom items not in item lists ?

Post by QuintinStone »

Whenever my items haven't shown in the lists, I added a baseobject and they start to work.
Crypt of Zulfar
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Custom items not in item lists ?

Post by Doridion »

QuintinStone wrote:Whenever my items haven't shown in the lists, I added a baseobject and they start to work.
Already tried, but for totaly new item ( who have no item reference ) ? For modified items, i agree with that solution, but when you create ...
User avatar
Sutekh
Posts: 129
Joined: Sun Nov 25, 2012 9:58 am
Location: UK

Re: Custom items not in item lists ?

Post by Sutekh »

I've had the same problem by not declaring which editorIcon to use, maybe it could be that?
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Custom items not in item lists ?

Post by Doridion »

Sutekh wrote:I've had the same problem by not declaring which editorIcon to use, maybe it could be that?
To see your custom assets in the "any" list, you must define 2 elements : the name and the editorIcon. However, these assets, when they are item, are not findable in the "item" list, neither in the lists of the alcoves, altars, etc.

That's why my question : How declare custom item, to make them findable in the lists. ( For example, custom items named "user_item" can be find in the any list, added to the map, but not in the alcoves, even if we manually write it's name in the alcove items )
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Custom items not in item lists ?

Post by Doridion »

Ok, I'm stupid ( or just don't know some elements in the definitions ).

Declaring item with baseObject = "base_XXX", seems giving the custom assets an existence in the XXX lists ... something like that :
base_item, base_food, base_door, base_herb, base_monster, etc ... however, base_logic, base_decoration or other things are not working ...

Is there an hardcoded list of "predefined" assets, or could it be added ( that could help to sort assets ) ?
User avatar
QuintinStone
Posts: 72
Joined: Sat Nov 01, 2014 9:58 pm

Re: Custom items not in item lists ?

Post by QuintinStone »

Doridion wrote:Ok, I'm stupid ( or just don't know some elements in the definitions ).

Declaring item with baseObject = "base_XXX", seems giving the custom assets an existence in the XXX lists ... something like that :
base_item, base_food, base_door, base_herb, base_monster, etc ... however, base_logic, base_decoration or other things are not working ...

Is there an hardcoded list of "predefined" assets, or could it be added ( that could help to sort assets ) ?
I suspect that there are some elements that we don't know about. Using baseobject populates them.

I'll have to see what I can discover about predefined base objects.
Crypt of Zulfar
User avatar
Doridion
Posts: 256
Joined: Tue Jun 10, 2014 9:23 pm

Re: Custom items not in item lists ?

Post by Doridion »

QuintinStone wrote:I suspect that there are some elements that we don't know about. Using baseobject populates them.

I'll have to see what I can discover about predefined base objects.
What bother me, is that baseObject is to "clone" object .... I can fully create an asset, doing what it's created for, but if I don't include baseObject, it not appear in the alcoves item lists .... so, it seems that my custom asset not having all elements to be "correct item" for the editor. That seems more else, than the assets types are hardcoded. Doors, Items ( food, herbs, weapons ) Obstacles, Spells, and what about logics, lights, containers ( alcoves, altars, sockets ), decorations, etc ? If you don't know the cemetery_sky existence or name, you've just got to scroll down the mouse wheel ...
User avatar
Prozail
Posts: 158
Joined: Mon Oct 27, 2014 3:36 pm

Re: Custom items not in item lists ?

Post by Prozail »

the baseobject used throughout pretty much everything in the game is base_item, even in the main campaign, so that seems to be the true "base object". And using "base_item" does NOT give it an ItemComponent
Post Reply