dofile(LockOn_Options.common_script_path.."elements_defs.lua")

SetScale(FOV) -- set scale factor modifier (in this case FOV - half of horizontal size)

--[[
  SetScale(MILLYRADIANS)
	next elements will be scaled in millyrads
  SetScale(METERS)
        next elements will be scaled in meters
  SetScale(FOV)
        and again in FOV parts
--]]

vertical_size = 0.0115
horizontal_size = 0.0115

txt_VIT_sign			= CreateElement "ceStringPoly"
txt_VIT_sign.name       = "txt_VIT_sign"
txt_VIT_sign.material   = "font_PVI"
txt_VIT_sign.init_pos	= {-0.925, 0.215, 0.0}
txt_VIT_sign.alignment  = "LeftCenter"
txt_VIT_sign.value		= "-"
txt_VIT_sign.controllers = {{"VIT_sign"}}
txt_VIT_sign.stringdefs = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_VIT_sign)

txt_NIT_sign			= CreateElement "ceStringPoly"
txt_NIT_sign.name       = "txt_NIT_sign"
txt_NIT_sign.material   = "font_PVI"
txt_NIT_sign.init_pos	= {-0.925, -0.18, 0.0}
txt_NIT_sign.alignment  = "LeftCenter"
txt_NIT_sign.value		= "-"
txt_NIT_sign.controllers = {{"NIT_sign"}}
txt_NIT_sign.stringdefs = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_NIT_sign)

txt_VIT					= CreateElement "ceStringPoly"
txt_VIT.name            = "txt_VIT"
txt_VIT.material        = "font_PVI"
txt_VIT.init_pos		= {-0.63, 0.215, 0.0}
txt_VIT.alignment       = "LeftCenter"
txt_VIT.controllers		= {{"VIT"}}
txt_VIT.stringdefs      = {horizontal_size, vertical_size, 0.00147, 0.0}
Add(txt_VIT)

txt_NIT					= CreateElement "ceStringPoly"
txt_NIT.name            = "txt_NIT"
txt_NIT.material        = "font_PVI"
txt_NIT.init_pos		= {-0.63, -0.18, 0.0}
txt_NIT.alignment       = "LeftCenter"
txt_NIT.controllers		= {{"NIT"}}
txt_NIT.stringdefs      = {horizontal_size, vertical_size, 0.00147, 0.0}
Add(txt_NIT)

txt_OIT_PPM					= CreateElement "ceStringPoly"
txt_OIT_PPM.name            = "txt_OIT_PPM"
txt_OIT_PPM.material        = "font_PVI"
txt_OIT_PPM.init_pos		= {0.755, 0.215, 0.0}
txt_OIT_PPM.alignment       = "LeftCenter"
txt_OIT_PPM.formats			= {"%1u"}
txt_OIT_PPM.controllers		= {{"OIT_PPM", 0}}
txt_OIT_PPM.stringdefs      = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_OIT_PPM)

txt_OIT_NOT					= CreateElement "ceStringPoly"
txt_OIT_NOT.name            = "txt_OIT_NOT"
txt_OIT_NOT.material        = "font_PVI"
txt_OIT_NOT.init_pos		= {0.755, -0.18, 0.0}
txt_OIT_NOT.alignment       = "LeftCenter"
txt_OIT_NOT.formats			= {"%1u"}
txt_OIT_NOT.controllers		= {{"OIT_NOT", 0}}
txt_OIT_NOT.stringdefs      = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_OIT_NOT)

txt_VIT_apostrophe1				= CreateElement "ceStringPoly"
txt_VIT_apostrophe1.name		= "txt_VIT_apostrophe1"
txt_VIT_apostrophe1.material	= "font_PVI"
txt_VIT_apostrophe1.init_pos	= {-0.21, 0.215, 0.0}
txt_VIT_apostrophe1.alignment   = "LeftCenter"
txt_VIT_apostrophe1.value		= "'"
txt_VIT_apostrophe1.controllers	= {{"VIT_apostrophe1"}}
txt_VIT_apostrophe1.stringdefs  = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_VIT_apostrophe1)

txt_VIT_apostrophe2				= CreateElement "ceStringPoly"
txt_VIT_apostrophe2.name        = "txt_VIT_apostrophe2"
txt_VIT_apostrophe2.material    = "font_PVI"
txt_VIT_apostrophe2.init_pos	= {0.175, 0.215, 0.0}
txt_VIT_apostrophe2.alignment   = "LeftCenter"
txt_VIT_apostrophe2.value		= "'"
txt_VIT_apostrophe2.controllers	= {{"VIT_apostrophe2"}}
txt_VIT_apostrophe2.stringdefs  = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_VIT_apostrophe2)

txt_NIT_apostrophe1				= CreateElement "ceStringPoly"
txt_NIT_apostrophe1.name        = "txt_NIT_apostrophe1"
txt_NIT_apostrophe1.material    = "font_PVI"
txt_NIT_apostrophe1.init_pos	= {-0.21, -0.18, 0.0}
txt_NIT_apostrophe1.alignment   = "LeftCenter"
txt_NIT_apostrophe1.value		= "'"
txt_NIT_apostrophe1.controllers	= {{"NIT_apostrophe1"}}
txt_NIT_apostrophe1.stringdefs  = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_NIT_apostrophe1)

txt_NIT_apostrophe2				= CreateElement "ceStringPoly"
txt_NIT_apostrophe2.name        = "txt_NIT_apostrophe2"
txt_NIT_apostrophe2.material    = "font_PVI"
txt_NIT_apostrophe2.init_pos	= {0.175, -0.18, 0.0}
txt_NIT_apostrophe2.alignment   = "LeftCenter"
txt_NIT_apostrophe2.value		= "'"
txt_NIT_apostrophe2.controllers = {{"NIT_apostrophe2"}}
txt_NIT_apostrophe2.stringdefs  = {horizontal_size, vertical_size, 0.0, 0.0}
Add(txt_NIT_apostrophe2)
