CowBarn Big ? ? ?

Your forum for all discussions around Modding.
User avatar
HC1Gunner
Posts: 448
Joined: Tue Nov 07, 2017 4:19 am

CowBarn Big ? ? ?

Post by HC1Gunner »

I want to change the colors of the red metal roof and green sides. I found garageBig02_diffuse and was able to change the roof. But I can't seem to find an image file for the green metal siding. When I looked at the cowBarnBig with GE, I could find anything that was just associated with just the siding.
Is the siding color located in the xml, I opened the cowBarnBig id3 file with Note ++, and I really could locate anything that pointed to just the siding.
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1062
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: CowBarn Big ? ? ?

Post by Dogface »

It is UDIM
go to...
Material Editing > Custom Shader > colorScale0
User avatar
HC1Gunner
Posts: 448
Joined: Tue Nov 07, 2017 4:19 am

Re: CowBarn Big ? ? ?

Post by HC1Gunner »

I thought I was on the correct track, I made a copy of the folder cowBarnBig, to use as my WIP.
I opened cowBarnBig with GE, via the Custom Shader, I changed the siding and all the doors, new color was showing in GE, saved, and copied the cowBarnBig, cowBarnBig.i3d.shapes, and cowBarnBig xml files to Giants default direfory.
Launched FS, created a new game, placed the large cow barn, and doors and siding were still green.
I open the id3 file at the below directory, and my color changes are still present in the model.

C:\Program Files (x86)\Farming Simulator 2022\data\placeables\rudolfHormann\cowBarnBig
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1062
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: CowBarn Big ? ? ?

Post by Dogface »

I never edit the game files. It is safer to make a mod.
User avatar
HC1Gunner
Posts: 448
Joined: Tue Nov 07, 2017 4:19 am

Re: CowBarn Big ? ? ?

Post by HC1Gunner »

It is a mod, but a lot of people that create mods, to save time, modify / edit game files. In this case, like a lot of mods released, there is no texture folder, instead the mod just reads / uses existing (default) textures already in the game. So if want to edit a lot of mods, you have to edit game files.

It just doesn't make much sense of how I edited the game's id3 file, the colors show as changed in GE, yet not in game, which means they have to be reading from an xml or something, where they are drawing for color.
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1062
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: CowBarn Big ? ? ?

Post by Dogface »

HC1Gunner wrote: Wed Jan 26, 2022 5:21 am which means they have to be reading from an xml or something, where they are drawing for color.
Yes, you answered your own question. Check the XML again, it is reading default colors, overriding the i3D.

Code: Select all

<colors>
And anything can be done in a mod that can be done by editing game files. (unless you are programming :zunge: )
User avatar
HC1Gunner
Posts: 448
Joined: Tue Nov 07, 2017 4:19 am

Re: CowBarn Big ? ? ?

Post by HC1Gunner »

So in the list be low, apparently "RUDOLFHOERMANN_GREEN" from the xml overrides the color in GE. If you're going to be able to choose a color (edit it) in id3 file in GE, then why have the xml file override the id3 file. To me if this worked correctly (like a lot of other game editors) if edit something in GE, then when you save your work in GE, GE would (should) write to the xml file.

I looked in the main rudolfHormann folder, and I don't see an xml anywhere that list all the colors he used for his buildings, from that color list at the bottom, there aren't even any color codes (values). I figured somewhere that Rudolf Hormann would have a master xml where his colors are listed as values, just like Giant has done with all the brand colors, but I don't see any such file linked to him.

So it looks like "RUDOLFHOERMANN_GREEN" is connect the siding and doors, if I want that color change to White, what would I need to change.

<colors>
<color value="RUDOLFHOERMANN_GREEN" />
<color value="RUDOLFHOERMANN_BEIGE" />
<color value="RUDOLFHOERMANN_RED" />
<color value="RUDOLFHOERMANN_BLUE" />
<color value="RUDOLFHOERMANN_DARKGREY" />
<color value="RUDOLFHOERMANN_LIGHTGREY" />
<color value="RUDOLFHOERMANN_WHITEALU" />
<color value="RUDOLFHOERMANN_GREYALU" />
<color value="RUDOLFHOERMANN_OXIDRED" />
<color value="RUDOLFHOERMANN_WOODDARK" />
<color value="RUDOLFHOERMANN_WOODBRIGHT" />
<color value="RUDOLFHOERMANN_LIGHTGREEN" />
<color value="RUDOLFHOERMANN_BROWN" />
<color value="RUDOLFHOERMANN_DARKBEIGE" />
</colors>
</colorable>
Asus ROG STRIX X670E-A GAMING
AMD Ryzen 9 7900X3D
32GB G.SKILL Trident Z5 Neo AMD EXPO 32GB DDR5 6000 F5-6000J3038F16GX2-TZ5NR
SSD NVMe 1 TB - Samsung 990 PRO
Sapphire NITRO+ RX 7900 XTX Vapor-X
Corsair HX1200 1200 Watt Pwr Sup
NZXT Kraken Z73 360 AIO CPU Cooler
Sennheiser Game One headset / Sennheiser GSX 1000 Gaming Audio Amplifier
LG 32GK850G-B 32" QHD 65Hz Refresh Rate
Win 11 Pro 64bit
User avatar
Dogface
Posts: 1062
Joined: Mon Nov 28, 2016 3:02 pm
Location: PC ⛽ USA

Re: CowBarn Big ? ? ?

Post by Dogface »

My guess is that the override system was designed so the programmers could change all the Brand objects at the same time. These are all Brand colors, and brands are particular about these things.

If you want your GE colors in the game, then remove the lines in the xml that are overriding your edits.
Post Reply