ACE3/docs/wiki/framework/goggles-framework.md
jonpas 1df3a73461 Add version information to most wiki feature and framework pages (#4303)
* Update documentation guidelines

* Add version info part 1

* Add version info part 2

* Add removed in version to frontmatter and tag testmissions as removed

* Add version info part 3
2016-08-30 15:49:04 +02:00

1.2 KiB

layout title description group order parent mod version
wiki Goggles Framework Explains how to set-up goggles with ACE3 goggles system. framework 5 wiki ace
major minor patch
3 0 0

1. Config Values

class CfgGlasses {
    class MyGoggles {
        ace_color[] = {0, 0, -1};  // Post-proccess color
        ace_tintAmount = 8;  // Amount of tint applied to the color
        ace_resistance = 1;  // Resistance to breaking (0 or 1 or 2)
        ace_protection = 0;  // Provides protection (0-no, 1-yes)
        ace_overlay = "";  // (Optional) Default overlay image path ("" for none)
        ace_overlayDirt = "A3\Ui_f\data\igui\rsctitles\HealthTextures\dust_upper_ca.paa";  // (Optional) Dirt overlay image path
        ace_overlayCracked = "mod\textures\HUD\Cracked.paa";  // (Optional) Cracked overlay image path
        ace_dustPath = "mod\textures\fx\dust\dust1.paa";  // (Optional) Dust overlay image path
    };
};

2. Events

2.1 Listenable

Event Name Description Passed Parameter(s) Locality
GlassesChanged Glasses Changed [_glassesClass] Local
GlassesCracked Glasses Cracked [_unit] Local