Jump to content
Saltoperator

CfgVehicles and editorPreviews - previews always fail to load in Eden

Recommended Posts

I have made a custom faction using Spetsnaz from Contact as the base.

 

Everything regarding the custom faction works as intended, but I would like to replace the editor previews, which still show the base Spetsnaz base units when hovering over them.

 

In the config.cpp, I have added a line for each unit – e.g. editorPreview="@MyMod\addons\previews\myUnit.jpg";

 

No matter where I put images in the mod folder, the image always fails to load in the editor, despite having the proper dimensions of 455x256px and being JPGs.

 

I have tried

  • putting images straight in the addons folder with no sub-folder
  • putting images into a data folder outside the addons folder but inside the mod folder, and pointing to that instead
  • different variations of folder paths in the config.cpp
  • converting .jpg to .paa, and then repeating prior steps

 

Is there some other place I need to place this images when compiling the mod into a .pbo?

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×