Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLC GFX files not recognised #177

Open
Zankoas opened this issue Jul 3, 2022 · 2 comments
Open

DLC GFX files not recognised #177

Zankoas opened this issue Jul 3, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Zankoas
Copy link
Contributor

Zankoas commented Jul 3, 2022

When defining GFX files such as this:

	SpriteType = {
		name = "GFX_HAW_armored_car1_medium"
		texturefile = "gfx/interface/technologies/usa_armored_car_equipment_1.dds"
	}

The files can either be in the mod files like so:
<MOD_NAME>/gfx/interface/technologies/usa_armored_car_equipment_1.dds

Or in the main mod files like so:
Hearts of Iron IV/gfx/interface/technologies/usa_armored_car_equipment_1.dds

Or - and this is the one that isn't working - in the DLC folder like so:
Hearts of Iron IV/dlc/<DLC_NAME>/gfx/interface/technologies/usa_armored_car_equipment_1.dds

@Zankoas Zankoas added the bug Something isn't working label Jul 3, 2022
@Zankoas
Copy link
Contributor Author

Zankoas commented Jul 3, 2022

Note this also applies to .gfx. files; something defined in a DLC .gfx. files (such as here: Hearts of Iron IV\dlc\dlc028_la_resistance\gfx\entities\_LaR_meshes_vehicles.gfx), will throw an error for not existing

@BiscuitCookies
Copy link
Contributor

I've managed to have a workaround by to doing stuff like filepath[dlc/dlc038_arms_against_tyranny/], but it only works when working with in the vanilla files, when doing it while working in a mod folder it doesn't check in vanilla files for it.

I've also had probably a related issue where I added paths for spriteType to read the dlc files, and those worked fine when working vanilla, but acts like they don't exist when working in mod files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants