Page 1 of 1

Where & How can i edit images?

Posted: Fri Apr 15, 2011 9:07 am
by gamefreak11221
Guys, i'm new to OpenRA Modding...

I can't see the images like the images used for faction selection else in-game images, should i edit it from the original RA1/C&C?Or i can get it from the mods folder of OpenRA?

Anyway, where can i get the images and what kind of tools do i need to use?I can't find them

Posted: Fri Apr 15, 2011 10:26 pm
by Sleipnir
The flag ui definition is in mods/*/chrome.yaml: (eg for ra)

Code: Select all

flags: buttons.png
	allies: 30,84,30,15
	soviet: 0,84,30,15
	random: 60,84,30,15
	spectator: 60,84,30,15
These numbers define the (x,y,width,height) of the flag within the file mods/*/uibits/button.png

As a general rule, our ui images are all custom png files in the uibits folder, and the game artwork is either in the mix files or in the bits folder.

Posted: Fri Apr 15, 2011 11:57 pm
by gamefreak11221
So i just need to make another png file for my own factions flag which is 30x15 in size?

Then how can i get it work in the game...