ACE3/docs/wiki/framework/map-framework.md
2017-08-22 20:33:26 +02:00

859 B

layout title description group order parent mod version
wiki Map Framework Explains the Map system for developers. framework 5 wiki ace
major minor patch
3 11 0

1. Config Values

1.1 Vehicle Interior Lighting

class CfgVehicles {
    class MyCar {
        // Sets color of light projected onto player's map
        ace_map_vehicleLightColor[] = {0,1,0,0.1}; 
        
         // Lists turret indexes that are outside of the vehicle and would not recieve interior lighting (e.g. riding on top of a tank)
        ace_map_vehicleExteriorTurrets[] = {12,13};
        
         // Condition for interior lights to be working (string that when compiled and call should return a bool, will be passed _vehicle)
        ace_map_vehicleLightCondition[] = "(_vehicle animationSourcePhase 'cabinlights_hide') == 1";
    };
};