[ X ]
Where & How can i edit images?
Please help!
Post new topic   Reply to topic Page 1 of 1
View previous topic :: View next topic  
Author Message
gamefreak11221
Level: 42


Position: Registered User
Joined: 15 Apr 2011
Posts: 12
Kel: 16  [ Donate ]

Online Status: Offline
PostPosted: Fri Apr 15, 2011 9:07 am    Post subject: Where & How can i edit images? Reply with quote

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
Back to top
View user's profile Find all posts by gamefreak11221 Send private message ICQ Number
Sleipnir
Level: 150



Position: Administrator
Joined: 10 Apr 2002
Posts: 3768
Kel: 3251  [ Donate ]

Online Status: Offline
PostPosted: Fri Apr 15, 2011 10:26 pm  Reply with quote

The flag ui definition is in mods/*/chrome.yaml: (eg for ra)
Code:
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.
Back to top
View user's profile Find all posts by Sleipnir Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
gamefreak11221
Level: 42


Position: Registered User
Joined: 15 Apr 2011
Posts: 12
Kel: 16  [ Donate ]

Online Status: Offline
PostPosted: Fri Apr 15, 2011 11:57 pm  Reply with quote

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...
Back to top
View user's profile Find all posts by gamefreak11221 Send private message ICQ Number
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1