[edit] I updated da file with a readme and have everything with da prefix LCD 2 upload dis into da ed dept
i spent my last 8 hrs at work doin da next script (4 of it was just getin da dialogs 2 show in da right order
)
dis is basicly BIS strategic map... but usin map type dialog instead of da pic... its still not finished... but i run outta ideas 4 new functions... so list ny ideas u got... in da meantime here is da stuff u got
instalation...
1)create a folder in ur mision called LCD_map
2)2 da folder copy da 3 files (LCD_map.sqf,LCD_map.hpp,m1_icon.paa) 2 da LCD_map folder... im not yet usin da last file... but im gonna find somin 2 do w/ it soon... in da meantime it will just show st00pid pic in da midle of da dialog
3) in ur description.ext have da next line
#include "LCD_map\LCD_map.hpp"
Usage :
2 start da map dialog u need 2 input da next line
["init"] execVM "LCD_map\LCD_map.sqf"
in case u wanna use ny of da functions at da start of da map u cud use
[[function array],"init"] execVM "LCD_map\LCD_map.sqf"
e.g
[[veh,0.1,"stick"],"init"] execVM "LCD_map\LCD_map.sqf"
note : u can put as many function arrays in da init exec so it cud b
[[function array1],[function array2],....,[function arrayn],"init"] execVM "LCD_map\LCD_map.sqf"
available functions
1) "stick"... sticks da map 2 an object
syntax :
[VehicleName,Zoom,"stick"] execVM "LCD_map\LCD_map.sqf"
eg
[player,0.1,"stick"] execVM "LCD_map\LCD_map.sqf"
zoom standes 2 da scale da map is on....
2) "singleclick" a quick onMapSingleClick option... resaults in exactly da same thing
syntax :
[_code,"singleclick] execVM "LCD_map\LCD_map.sqf"
eg
["hint ""hi""","singleclick"] execVM "LCD_map\LCD_map.sqf"
3) "RSCtext" helps u manage da dif RSCtext ctrls da dialog has
syntax :
[control,fade,committime,[i][text,color[R,G,B,A],font][/i],"RSCtext"] execVM "LCD_map\LCD_map.sqf"
note : italic text is optional
eg
["Intel",1,0,["helo world",[1,0,0,0.5],"TahomaB"],"RSCtext"] execVM "LCD_map\LCD_map.sqf"
control = name of da control u wanna manage
fade = amount of transparcy control has
committime = times it takes changes 2 occur
names of difrent controls
"Intel","MissionName","Overview","Consequences","SelectText","Info"
4) "video" closes nd shuts da video window bis used 4 deir small ingame videos....
syntax :
[bool,"video"] execVM "LCD_map\LCD_map.sqf"
eg
[true,,"video"] execVM "LCD_map\LCD_map.sqf"
true opens da window... false shuts it down.
5) "bottuns" manages da two botuns bis had there
syntax :
[bottunname,fade,committime,enabled,[text,color[R,G,B,A],font],code,"bottuns"] execVM "LCD_map\LCD_map.sqf"
eg
["SitRep",0,1,true,[i]["helo world",[1,0,0,0.5],"TahomaB"],"hint ""hi""",[/i]"bottuns"] execVM "LCD_map\LCD_map.sqf"
bottuname = name of bottun 2 manage
fade = transparcy of bottun
committime = times it takes changes 2 occur
enabled (TorF) = true if bottun is clickable
code = da action da bottun does
6) "background" changes da background defenitions
syntax :
[control,ifshow(TorF),[i]color[R,G,B,A],[/i]"background"] execVM "LCD_map\LCD_map.sqf"
eg : ["map",true,[1,0,0,0.5],"background"] execVM "LCD_map\LCD_map.sqf"
control = name of background control
ifshow (TorF) = if true it shows background, if false background disapears
color = sets da backgrounds color nd transperacy
difrent background names
"Background","BackgroundR","BackgroundU","BackgroundB","map"
---------------------
dats all 4 now... play w/ it nd gimme sugestions
LCD OUT