Matrix Games Forums

Armageddon invasion starts in 2014Command Rommels Panzers in Battle Academy!Servers UpdateThe Deal goes Fourth!Command Ops gets a Massive Update!Lost Battles AAR: Smolensk 41War in the East: Lost Battles is here!Conflict of Heroes: Awakening the Bear! Let's Play videoLost Battles Scenario Manual excerpts available!A sneak peek from Allied Corps!
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Unit Mod question

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Commander - The Great War >> Mods and Scenarios >> Unit Mod question Page: [1]
Login
Message << Older Topic   Newer Topic >>
Unit Mod question - 12/31/2012 12:33:02 AM   
Agent S


Posts: 1197
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
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?



< Message edited by Agent S -- 12/31/2012 12:34:46 AM >
Post #: 1
RE: Unit Mod question - 1/10/2013 7:37:09 AM   
Agent S


Posts: 1197
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
a polite BUMP.

(in reply to Agent S)
Post #: 2
RE: Unit Mod question - 1/10/2013 9:51:23 AM   
Lukas

 

Posts: 101
Joined: 5/31/2010
Status: offline
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.

(in reply to Agent S)
Post #: 3
RE: Unit Mod question - 1/11/2013 12:43:42 AM   
Agent S


Posts: 1197
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
Thankyou very much.
Unit mod on the way

_____________________________


“We can’t make you do anything, but we can make you wish you had.” -Band of Brothers

(in reply to Lukas)
Post #: 4
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Commander - The Great War >> Mods and Scenarios >> Unit Mod question Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.137