Logo Platform
logo amplifiers simplified

Brainstorming for new battle cards.

Reply
Copied to clipboard!
12 years ago
Feb 22, 2013, 3:28:26 AM
[CODE]



%BattleTechAction4Title

%BattleTechAction4Description



[/CODE]



See that icon part?



HOW TO ADD CUSTOM TECH ICONS



1. In Yourmod/Gui, create a folder with the name that you want, eg: TechIcons.

2. Place all your tech images there.

1. They must be PNG files (for transparency).

2. 64x64 in size.

3. The name you give a specific icon is the one you used in the Gui block when creating the corresponding technology. By specifying TechIcons/MyIcon in the Gui block, the game will use your custom icon.



This is an example of a tech in TechnologyExpansion.xml:

Code:

[CODE]



%TechE27SowerTitle

%TechE27SowerDescription





[/CODE]

To add your custom icon MyIcon.png, located in YourMod/TechIcons/, change the bold line to :







From the modding tutorial.







Just make a picture in here, and put in in the GUI file, then in the code there use "GUI/THENAMEOFTHEPIC" to select it.



I have done this before with a mod I worked on for ES (Was cancelled unfortunately).
0Send private message
?

Click here to login

Reply
Comment