Unit Mod question (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War I] >> Commander - The Great War >> Mods and Scenarios



Message


Magpius -> Unit Mod question (12/31/2012 12:33:02 AM)

Can the unit's flag emblem and unit strength numbers be relocated/ altered?
I've found some emblems that can be tweaked, and a folder of number.png's... am I on the right trail here?





Magpius -> RE: Unit Mod question (1/10/2013 7:37:09 AM)

a polite BUMP.




Lukas -> RE: Unit Mod question (1/10/2013 9:51:23 AM)

emblems can be found in data\graphics\flags (emblem_x100.png)
unit strength numbers in data\graphics\units (hp_x.png)

positions of all these icons (relative to hex center) can be altered in data\scripts\units.lua, the coordinates at the top:
data.emblem = {{9, 13}, {7, 24}, {-27, 15}}

data.health = {{13, 13}, {14, 23}, {-8, 16}}

data.status = {{16, 13}, {23, 24}, {9 ,17}}


One set of coordinates for each zoom level.




Magpius -> RE: Unit Mod question (1/11/2013 12:43:42 AM)

Thankyou very much.
Unit mod on the way




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.015625