Records Folder and Bug with ItemUsableSkill ?

Hi,
I Create a Folder called “MyMod_records” where I put all my items dbr files.
I created a potion with the template "ItemUsableSkill " that casts the existing spell "item_chaosresist_01.dbr " (records/skills/itemskills/consumableskills).
It works if I use the original directory.
But if I copy the exact same file in “MyMod_records/skills/itemskills/consumableskills/item_chaosresist_01.dbr” and modify the skillName from my potion (template ItemUsableSkill ) to target the new directory (“MyMod_records” instead of “records”), it does not work anymore.
Any idea ?
Thanks

Did you add it to asset manager? The contents of “records” folder is automatically included in the build process.

The folder “Mymod_records” is inside the database part of the Asset Manager not the Assets part of the Asset Manager.
Howerver unitl now it was working correctly and the items I made are correctly loaded in game.
I don’t know why it doesn’t work.

maybe… because…

But I have some items that are inside the My_Mod folder (in the database tab) that are loaded correctly into the game.
Also I can’t put records inside the “Assets tab” of the Asset manager, and I can’t auto-build assets from the Database tab to make them appear in the Assets tab.

Also is there some kind of “game cache” that needs to be erased after making a modification to the mod and reloading the custom game ?

It’s even more strange :
If I made an NPC cast the skill (in Mymode folder) through conversation it works but the potion with infinite use can’t cast the same skill.

Now I created a potion inside the original records folder.If skillName dbr target an existing spell it works , like :

  • records/skills/itemskills/consumableskills/item_elixir_hunt_01.dbr

If I change the name of the dbr (copy/paste then rename) in the same folder and change skillName in ItemUsableSkill:

  • records/skills/itemskills/consumableskills/test.dbr

then build mod.
It doesn’t work
Anyone can explain what I miss here ?
Thanks

Anyone successfully made it work (even a scroll or oneshot doesn’t work for me) with a custom created skill ?

Anyone made a custom item cast a custom skill (one shot scroll,potion, or infinite potion)?
I can make an NPC cast a custom skill but I can’t make an item cast this same custom skill (however it works with any existing skill).

Sounds easy enough, I’ll try it when I get home from work today if no one else does.

Hi ASYLUM101 did you tested it?
Thanks

did you try adding it to the consumable tree? at
records\skills\itemskills\consumableskills_skilltree_consumableskills.dbr
OR
records\skills\itemskills\consumableskills_skilltree_consumableskills02.dbr

Thanks Warebar, I didn’t know there was a skilltree for consumable skills !
So it works if I had it to _skilltree_consumableskills02.dbr.

But skilltree entries are LIMITED.
If I add a new skilltree (ex: _skilltree_consumableskills03.dbr) it is not used.
Do you think it’s possible to create new consumables skilltrees ?
Do we need to have to name the skilltree with a special format ?
Do we need to have the consumables skilltree inside the records\skills\itemskills\consumableskills\ floder ?
Or can we put it in records\MY_MODFOLDER\skills\itemskills\consumableskills\ ?