[Preliminary] Guide on how to upload and use Custom Textures inside your mod

Thats grate.

I’ll see if I can replace the background texture of the map and add grid markers to it, I’m testing if I can do that

1 Like

dunno if you can do that.

try to place the png into your folder and then change the path into %ugm/name.png

if that does not work,
you can try to use custom_markers.

make it bigger, and it should work ( as those can appear over the minimap )

1 Like

Probably it’s possible to do.

2 Likes

edit. actually, maybe custom markers works too.

so that you don’t have to make capzones.

i’ll try that in a moment.

update…
it does not…

custom markers only work in the minimap.

1 Like

I wanted to replace the minimap texture for a long time. Please let us know if its possible.

1 Like

Pity I tried some .dds and .png and .jpeg not working yet

entity{
  _template:t="minimap_battle_of_moscow_volokolamsk_countryside_winter"
  mapTex:t="%ugm/minmap/volokolamsk_countryside_winter_minimap_png24.png"
  farMapTex:t="%ugm/minmap/volokolamsk_countryside_winter_far_minimap_png24.png"
}


1 Like
mapTex:t="%ugm/minmap/volokolamsk_countryside_winter_minimap_png24.png"

did you put the png inside a folder called " minmap "?

i don’t know… but try to place it outside.

just to be left with:

mapTex:t="%ugm/volokolamsk_countryside_winter_minimap_png24.png"
1 Like

yes i put them in minmap folder


seems still not working

i place the png both path

works for me if you put it outside any folders:

entity{
  _template:t="minimap_berlin_seelow_heights"
  farMapTex:t="%ugm/test_decals.png"
  mapTex:t="%ugm/test_decals.png"
}


( regarding the picture, it’s inveresed because i figured out that you can’t map textures in case you want to place decals or what you want. it’s totally randomic and inversed )

( you may be interested @Bazsi37 but be carefull the position might be off. you’ll have to play alot with coordinates and parameters inside the zfar etc
image
)

2 Likes

wow thats good news! :heart:

maybe some thing wrong with my image… my image is so huge 4096x4096 over 10mb…

yeah,

try to resize it.

compress it a bit

1 Like

Did you add capture point with icon? And able see them? Also it would be good if in code capture point entity before then entity with custom texture.

Yeah… Currently time only using this way possible to add custom image-texture.

1 Like

nah it does work.

it’s just that his file is like, too " big " for it to be viewed by the minimap.

so he should try to resize it / compress it.

1 Like

1 Like

Can i use jpg? jpg is more compress in size

1 Like

yes.
you can use jpgs:

3 Likes

whats the resolution of your image? I tried loading a random screenshot with a res of 1024x1024 but nothing shows up.

1 Like

it’s a 1920x1920

though it’s a jpeg.

try to compress it

Its already compressed to 503kb.

I asked because the minimap might only accept certain sized images.

1 Like

ugh… sorry i can’t really help you there.

try to open this picture:

and slap yours on top of it.
( make it fit with paint or something )

and i wish you good luck xd

2 Likes