WeaponScript.Icon

From Empires Wiki
Jump to: navigation, search
Empires Scripting Documentation
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials



Vehicle Weapon Script Characteristics List
General Characteristics | Sound Characteristics | Weapon Characteristics



General Characteristics
Name | Description | Icon | HUD Name | HUD Icon | Size | Type | Cost | Team | Research



Icon

This string determines the icon that is drawn in the vehicle customization menu. Its path is relative to the "/materials/vgui/" directory.

For example, to use the icon "mg_small.vtf" which is located in the directory structure "vehicles/gui/weapons/", the Icon key would be set to contain the following value: vehicles/gui/weapons/mg_small.

Note Note: 1-slot weapons use an icon size (WxH) of 32x32, while 2 and 3-slot weapons use a 128x32 size.