-
Notifications
You must be signed in to change notification settings - Fork 30
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
Same name textures but for different .img's get resolved one-sided #119
Comments
Hey @rokuniichi. There's already a solution for this within the project. If you put a clothing item inside a Internally, when such a directory pattern occurs, the item is added a is_fcloth_mask flag, which is checked in the snippet of code you've seen. There's other two heuristics in place too:
|
As I've said in my follow up comment, the problem is that mask solution comes after As I've told, it's 100% reproducible with coach.txd clothing mod if you have another vehicle mod that also uses coach.txd and it doesn't matter if you put it in Repro steps:
|
@rokuniichi makes sense, I apologize for not reading your previous comment thoroughly. I'll take a look into reproducing and merging your PR once I have some time. Would you be able to provide me a clothing mod for testing purposes? |
@thelink2012 Some assets for testing: |
Not entirely accurate what I said here, since because we always read modloader folder alphabetically ordered top to bottom, you'd only have to rename your |
Found that problem while was trying to remove annoying labels from clothes.
Example:
There's a jacket named "coach" in player.img that has a corresponding texture "coach.txd"
Also, there's a vehicle "coach" in gta3.img that has an appropriately named "coach.txd" texture
If you were to use 2 mods, one of which changes the vehicle's texture and another that change's the jacket's texture in that example, you would only get only one of those textures actually loaded in the game and another one completely ignored.
The text was updated successfully, but these errors were encountered: