/** * ExileClient_construction_beginExistingObject * * Edited for Exile by _sinworks * * Exile Mod * www.exilemod.com * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_display","_title","_titleControl","_description","_descriptionBackground"]; disableSerialization; _display = uiNamespace getVariable "RscExileConstructionMode"; if (!isNull _display) then { _title = ""; switch (ExileClientConstructionMode) do { case 1: { _title = "FREE MODE"; }; case 2: { _title = "GRID MODE"; }; case 3: { _title = "SNAP MODE"; }; }; if (ExileClientConstructionModePhysx) then { _title = _title + " + PHYSICS"; }; if (ExileClientConstructionVectorMode ) then { _title = _title + " + VECTORS"; }; _titleControl = _display displayCtrl 1000; _titleControl ctrlSetText _title; _description = _display displayCtrl 1001; _description ctrlShow ExileClientConstructionShowHint; _descriptionBackground = _display displayCtrl 1002; _descriptionBackground ctrlShow ExileClientConstructionShowHint; if (!ExileClientConstructionVectorMode)then { _pos = ctrlPosition _descriptionBackground; _descriptionBackground ctrlSetPosition [_pos select 0,_pos select 1,_pos select 2,370 * pixelH]; _descriptionBackground ctrlCommit 0; _description ctrlSetStructuredText parseText Format["Free Mode1
Grid Mode2
Snap Mode3

Toggle Physics4
Toggle Assistant5
Freeze Object6
Toggle Vector Building7

RotationQ/E
ElevationPAGE UP/DOWN
DistanceHOME/END

Larger StepsSHIFT
Smaller StepsCONTROL

PlaceSPACE
AbortESCAPE"]; } else { _pos = ctrlPosition _descriptionBackground; _descriptionBackground ctrlSetPosition [_pos select 0,_pos select 1,_pos select 2,400 * pixelH]; _descriptionBackground ctrlCommit 0; _description ctrlSetStructuredText parseText Format["Free Mode1
Grid Mode2
Snap Mode3

Toggle Physics4
Toggle Assistant5
Freeze Object6
Toggle Vector Building7

Tilt LeftQ
Tilt RightE
Pitch ForwardsPAGE UP
Pitch BackwardsPAGE DOWN
DistanceHOME/END

Larger StepsSHIFT
Smaller StepsCONTROL

PlaceSPACE
AbortESCAPE"]; }; }; true