Перейти к содержимому


Фотография

Ультрафиолет


  • Авторизуйтесь для ответа в теме
В этой теме нет ответов

#1 OFFLINE   SteelRat

SteelRat

    Полковник

  • Пользователи
  • 3241 сообщений
  • Откуда:РФ

Отправлено 14 February 2015 - 00:58

Уважаемые коллеги, подскажите, я не как не догоню, можно ли сделать сам отражатель на лампе, что бы он отражал более ультрафиолетово)

 

 

Пример конфига, закоментированные параметры, это параметры по дэфолту из класса Land_PortableLight_single_F

 

class Land_PortableLight_UV_single_F : Lamps_base_F {
	mapSize = 0.824;
	author = "$STR_A3_Bohemia_Interactive";
	_generalMacro = "Land_PortableLight_single_F";
	scope = public;
	displayName = "Portable light UV single";
	model = "\A3\Structures_F_EPA\Civ\Constructions\PortableLight_single_F.p3d";
	icon = "iconObject_5x4";
	vehicleClass = "Cargo";

	class AnimationSources {
		class Light_1_pitch_source {
			source = "user";
			initPhase = 0;
			animPeriod = 1/45;
		};
			
		class Light_1_jaw_source {
			source = "user";
			initPhase = 0.13;
			animPeriod = 2;
		};
	};

	class Reflectors {
		class Light_1 {
			//color[] = {1000, 1000, 1200};
			color[] = {0, 0, 6000};
			//ambient[] = {10, 10, 12};
			ambient[] = {0, 0, 60};
			intensity = 5;
			size = 1;
			innerAngle = 60;
			outerAngle = 130;
			coneFadeCoef = 6;
			position = "Light_1_pos";
			direction = "Light_1_dir";
			hitpoint = "Light_1_hitpoint";
			selection = "Light_1_hide";
			useFlare = 1;
			flareSize = 0.9;
			flareMaxDistance = 250;
			
			class Attenuation {
				start = 0;
				constant = 0;
				linear = 2;
				quadratic = 0.5;
				hardLimitStart = 50;
				hardLimitEnd = 70;
			};
		};
	};
	
	class EventHandlers {
		init = "(_this select 0) execVM '\z\addons\dayz_code\Configs\CfgVehicles\Electronics\scripts\Land_PortableLight_UV.sqf'";
	};
};

 

 


  • 0




Яндекс.Метрика