Matrix Games Forums

Community impressions of To End All WarsAgeod's To End All Wars is now availableTo End All Wars is now available!Deal of the Week: Field of GloryTo End All Wars: Video, AAR and Interview!Ageod's To End All Wars: Video, AAR and Interview!To End All Wars: Artillery Battle Academy 2: Eastern Front - End of Early Access Space Program Manager unveils its multiplayer modes Another update for Commander: The Great War!
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: 1289
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: 1289
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: 175
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: 1289
Joined: 9/21/2007
From: Melbourne, Australia
Status: offline
Thankyou very much.
Unit mod on the way

_____________________________

"Great men are forged in fire, it is the privilege of lesser men to light the flame. Whatever the cost." -Dr. Who (#1)

(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.088