Arma 3
LK Campaign Hat
Changing the Insignia Texture on the Hat
First of all, congratulations on the excellent mod!

I wanted to ask for some advice on how to change the texture of the insignia on the hat. I've tried various script-based solutions but haven't been successful so far.

Ideally, I'd like to be able to do this directly in the unit's init field, and if possible, in a way that works in multiplayer.

I’d like to thank anyone in advance who can provide a working solution.

Here is the code I tried:

_unit = _this; // in init

waitUntil {sleep 0.1; (headgear _unit) != "";};

_hat = headgear _unit;

if (!isNull _hat) then {
_hat setObjectTexture [0, "path of new texture"]; // camo1
} else {
hint "Error: headgear not found!";
};
< >
Showing 1-2 of 2 comments
Lukin  [developer] 16 Jul @ 4:41am 
I don't know how to change textures for gear without doing custom config class, but if you configure a custom hat, you can change it via camo1 selection
Unholy97 16 Jul @ 7:07am 
Originally posted by Lukin:
I don't know how to change textures for gear without doing custom config class, but if you configure a custom hat, you can change it via camo1 selection

Thanks!!!!
< >
Showing 1-2 of 2 comments
Per page: 1530 50