• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

OLDodin

Sergeant
4 Badges
Jun 1, 2013
58
67
  • Crusader Kings II
  • Age of Wonders III
  • Arsenal of Democracy
  • Darkest Hour
*.spr files from the mod folder (moddir\gfx\map\units\ ) are ignored. Original *.spr files applied to moded bmp, which leads to errors

*.spr file - text file such as
Sprite = {
Bitmap = "T-BATTLECRUISER A-STAND C-MIN L-1.bmp"
Origin = { x = 55 y = 60 }
Frames = 20
Speed = 5
Palette = "T-BATTLECRUISER C-MIN L-1.bmp"
}
 
Upvote 0
*.spr files from the mod folder (moddir\gfx\map\units\ ) are ignored. Original *.spr files applied to moded bmp, which leads to errors

*.spr file - text file such as
Sprite = {
Bitmap = "T-BATTLECRUISER A-STAND C-MIN L-1.bmp"
Origin = { x = 55 y = 60 }
Frames = 20
Speed = 5
Palette = "T-BATTLECRUISER C-MIN L-1.bmp"
}
Could you explain more? Couldn't you just add your custom sprite(s) to the AOD's (..\gfx\map\units), using different names?
You could test it to see how AOD would handle it. Maybe AOD will just ignore your modded sprite(s) when a player selects not to play your mod but use them when the player does select your mod.

The reason for asking is twofold. I'm on the 1.13 release team and we are going to have new division types (helicopters (3 types), Cruiser Carriers, Helicopter/Amphibious Carriers, etc.). The new division types will need new sprites, for those that use sprites in game.
 
Could you explain more? Couldn't you just add your custom sprite(s) to the AOD's (..\gfx\map\units), using different names?
You could test it to see how AOD would handle it. Maybe AOD will just ignore your modded sprite(s) when a player selects not to play your mod but use them when the player does select your mod.

The reason for asking is twofold. I'm on the 1.13 release team and we are going to have new division types (helicopters (3 types), Cruiser Carriers, Helicopter/Amphibious Carriers, etc.). The new division types will need new sprites, for those that use sprites in game.
I think the point of a moddir is to not change the game's source files. And of course you can copy it to the AOD's folder and everything will work.
However, I bypassed this problem simply by launching the game with a change in the working folder.

copy settings.cfg .\MODDIRNAME\settings.cfg
START /D .\MODDIRNAME AODGame.exe