duration=4500

entities={
	{
		entity_name="ambi_Layer_ew_15_sdlr",
		type=SCENE,
		template_name="",
		lt_grp=0, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ 0, 0, 0 },
			orient={ { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 } }
		},
		up=Y_AXIS,
		front=Z_AXIS,
		ambient={ 0, 0, 0 }
	},
	{
		entity_name="Pay_Ship_gf_rtc_shipcushion",
		type=PSYS,
		template_name="gf_rtc_shipcushion",
		lt_grp=0, srt_grp=0, usr_flg=0,
		flags=LIT_DYNAMIC + LIT_AMBIENT,
		spatialprops={
			pos={ 0, -2.7, 0 },
			orient={ { 0.865, 0, 0.501 }, { 0, 1, 0 }, { -0.501, 0, 0.865 } }
		},
		psysprops={
			sparam=0
		}
	},
	{
		entity_name="X/Shipcentre/01",
		type=MARKER,
		template_name="",
		lt_grp=0, srt_grp=0, usr_flg=0,
		flags=REFERENCE,
		spatialprops={
			pos={ 0, 0, 0 },
			orient={ { -0.972, 0, -0.233 }, { 0, 1, 0 }, { 0.233, 0, -0.972 } }
		}
	},
	{
		entity_name="Marker_Shipcushion",
		type=MARKER,
		template_name="",
		lt_grp=0, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ 0, -1, 0 },
			orient={ { -0.351, 0, 0.936 }, { 0, 1, 0 }, { -0.936, 0, -0.351 } }
		}
	},
	{
		entity_name="ambi_LtG09_SET_all_ambi",
		type=LIGHT,
		template_name="",
		lt_grp=9, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ -1, 4, 0 },
			orient={ { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 } }
		},
		lightprops={
			on=Y,
			color={ 255, 255, 255 },
			diffuse={ 0.1, 0.1, 0.1 },
			specular={ 0, 0, 0 },
			ambient={ 0.62, 0.62, 0.62 },
			direction={ 0, 0, 1 },
			range=43,
			cutoff=90,
			type=L_POINT,
			theta=90,
			atten={ 1, 0, 0.001 }
		}
	},
	{
		entity_name="ambi_LtG03_PShip_Deck_Equip_Pnt",
		type=LIGHT,
		template_name="",
		lt_grp=3, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ -10.5, 12, -4.8 },
			orient={ { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 } }
		},
		lightprops={
			on=Y,
			color={ 255, 255, 255 },
			diffuse={ 0.2, 0.2, 0.2 },
			specular={ 0, 0, 0 },
			ambient={ 0.32, 0.32, 0.32 },
			direction={ 0, 0, 1 },
			range=120,
			cutoff=99,
			type=L_POINT,
			theta=90,
			atten={ 1, 0, 0.00075 }
		}
	},
	{
		entity_name="ambi_LtG00_Deck_Pnt&Amb",
		type=LIGHT,
		template_name="",
		lt_grp=0, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ 0, 1, -11.7 },
			orient={ { 1, 0, 0 }, { 0, 1, 0 }, { 0, 0, 1 } }
		},
		lightprops={
			on=Y,
			color={ 255, 255, 255 },
			diffuse={ 0.63, 0.68, 0.74 },
			specular={ 0, 0, 0 },
			ambient={ 0.3, 0.3, 0.3 },
			direction={ 0, 0, 1 },
			range=350,
			cutoff=99,
			type=L_POINT,
			theta=90,
			atten={ 0.875, 0, 0.001 }
		}
	},
	{
		entity_name="ambi_LtG03_PShip_CushionGlow",
		type=LIGHT,
		template_name="",
		lt_grp=3, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ 0.5, -1, 1 },
			orient={ { -0.013, 0, -0.999 }, { 0, 1, 0 }, { 0.999, 0, -0.013 } }
		},
		lightprops={
			on=Y,
			color={ 255, 255, 255 },
			diffuse={ 0.2, 0.1, 0.5 },
			specular={ 0, 0, 0 },
			ambient={ 0, 0, 0 },
			direction={ 0, 1, 0 },
			range=100,
			cutoff=179,
			type=L_SPOT,
			theta=179,
			atten={ 0.5, 0, 0.1 }
		}
	},
	{
		entity_name="ambi_LtG03_DShip_CushionGlow",
		type=LIGHT,
		template_name="",
		lt_grp=3, srt_grp=0, usr_flg=0,
		spatialprops={
			pos={ 0, 1.6, 0 },
			orient={ { -0.012966, 0, -0.999916 },
				{ 0, 1, 0 },
				{ 0.999916, 0, -0.012966 } }
		},
		lightprops={
			on=Y,
			color={ 255, 255, 255 },
			diffuse={ 0.2, 0.1, 0.5 },
			specular={ 0, 0, 0 },
			ambient={ 0, 0, 0 },
			direction={ 0, 1, 0 },
			range=10,
			cutoff=179,
			type=L_SPOT,
			theta=179,
			atten={ 0.5, 0, 0.1 }
		}
	}
}

events={
	{
		0, START_LIGHT_PROP_ANIM, { "ambi_LtG03_DShip_CushionGlow" },
		{
			duration=4500,
			lightprops={
				diffuse={ 0.7, 0.6, 1 }
			},
			param_curve={
				CLSID="FreeFormPCurve",
				points={
					{ 0, 1, 0, 0 },
					{ 0.192308, 0.599359, 0, 0 },
					{ 0.394231, 0.958333, 0, 0 },
					{ 0.669872, 0.669872, 0, 0 },
					{ 1, 1, 0, 0 }
				}
			},
			pcurve_period=2599
		}
	},
	{
		0, ATTACH_ENTITY, { "Pay_Ship_gf_rtc_shipcushion", "Marker_Shipcushion" },
		{
			duration=500,
			offset={ 0, 0, 0 },
			up=Y_AXIS,
			front=NEG_Z_AXIS,
			target_part="",
			target_type=ROOT,
			flags=POSITION + ORIENTATION
		}
	},
	{
		0, START_PSYS, { "Pay_Ship_gf_rtc_shipcushion" },
		{
			duration=4500
		}
	},
	{
		0, ATTACH_ENTITY, { "ambi_LtG03_PShip_CushionGlow", "Pay_Ship_gf_rtc_shipcushion" },
		{
			duration=4500,
			offset={ 0, 0, 0 },
			up=Y_AXIS,
			front=NEG_Z_AXIS,
			target_part="",
			target_type=ROOT,
			flags=POSITION
		}
	},
	{
		0, START_LIGHT_PROP_ANIM, { "ambi_LtG03_PShip_CushionGlow" },
		{
			duration=4500,
			lightprops={
				diffuse={ 0.7, 0.6, 1 }
			},
			param_curve={
				CLSID="FreeFormPCurve",
				points={
					{ 0, 1, 0, 0 },
					{ 0.192308, 0.599359, 0, 0 },
					{ 0.394231, 0.958333, 0, 0 },
					{ 0.669872, 0.669872, 0, 0 },
					{ 1, 1, 0, 0 }
				}
			},
			pcurve_period=2500
		}
	}
}


