Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Did you configure the correct folder in the configuration? The ‘Folder’ to be selected should have ‘portraits’ and ‘tokens’ subfolders, the images inside those (the tokens folder is actually optional).

Example of correct structure:

  • /imgs/ <- folder selected
  • /imgs/portraits/warrior_human.jpg
  • /imgs/portraits/warrior.png
  • /imgs/tokens/warrior.png <- will get the token IF found one, optional, if NOT will use portrait as the token (and tokenize if you use tokenizer)
(1 edit)

I did do that, thanks. It's still not pulling any images. I'm using this hosted on the Forge if that makes a difference. This message comes up in the console: NPC Generator | No image files found in npc-portraits/portraits, but there are dozen images in that folder.

Im testing and it seems Forge storages user data in a different ‘place’ than ‘user storage’. Even the examples images that come with the module are ‘stripped out’ in the Forge’s module version.

I will come up with a Forge’s compatibility fix soon. Thank you for bringing this issue.

Many thanks.

Images are now working, but it's not creating the NPC

Uncaught (in promise) TypeError: game.settings.get(...).Actor is undefined

[No packages detected]

    writeBio https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    prepare https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    create https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    _renderNPCGenerator https://assets.forge-vtt.com/bazaar/modules/npc-generator-dnd5e-8eac8ab0c784407e...

    jQuery 2

        dispatch

        handle

npcdraft.js:1272:37

Should be fixed now in v1.12! Sorry about that! And thank you again for bringing the Forge portrait issue.

Thanks for the quick turnaround, this module is amazing! Much appreciated.