Óà SaveName Flex TableEpochTime×ÏèdDate8/25/2023 5:59:19 PMVersionNumberv13.2.2GameMode Flex TableGameTypeGameComplexityTagsGravityà?PlayAreaà?Table Table_NoneSky Sky_MuseumNoteôTravel calculated by day Infantry Corps movement by road ~4 Cavalry Corps movement by road ~5 W.V. Movement = -1 Corps movement by rail ... Martinsburg to Cumberland = Martinsburg to Harper's Ferry = Harper's Ferry to Charlestown = Charlestown to Winchester = Salem to Strasburg = Salem to Front Royal = Front Royal to Strasburg = Strasburg to Mt. Jackson = Gordonsville to Charlottesvilee = Charlottesville to Waynesboro = Waynesboro to Staunton = YOU CANNOT RAIL TO ENEMY OCCUPIED TOWNS TabStatesN0mtitleRulesbodycolorGreyvisibleColor&rà?gà?bà?id1ntitleWhitebodycolorWhitevisibleColor&rð?gð?bð?id2ntitleBrownbodycolorBrownvisibleColor&r ZÜ?g€h‘Í?b€= ·?id3jtitleRedbodycolorRedvisibleColor&r Zdë?g ™™¹?b@b¸?id4ptitleOrangebodycolorOrangevisibleColor&r@�—î?g ‡Ù?b`‘í¼?id5ptitleYellowbodycolorYellowvisibleColor&r€Âõì?g€j¼ì?b Æ?id6ntitleGreenbodycolorGreenvisibleColor&rÀt“È?g€—næ?b �Å?id7ltitleBluebodycolorBluevisibleColor&r€?5¾?g€Âõà?bð?id8ltitleTealbodycolorTealvisibleColor&r`ƒÀ?g€?5æ?b@‹lã?id9ptitlePurplebodycolorPurplevisibleColor&r@bä?gÀ?b¬î?id 10ltitlePinkbodycolorPinkvisibleColor&ràQ¸î?g€“Ü?b ñÒé?id 11ntitleBlackbodycolorBlackvisibleColor&rÐ?gÐ?bÐ?id GridÔTypeLinesColor&rgbOpacity`Æ�æ?ThickLinesSnappingOffsetBothSnappingxSize@ySize@PosOffset&xyð?zLightingwLightIntensity€ÑMâ?LightColor&rð?gào_ï?bÀ„|ì?AmbientIntensity€1ô?AmbientTypeAmbientSkyColor&rà?gà?bà?AmbientEquatorColor&rà?gà?bà?AmbientGroundColor&rà?gà?bà?ReflectionIntensityð?LutIndexLutContributionð?LutURLHands*EnableDisableUnusedHidingComponentTagslabelsTurnspEnableTypeTurnOrderReverseSkipEmptyDisableInteractionsPassTurnsTurnColorDecalPalletLuaScript--LuaScriptStateXmlUIRObjectStates¸Ô 0]GUID398e4bName HandTriggerTransform‰posXposY@posZxdÀrotX€rotYrotZscaleX`…«'@scaleY †@scaleZÀ%*@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse1rð?gð?bð?aLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsFogColorWhiteLuaScriptLuaScriptStateXmlUI1[GUIDb4ec34Name HandTriggerTransform‰posX¸fÀposY@posZrotX€rotY€V@rotZscaleX@ãy'@scaleY@scaleZ@bQ@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse1r Zdë?g ™™¹?b a¸?aLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsFogColorRedLuaScriptLuaScriptStateXmlUI2]GUIDdc14dfName HandTriggerTransform‰posXposY@posZxd@rotX€rotY€f@rotZscaleX`…«'@scaleY@scaleZÀ2*@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse1r€t“È?g€—næ?bÀ�Å?aLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsFogColorGreenLuaScriptLuaScriptStateXmlUI3\GUIDaee078Name HandTriggerTransform‰posX¸f@posY@posZrotX€rotYàp@rotZscaleX@Æy'@scaleY@scaleZ@OQ@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse1r ?5¾?g€Âõà?bð?aLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsFogColorBlueLuaScriptLuaScriptStateXmlUI4.GUIDafc863NameCustom_AssetbundleTransform‰posX@dÀposY"ÀposZbÀrotX€Áî¥>rotY@Wù¾rotZ@K$оscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978795929/723C50F43FAB3DE3DC12CB8460536E8CB34B60A3/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI5.GUIDc8edcaNameCustom_AssetbundleTransform‰posX@dÀposY"ÀposZb@rotX€Áî¥>rotY€V@rotZ@K$оscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978795929/723C50F43FAB3DE3DC12CB8460536E8CB34B60A3/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI6.GUID393bf7NameCustom_AssetbundleTransform‰posX@d@posY"ÀposZb@rotX€Áî¥>rotY€f@rotZ@K$оscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978795929/723C50F43FAB3DE3DC12CB8460536E8CB34B60A3/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI7.GUID12c65eNameCustom_AssetbundleTransform‰posX@d@posY"ÀposZbÀrotX€Áî¥>rotYàp@rotZ@K$оscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978795929/723C50F43FAB3DE3DC12CB8460536E8CB34B60A3/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI8CGUIDbd69bdNameChinese_Checkers_PieceTransform‰posXÀ¥f@posYУпposZ×ÃdÀrotX€b$_?rotY€f@rotZÀ…å8?scaleXàefú?scaleYàefú?scaleZàefú?NicknameFlex Table ControlDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsMaterialIndexLuaScriptÂ?tableHeightOffset = -9 function onSave() saved_data = JSON.encode({tid=tableImageData, cd=checkData}) --saved_data = "" return saved_data end function onload(saved_data) --Loads the tracking for if the game has started yet if saved_data ~= "" then local loaded_data = JSON.decode(saved_data) tableImageData = loaded_data.tid checkData = loaded_data.cd else tableImageData = {} checkData = {move=false, scale=false} end --Disables interactable status of objects with GUID in list for _, guid in ipairs(ref_noninteractable) do local obj = getObjectFromGUID(guid) if obj then obj.interactable = false end end --Establish references to table parts obj_leg1 = getObjectFromGUID("afc863") obj_leg2 = getObjectFromGUID("c8edca") obj_leg3 = getObjectFromGUID("393bf7") obj_leg4 = getObjectFromGUID("12c65e") obj_surface = getObjectFromGUID("4ee1f2") obj_side_top = getObjectFromGUID("35b95f") obj_side_bot = getObjectFromGUID("f938a2") obj_side_lef = getObjectFromGUID("9f95fd") obj_side_rig = getObjectFromGUID("5af8f2") controlActive = false createOpenCloseButton() end --Activation/deactivation of control panel --Activated by clicking on function click_toggleControl(_, color) if permissionCheck(color) then if not controlActive then --Activate control panel controlActive = true self.clearButtons() createOpenCloseButton() createSurfaceInput() createSurfaceButtons() createScaleInput() createScaleButtons() else --Deactivate control panel controlActive = false self.clearButtons() self.clearInputs() createOpenCloseButton() end end end --Table surface control --Changes table surface function click_applySurface(_, color) if permissionCheck(color) then updateSurface() broadcastToAll("New Table Image Applied", {0.2,0.9,0.2}) end end --Saves table surface function click_saveSurface(_, color) if permissionCheck(color) then local nickname = self.getInputs()[1].value local url = self.getInputs()[2].value if nickname == "" then --No nickname broadcastToAll("Please supply a nickname for this save.", {0.9,0.2,0.2}) else --Nickname exists if findInImageDataIndex(url, nickname) == nil then --Save doesn't exist already table.insert(tableImageData, {url=url, name=nickname}) broadcastToAll("Image URL saved to memory.", {0.2,0.9,0.2}) --Refresh buttons self.clearButtons() createOpenCloseButton() createSurfaceButtons() createScaleButtons() else --Save exists already broadcastToAll("Memory already contains a save with this Name or URL. Delete it first.", {0.9,0.2,0.2}) end end end end --Loads table surface function click_loadMemory(_, color, index) if permissionCheck(color) then self.editInput({index=0, value=tableImageData[index].name}) self.editInput({index=1, value=tableImageData[index].url}) updateSurface() broadcastToAll("Table Image Loaded", {0.2,0.9,0.2}) end end --Deletes table surface function click_deleteMemory(_, color, index) if permissionCheck(color) then table.remove(tableImageData, index) self.clearButtons() createOpenCloseButton() createSurfaceButtons() createScaleButtons() broadcastToAll("Element Removed from Memory", {0.2,0.9,0.2}) end end --Updates surface from the values in the input field function updateSurface() local customInfo = obj_surface.getCustomObject() customInfo.diffuse = self.getInputs()[2].value obj_surface.setCustomObject(customInfo) obj_surface = obj_surface.reload() end --Table Scale control --Applies Scale to table pieces function click_applyScale(_, color) if permissionCheck(color) then local newWidth = tonumber(self.getInputs()[3].value) local newDepth = tonumber(self.getInputs()[4].value) if type(newWidth) ~= "number" then broadcastToAll("Invalid Width", {0.9,0.2,0.2}) return elseif type(newDepth) ~= "number" then broadcastToAll("Invalid Depth", {0.9,0.2,0.2}) return elseif newWidth<0.1 or newDepth<0.1 then broadcastToAll("Scale cannot go below 0.1", {0.9,0.2,0.2}) return elseif newWidth>12 or newDepth>12 then broadcastToAll("Scale should not go over 12 (world size limitation)", {0.9,0.2,0.2}) return else changeTableScale(math.abs(newWidth), math.abs(newDepth)) broadcastToAll("Scale applied.", {0.2,0.9,0.2}) end end end --Checks/unchecks move box for hands function click_checkMove(_, color) if permissionCheck(color) then local find_func = function(o) return o.click_function=="click_checkMove" end if checkData.move == true then checkData.move = false local buttonEntry = findButton(self, find_func) self.editButton({index=buttonEntry.index, label=""}) else checkData.move = true local buttonEntry = findButton(self, find_func) self.editButton({index=buttonEntry.index, label=string.char(10008)}) end end end --Checks/unchecks scale box for hands --This button was disabled for technical reasons --[[ function click_checkScale(_, color) if permissionCheck(color) then local find_func = function(o) return o.click_function=="click_checkScale" end if checkData.scale == true then checkData.scale = false local buttonEntry = findButton(self, find_func) self.editButton({index=buttonEntry.index, label=""}) else checkData.scale = true local buttonEntry = findButton(self, find_func) self.editButton({index=buttonEntry.index, label=string.char(10008)}) end end end ]] --Alters scale of elements and moves them function changeTableScale(width, depth) --Scaling factors used to translate scale to position offset local width2pos = (width-1) * 18 local depth2pos = (depth-1) * 18 --Hand zone movement if checkData.move == true then for _, pc in ipairs(ref_playerColor) do if Player[pc].getHandCount() > 0 then moveHandZone(Player[pc], width2pos, depth2pos) end end end --Hand zone scaling --The button to enable this was disabled for technical reasons if checkData.scale == true then for _, pc in ipairs(ref_playerColor) do if Player[pc].getHandCount() > 0 then scaleHandZone(Player[pc], width, depth) end end end --Resizing table elements obj_side_top.setScale({width, 1, 1}) obj_side_bot.setScale({width, 1, 1}) obj_side_lef.setScale({depth, 1, 1}) obj_side_rig.setScale({depth, 1, 1}) obj_surface.setScale({width, 1, depth}) --Moving table elements to accomodate new scale obj_side_lef.setPosition({-width2pos,tableHeightOffset,0}) obj_side_rig.setPosition({ width2pos,tableHeightOffset,0}) obj_side_top.setPosition({0,tableHeightOffset, depth2pos}) obj_side_bot.setPosition({0,tableHeightOffset,-depth2pos}) obj_leg1.setPosition({-width2pos,tableHeightOffset,-depth2pos}) obj_leg2.setPosition({-width2pos,tableHeightOffset, depth2pos}) obj_leg3.setPosition({ width2pos,tableHeightOffset, depth2pos}) obj_leg4.setPosition({ width2pos,tableHeightOffset,-depth2pos}) self.setPosition(obj_leg4.positionToWorld({-22.12, 8.74,-19.16})) --Only enabled when changing tableHeightOffset --obj_surface.setPosition({0,tableHeightOffset,0}) end --Move hand zone, p=player reference, facts are scaling factors function moveHandZone(p, width2pos, depth2pos) local widthX = obj_side_rig.getPosition().x local depthZ = obj_side_top.getPosition().z for i=1, p.getHandCount() do local handT = p.getHandTransform() local pos = handT.position local y = handT.rotation.y if y<45 or y>320 or y>135 and y<225 then if pos.z > 0 then pos.z = pos.z + depth2pos - depthZ else pos.z = pos.z - depth2pos + depthZ end else if pos.x > 0 then pos.x = pos.x + width2pos - widthX else pos.x = pos.x - width2pos + widthX end end --Only enabled when changing tableHeightOffset --pos.y = tableHeightOffset + 14 handT.position = pos p.setHandTransform(handT, i) end end ---Scales hand zones, p=player reference, facts are scaling factors function scaleHandZone(p, width, depth) local widthFact = width / obj_side_top.getScale().x local depthFact = depth / obj_side_lef.getScale().x for i=1, p.getHandCount() do local handT = p.getHandTransform() local scale = handT.scale local y = handT.rotation.y if y<45 or y>320 or y>135 and y<225 then scale.x = scale.x * widthFact else scale.x = scale.x * depthFact end handT.scale = scale p.setHandTransform(handT, i) end end --Information gathering --Checks if a color is promoted or host function permissionCheck(color) if Player[color].host==true or Player[color].promoted==true then return true else return false end end --Locates a string saved within memory file function findInImageDataIndex(...) for _, str in ipairs({...}) do for i, v in ipairs(tableImageData) do if v.url == str or v.name == str then return i end end end return nil end --Round number (num) to the Nth decimal (dec) function round(num, dec) local mult = 10^(dec or 0) return math.floor(num * mult + 0.5) / mult end --Locates a button with a helper function function findButton(obj, func) if func==nil then error("No func supplied to findButton") end for _, v in ipairs(obj.getButtons()) do if func(v) then return v end end return nil end --Creation of buttons/inputs function createOpenCloseButton() local tooltip = "Open Table Control Panel" if controlActive then tooltip = "Close Table Control Panel" end self.createButton({ click_function="click_toggleControl", function_owner=self, position={0,0,0}, rotation={-45,0,0}, height=400, width=400, color={1,1,1,0}, tooltip=tooltip }) end function createSurfaceInput() local currentURL = obj_surface.getCustomObject().diffuse local nickname = "" if findInImageDataIndex(currentURL) ~= nil then nickname = tableImageData[findInImageDataIndex(currentURL)].name end self.createInput({ label="Nickname", input_function="none", function_owner=self, alignment=3, position={0,0,2}, height=224, width=4000, font_size=200, tooltip="Enter nickname for table image (only used for save)", value=nickname }) self.createInput({ label="URL", input_function="none", function_owner=self, alignment=3, position={0,0,3}, height=224, width=4000, font_size=200, tooltip="Enter URL for tabletop image", value=currentURL }) end function createSurfaceButtons() --Label self.createButton({ label="Tabletop Surface Image", click_function="none", position={0,0,1}, height=0, width=0, font_size=300, font_color={1,1,1} }) --Functional self.createButton({ label="Apply Image\nTo Table", click_function="click_applySurface", function_owner=self, tooltip="Apply URL as table image", position={2,0,4}, height=440, width=1400, font_size=200, }) self.createButton({ label="Save Image\nTo Memory", click_function="click_saveSurface", function_owner=self, tooltip="Record URL into memory (requires nickname)", position={-2,0,4}, height=440, width=1400, font_size=200, }) --Label self.createButton({ label="Load From Memory", click_function="none", position={0,0,5.5}, height=0, width=0, font_size=300, font_color={1,1,1} }) --Saves, created dynamically from memory file for i, memoryEntry in ipairs(tableImageData) do --Load local funcName = i.."loadMemory" local func = function(x,y) click_loadMemory(x,y,i) end self.setVar(funcName, func) self.createButton({ label=memoryEntry.name, click_function=funcName, function_owner=self, tooltip=memoryEntry.url, font_size=200, position={-0.6,0,6.5+0.5*(i-1)}, height=240, width=3300, }) --Delete local funcName = i.."deleteMemory" local func = function(x,y) click_deleteMemory(x,y,i) end self.setVar(funcName, func) self.createButton({ label="DELETE", click_function=funcName, function_owner=self, tooltip="", position={3.6,0,6.5+0.5*(i-1)}, height=240, width=600, font_size=160, font_color={1,0,0}, color={0.8,0.8,0.8} }) end end function createScaleInput() self.createInput({ label=string.char(8644), input_function="none", function_owner=self, alignment=3, position={-8.5,0,2}, height=224, width=400, font_size=200, tooltip="Table Width", value=round(obj_side_top.getScale().x, 1) }) self.createInput({ label=string.char(8645), input_function="none", function_owner=self, alignment=3, position={-7.5,0,2}, height=224, width=400, font_size=200, tooltip="Table Depth", value=round(obj_side_lef.getScale().x, 1) }) end function createScaleButtons() --Labels self.createButton({ label="Table Scale", click_function="none", position={-8,0,1}, height=0, width=0, font_size=300, font_color={1,1,1} }) self.createButton({ label=string.char(8644).." "..string.char(8645), click_function="none", position={-8,0,2}, height=0, width=0, font_size=300, font_color={1,1,1} }) self.createButton({ label="Move Hands:", click_function="none", position={-8.3,0,3}, height=0, width=0, font_size=200, font_color={1,1,1} }) --Disabled due to me removing the feature for technical reasons --[[ self.createButton({ label="Scale Hands:", click_function="none", position={-8.3,0,4}, height=0, width=0, font_size=200, font_color={1,1,1} }) ]] --Checkboxes local label = "" if checkData.move == true then label = string.char(10008) end self.createButton({ label=label, click_function="click_checkMove", function_owner=self, tooltip="Check to move hands when table is rescaled", position={-6.8,0,3}, height=224, width=224, font_size=200, }) --[[ local label = "" if checkData.scale == true then label = string.char(10008) end self.createButton({ label=label, click_function="click_checkScale", function_owner=self, tooltip="Check to scale the width of hands when table is rescaled", position={-6.8,0,4}, height=224, width=224, font_size=200, }) ]] --Apply button self.createButton({ label="Apply Scale", click_function="click_applyScale", function_owner=self, tooltip="Apply width/depth to table", position={-8,0,4}, height=440, width=1400, font_size=200, }) end --Data tables ref_noninteractable = { "afc863","c8edca","393bf7","12c65e","f938a2","9f95fd","35b95f", "5af8f2","4ee1f2","bd69bd" } ref_playerColor = { "White", "Brown", "Red", "Orange", "Yellow", "Green", "Teal", "Blue", "Purple", "Pink", "Black" } --Dummy function, absorbs unwanted triggers function none() end LuaScriptStateè{"cd":{"move":true,"scale":false},"tid":[{"name":"Felt - Green","url":"https://i.imgur.com/eHXDjyy.jpg"},{"name":"Felt - Red","url":"https://i.imgur.com/DbPelDi.jpg"},{"name":"Felt - Grey","url":"https://i.imgur.com/N0O6aqj.jpg"}]}XmlUI9.GUIDf938a2NameCustom_AssetbundleTransform‰posXposY"ÀposZbÀrotX Ü¥<½rotYrotZscaleX$@scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978796471/14ED0DBD593370733A0309B0950004F33EB9FACA/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI10.GUID9f95fdNameCustom_AssetbundleTransform‰posX@dÀposY"ÀposZrotX€rotY€V@rotZscaleX"@scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978796471/14ED0DBD593370733A0309B0950004F33EB9FACA/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI11.GUID35b95fNameCustom_AssetbundleTransform‰posXposY"ÀposZb@rotX Ü¥<½rotY€f@rotZscaleX$@scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978796471/14ED0DBD593370733A0309B0950004F33EB9FACA/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI12.GUID5af8f2NameCustom_AssetbundleTransform‰posX@d@posY"ÀposZrotX€rotYàp@rotZscaleX"@scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/879750610978796471/14ED0DBD593370733A0309B0950004F33EB9FACA/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI13äGUID4ee1f2Name Custom_ModelTransform‰posXposY"ÀposZrotXàºv@rotYC _¿rotZà¸~v@scaleX$@scaleYð?scaleZ"@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomMesh™MeshURLehttp://cloud-3.steamusercontent.com/ugc/879750610978796176/4A5A65543B98BCFBF57E910D06EC984208223D38/DiffuseURL https://i.imgur.com/eHXDjyy.jpgNormalURLColliderURLConvexMaterialIndexTypeIndexCustomShader‰SpecularColor&rð?gð?bð?SpecularIntensitySpecularSharpness@FresnelStrengthCastShadowsLuaScriptLuaScriptStateXmlUI14rGUIDdb00c7Name Custom_TokenTransform‰posX€Þ"`ÀposY€Öçû?posZ`oì`ÀrotXÀ}¼�?rotY@q€f@rotZ@—@´?scaleX IÖß?scaleYð?scaleZ IÖß?NicknameInfantry CorpsDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826243/CF16423F13EF0B4220DB2FC50A73AD5AB44AF528/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScriptè--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Unit front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=1, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI15'GUID4b6e35Name Custom_TokenTransform‰posX ¤aÀposY€ ü?posZ {aaÀrotX`à‘?rotY f@rotZ{j´?scaleX@Fâß?scaleYð?scaleZ@Fâß?NicknameCavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826089/550393DABEF2FEA5F5C2336085D3E8F3D2DC2AE5/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI16(GUID8e74e0Name Custom_TokenTransform‰posX»&`ÀposYàäû?posZ@üaaÀrotX ÷‘?rotY �f@rotZ€¬o´?scaleXÀÞ£Þ?scaleYð?scaleZÀÞ£Þ?Nickname InfantryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826337/D9C08CBF59649E5B9A1397C6297048204158281E/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI17×GUIDb88d8bName Custom_TileTransform‰posX€Y$`ÀposYàÝèù?posZ€�èaÀrotXÆ;‘?rotY Õf@rotZur´?scaleX€NÚ?scaleYð?scaleZ€NÚ?Nickname Generic CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagebImageURLbhttps://cdn.discordapp.com/attachments/987399276890042398/988175535907676190/ACW_CSA_Template.pngImageSecondaryURLihttps://cdn.discordapp.com/attachments/987399276890042398/988175535635042324/ACW_CSA_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI18èGUID3adf27Name Custom_TileTransform‰posXSC`ÀposYàøìù?posZà7bÀrotX@A‘?rotY`R€f@rotZ âr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric CSA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g €™¹?b H¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854935407/44FD211407C23CFA6041754ACCA5A22B13A33E62/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056603310/3DA986512FE43BAC9BBF7A3F0C615B85B319CDE2/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI19äGUID08ce99Name Custom_TileTransform‰posX õê`ÀposYàzú?posZ ä®aÀrotXà+I‘?rotY@`f@rotZ@mr´?scaleX ÕðÜ?scaleYð?scaleZ ÕðÜ?NicknameGeneric CSA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b@ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949305/55D6BD9ECCDCC499CF7140EDE45218511CE3FB50/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949927/51B30D740C98D05A13C2190CD5FB39BA0AECFDE5/ImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI20ð!GUID252f29Name Custom_TileTransform‰posX ÎD`ÀposY`0êù?posZ _bÀrotX ·~v@rotY Šßp@rotZà†S‘?scaleX t�Ô?scaleYð?scaleZ t�Ô?Nickname CSA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`UUå?g`UUå?b`UUå?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056471424/B10DED8820154304F98D9E9231B4D1BF71AD78EF/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI21×GUID191df7Name Custom_TileTransform‰posX 3#`ÀposYßéù?posZ`mÈaÀrotX@*;‘?rotY@ëf@rotZ €r´?scaleX€NÚ?scaleYð?scaleZ€NÚ?Nickname Generic CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagebImageURLbhttps://cdn.discordapp.com/attachments/987399276890042398/988175535907676190/ACW_CSA_Template.pngImageSecondaryURLihttps://cdn.discordapp.com/attachments/987399276890042398/988175535635042324/ACW_CSA_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI22×GUID4c3c28Name Custom_TileTransform‰posX€{#`ÀposYÀëù?posZ`¨©aÀrotX`ÓC‘?rotYÀ_f@rotZ@@r´?scaleX€NÚ?scaleYð?scaleZ€NÚ?Nickname Generic CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagebImageURLbhttps://cdn.discordapp.com/attachments/987399276890042398/988175535907676190/ACW_CSA_Template.pngImageSecondaryURLihttps://cdn.discordapp.com/attachments/987399276890042398/988175535635042324/ACW_CSA_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI23×GUID5fe7f1Name Custom_TileTransform‰posX Ö#`ÀposY Rìù?posZ tŠaÀrotXÀ·J‘?rotY`€f@rotZ`Ûr´?scaleX€NÚ?scaleYð?scaleZ€NÚ?Nickname Generic CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagebImageURLbhttps://cdn.discordapp.com/attachments/987399276890042398/988175535907676190/ACW_CSA_Template.pngImageSecondaryURLihttps://cdn.discordapp.com/attachments/987399276890042398/988175535635042324/ACW_CSA_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI24èGUIDe50d84Name Custom_TileTransform‰posX`B`ÀposYÀ5áù?posZ€€ bÀrotX@S[‘?rotYÀ“f@rotZ ùq´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric CSA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g €™¹?b H¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854935407/44FD211407C23CFA6041754ACCA5A22B13A33E62/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056603310/3DA986512FE43BAC9BBF7A3F0C615B85B319CDE2/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI25ð!GUIDe7374cName Custom_TileTransform‰posX€¦`ÀposY ¿àù?posZ€ê]bÀrotXÀ·~v@rotYÀñßp@rotZ€=I‘?scaleX t�Ô?scaleYð?scaleZ t�Ô?Nickname CSA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`UUå?g`UUå?b`UUå?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056471424/B10DED8820154304F98D9E9231B4D1BF71AD78EF/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI26äGUIDe14c51Name Custom_TileTransform‰posX ¹ê`ÀposY`¶ú?posZ@�aÀrotXÀO<‘?rotY çf@rotZ€Br´?scaleX ÕðÜ?scaleYð?scaleZ ÕðÜ?NicknameGeneric CSA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b@ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949305/55D6BD9ECCDCC499CF7140EDE45218511CE3FB50/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949927/51B30D740C98D05A13C2190CD5FB39BA0AECFDE5/ImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI27äGUID5ca699Name Custom_TileTransform‰posX 6+aÀposYÀ3ú?posZÀŒ�aÀrotX �:‘?rotY E�f@rotZs´?scaleX ÕðÜ?scaleYð?scaleZ ÕðÜ?NicknameGeneric CSA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b@ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949305/55D6BD9ECCDCC499CF7140EDE45218511CE3FB50/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949927/51B30D740C98D05A13C2190CD5FB39BA0AECFDE5/ImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI28äGUID200ba1Name Custom_TileTransform‰posXàã,aÀposY 9ú?posZ@c¯aÀrotX`õN‘?rotYà1f@rotZ -r´?scaleX ÕðÜ?scaleYð?scaleZ ÕðÜ?NicknameGeneric CSA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b@ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949305/55D6BD9ECCDCC499CF7140EDE45218511CE3FB50/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854949927/51B30D740C98D05A13C2190CD5FB39BA0AECFDE5/ImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI29ÒGUID46c20aName Custom_TileTransform‰posXà^ÀposY€,¶ù?posZ`ÑüaÀrotX`ÙA‘?rotY ‚€f@rotZ`s´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI30ÒGUIDd4a1ffName Custom_TileTransform‰posX S^ÀposYÀz·ù?posZàÝaÀrotX`»Y‘?rotYà€f@rotZÀ{r´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI31ÒGUID32ef74Name Custom_TileTransform‰posX ˜^ÀposYÀ‹¸ù?posZÀ ¿aÀrotX``P‘?rotY çf@rotZ�r´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI32ÒGUID11d31bName Custom_TileTransform‰posX _^ÀposYàÓ¹ù?posZ :¡aÀrotX@êM‘?rotYàM€f@rotZ år´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI33ð!GUID610963Name Custom_TileTransform‰posX`áe\ÀposYó‰ù?posZ@Ú‹bÀrotXà= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI34ð!GUID6af273Name Custom_TileTransform‰posX ¤B]ÀposYà«�ù?posZà1‹bÀrotX€w´?rotY €V@rotZàºv@scaleX@Õ?scaleYð?scaleZ@Õ?Nickname USA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`úË·?g öe�?b …Vá?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056464288/108F082A87F361E3050B35CA6F8A18F99EE3F3A2/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI35ßGUIDd708c1Name Custom_TileTransform‰posX`²é]ÀposYà °ù?posZÀç.bÀrotX€žJ‘?rotY€>f@rotZ€r´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI36ßGUID7fa46bName Custom_TileTransform‰posX _^]ÀposY —£ù?posZ Ï/bÀrotX`&‘?rotY�f@rotZ 1s´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI37ßGUIDa41d83Name Custom_TileTransform‰posX@­ŠZÀposY Ëdù?posZ@­bÀrotXàÁG‘?rotY Üf@rotZ€br´?scaleX O©Ú?scaleYð?scaleZ O©Ú?NicknameGeneric USA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÀ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056656724/79E9A257EF507A3EBF915374EDDA317B7CA2E27B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855048739/6D5FB94E1C2E55BE60463DB0CEFD3FE5A18DA37A/ImageScalarð?WidthScaleCustomTile8TypeThickness›™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI38'GUIDbddb63Name Custom_TokenTransform‰posX µTZÀposY ŽZû?posZ€î€aÀrotXÀ•G‘?rotY€2€f@rotZ ar´?scaleXà'á?scaleYð?scaleZà'á?NicknameCavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826866/13939D2490E066A85FC7AE1D3ABD8605EA97B7E5/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI39ÛGUID63aeb9Name Custom_TileTransform‰posX u‹ZÀposY€+fù?posZ€ÞaÀrotX 1N‘?rotY Üf@rotZ ™r´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI40tGUID9dda46Name Custom_TokenTransform‰posXàYYÀposY`âAû?posZÀn.aÀrotX ÏH‘?rotY`›f@rotZÀÔq´?scaleX`,á?scaleYð?scaleZ`,á?NicknameCavalry DivisionDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826623/9AB0BB57F93682136E6549F76F0BCD90849CEB79/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScriptè--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Unit front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=1, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI41ßGUIDb935a0Name Custom_TileTransform‰posXÔZÀposY€mXù?posZàybÀrotX ®E‘?rotYà¸f@rotZ`+r´?scaleX O©Ú?scaleYð?scaleZ O©Ú?NicknameGeneric USA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÀ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056656724/79E9A257EF507A3EBF915374EDDA317B7CA2E27B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855048739/6D5FB94E1C2E55BE60463DB0CEFD3FE5A18DA37A/ImageScalarð?WidthScaleCustomTile8TypeThickness›™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI42ÛGUID31c8d5Name Custom_TileTransform‰posX@ÿýYÀposYàƒYù?posZ€ëÞaÀrotXà_‘?rotY §f@rotZFr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI43ÛGUID61bb18Name Custom_TileTransform‰posX`¸ûYÀposY¹Zù?posZ€ˆ¹aÀrotXB‘?rotY™€f@rotZùr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI44ÛGUIDe8931aName Custom_TileTransform‰posXÀS‰ZÀposY@cgù?posZ`°¸aÀrotX ¢<‘?rotY@ˆ€f@rotZÀºr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI45ð!GUID065edfName Custom_TileTransform‰posXàdYÀposY+Fù?posZ€ÆsbÀrotX¸~v@rotY`+àp@rotZPD‘?scaleX@Õ?scaleYð?scaleZ@Õ?Nickname USA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?g ¦Uî?bLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056464288/108F082A87F361E3050B35CA6F8A18F99EE3F3A2/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI46ð!GUIDccc180Name Custom_TileTransform‰posX@nÌXÀposYàŠ8ù?posZ@nvbÀrotX€¸~v@rotY 9àp@rotZ`oB‘?scaleX@Õ?scaleYð?scaleZ@Õ?Nickname USA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?g ¦Uî?bLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056464288/108F082A87F361E3050B35CA6F8A18F99EE3F3A2/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI47ÃGUID54391fName Custom_TokenTransform‰posXàG"^ÀposY`×±û?posZvaÀrotXÀЀ‘?rotY €f@rotZ út´?scaleX€-Îá?scaleYð?scaleZ€-Îá?NicknameWhite Blue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827550/669F9192624150E1E4BFFBADF6A8DD74300507AC/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {0, 0, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI48'GUIDf2fac6Name Custom_TokenTransform‰posX@mðWÀposY@‹#û?posZ (‹aÀrotXèf‘?rotY ~€f@rotZ ìw´?scaleX@7¿á?scaleYð?scaleZ@7¿á?NicknameCavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827115/D2A2FD5281435C4C7FAF8FDAF1F858B96384A905/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI49'GUID61a6daName Custom_TokenTransform‰posX`1%YÀposY€V?û?posZs„aÀrotX©‘?rotYÀÉ€f@rotZ@Fp´?scaleX Œ)á?scaleYð?scaleZ Œ)á?NicknameCavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827000/893CDC6771905A09689109EE030B88490E9C448A/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI50ÂGUID60c523Name Custom_TokenTransform‰posX žœ[ÀposY`pxû?posZ€cpaÀrotX`~E‘?rotYÆf@rotZà�s´?scaleX€-Îá?scaleYð?scaleZ€-Îá?NicknameWhite Red Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827550/669F9192624150E1E4BFFBADF6A8DD74300507AC/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 0, 0, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI51½GUIDa687e1Name Custom_TokenTransform‰posX@éÂ\ÀposY ©’û?posZà8qaÀrotXàÆA‘?rotY.€f@rotZ/s´?scaleX€-Îá?scaleYð?scaleZ€-Îá?NicknameBlue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827368/A6AE3DE0353F8421A3E98E600B95399A464E6771/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI52+ GUID059475NameBlockRectangleTransform‰posX@^ÀposY`¿!û?posZ½aÀrotX@v{´?rotY@€V@rotZ ¤v@scaleX€™™Å?scaleY€™™Å?scaleZ€ÿÿú?Nickname BreastworksDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r@ ŒÝ?g:ŠÓ?b@ǼÉ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsLuaScriptLuaScriptStateXmlUIChildObjectsÑ0AGUIDc62bf6NameBlockRectangleTransform‰posX€™ð¦?posYÀÿï?posZ`êÛz?rotXgR6¿rotY “á?rotZàvf@scaleX �òï?scaleYàÿÿï?scaleZ€Vð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r@ ŒÝ?gÀGŠÓ?b€á¼É?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsLuaScriptLuaScriptStateXmlUI1AGUID61c820NameBlockRectangleTransform‰posX`(™í¿posY Å2ã?posZ`ûÓÎ?rotX€Šíh¿rotYÀ€v@rotZ€~{?scaleX ôÿï?scaleY€™™@scaleZ š™©?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r@ ŒÝ?g GŠÓ?b@á¼É?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsLuaScriptLuaScriptStateXmlUI2AGUID80e6aeNameBlockRectangleTransform‰posX€k‹î¿posY@ 3ã?posZ TbÊ¿rotX€M¾g¿rotYàxv@rotZàôÒz?scaleXÀòÿï?scaleY€™™@scaleZ š™©?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r@ ŒÝ?g€GŠÓ?bá¼É?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsLuaScriptLuaScriptStateXmlUI53^GUID36d791Name Custom_TokenTransform‰posX -‹^ÀposYà­˜ú?posZ íÊ`ÀrotXà¸~v@rotYÀ€ßp@rotZÀDS‘?scaleX`ffÖ?scaleYð?scaleZ`ffÖ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1481076061054884506/8165A53EB92B45CA176CACE4E558A1DFD7899FA4/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI54^GUID8bda04Name Custom_TokenTransform‰posX€“$^ÀposY3\û?posZAÎ`ÀrotXÀÕ~v@rotY€ào@rotZ/�f@scaleX TÞ?scaleYð?scaleZ TÞ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1746854528981486765/50845E057D0DAC73EE882A1EA84C7D8221E43C1D/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™É?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI55H GUID904795Name Custom_TokenTransform‰posXàîÏ^ÀposYŸžú?posZÀÐ`ÀrotX@jý�?rotY`€f@rotZ ‹‚f@scaleX@`´³?scaleYð?scaleZ@`´³?Nickname DisorganizedDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635902658/2CEED534F5E9389F6732769519661D22BBABCD8F/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUIStatesÖ2dGUIDd739c5Name Custom_TokenTransform‰posXÀ-:U@posYà5gú?posZ`ØyZÀrotX¿9b¿rotY|…f@rotZ €f@scaleX``m³?scaleYð?scaleZ``m³?NicknameRoutedDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635894544/0D3273B31BD0B29A352EF58DCC7440BEE6C632D3/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI3gGUID18f4dcName Custom_TokenTransform‰posX>ÙU@posY€­ý?posZ`"ÝcÀrotX@È{o¿rotY€ €f@rotZ@ì{f@scaleX``m³?scaleYð?scaleZ``m³?Nickname ShatteredDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635895906/23A28E3FE5BA78BBF9FC6F8A7D4B6E5503786942/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI56H GUID30b832Name Custom_TokenTransform‰posX€ÄÏ^ÀposY¨�ú?posZ /é`ÀrotX ¹s¿rotY@ah@rotZ@gå´?scaleX``m³?scaleYð?scaleZ``m³?Nickname ShatteredDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635895906/23A28E3FE5BA78BBF9FC6F8A7D4B6E5503786942/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUIStatesÙ1jGUID5e2341Name Custom_TokenTransform‰posXÀ-:U@posYà6gú?posZ€ØyZÀrotXÀ­Ï6¿rotYàp…f@rotZÀ€f@scaleX@`´³?scaleYð?scaleZ@`´³?Nickname DisorganizedDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635902658/2CEED534F5E9389F6732769519661D22BBABCD8F/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI2dGUIDd739c5Name Custom_TokenTransform‰posX T V@posYÀ'´ý?posZ`"ÝcÀrotXànýl¿rotY €f@rotZàá{f@scaleX``m³?scaleYð?scaleZ``m³?NicknameRoutedDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635894544/0D3273B31BD0B29A352EF58DCC7440BEE6C632D3/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI57H GUID2416a5Name Custom_TokenTransform‰posXÐ^ÀposY 'žú?posZ ÐÜ`ÀrotXªÏ�?rotY>�f@rotZà�‚f@scaleX``m³?scaleYð?scaleZ``m³?NicknameRoutedDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635894544/0D3273B31BD0B29A352EF58DCC7440BEE6C632D3/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUIStatesÜ1jGUID5e2341Name Custom_TokenTransform‰posX pZ@posYÀ+ó'@posZ ˆAQ@rotXus?rotYÀÜf@rotZÀ€f@scaleX@`´³?scaleYð?scaleZ@`´³?Nickname DisorganizedDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635902658/2CEED534F5E9389F6732769519661D22BBABCD8F/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI3gGUID878ad3Name Custom_TokenTransform‰posX pZ@posY,ó'@posZ ˆAQ@rotX 7#3¿rotY@Ýf@rotZ ÿf@scaleX``m³?scaleYð?scaleZ``m³?Nickname ShatteredDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2006965624635895906/23A28E3FE5BA78BBF9FC6F8A7D4B6E5503786942/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI58GUID52791eName Custom_TileTransform‰posX`Ô,_ÀposYËØù?posZ üò`ÀrotXàF‘?rotYà�f@rotZ@){´?scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460516711/C820F3AD13346684A3143BF2AA3547E67B451B71/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUIStatesÍ7IGUID27a37dName Custom_TileTransform‰posXäEÀposY áÓ÷?posZ€0¯Â¿rotX§C‘?rotY€f@rotZà�s´?scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460578579/5E98E94C8E9EB77FCF2473B36278C74422BD8790/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUI4IGUIDb74413Name Custom_TileTransform‰posXÀÔü\@posY`’Ù'@posZ€²rX@rotXÀÑß¿>rotY€f@rotZÀ­Ãõ>scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460568216/AC9073703DF4C96823A4451C0BE3233C22A9010A/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUI5IGUID8e1a81Name Custom_TileTransform‰posXÀÔü\@posYÀ‘Ù'@posZ€²rX@rotXø[ï>rotY€f@rotZøšÚ>scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460569180/C8620C7C5A22858CB83E88402C8E076A74BE8F58/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUI6IGUIDd55435Name Custom_TileTransform‰posXÀÔü\@posY`’Ù'@posZ€²rX@rotX^oï>rotY€f@rotZÀ#7Û>scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460569936/F81C59D102961117DC870596F11231CC7FCCE890/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUI2IGUID2d64fbName Custom_TileTransform‰posXÀÔü\@posY`’Ù'@posZ€²rX@rotXàýÎ×>rotY€f@rotZ …Mò>scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460565789/1E5274785658E09A857673F4B7F3E954329CB3CE/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUI3IGUIDdc5421Name Custom_TileTransform‰posXÀÔü\@posYà‘Ù'@posZ€²rX@rotX¤¿>rotY€f@rotZ`ô^ö>scaleXÀúöÜ?scaleYð?scaleZÀúöÜ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1915745283460567323/4C0EFBCEA2BE0ED528A692E6EB32BA8F99CACE1A/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™¹?StackableStretchLuaScriptLuaScriptStateXmlUI59ïGUID324b6dName Custom_TokenTransform‰posXà*_ÀposYÀΦú?posZàRÌ`ÀrotX€"Q‘?rotY&f@rotZìq´?scaleX Z$Í?scaleYð?scaleZ Z$Í?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1839155582745576005/31FC0A0F0F30D16F23BA5790E154A4D0EB51EC59/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUIStates‰ 2^GUIDcd836cName Custom_TokenTransform‰posXŠ[@posY,ó'@posZ ÎW@rotX ¬uù¾rotYÀmf@rotZ ÙÏ?scaleX Z$Í?scaleYð?scaleZ Z$Í?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1839155582745576072/D65AEAE9DC850A8E584E4B4BEEA8DC5C776DEAFF/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI3^GUID6ef23fName Custom_TokenTransform‰posXŠ[@posY ,ó'@posZ ÎW@rotX ïB¿rotY mf@rotZ è.¿scaleX Z$Í?scaleYð?scaleZ Z$Í?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1839155582745576124/AFCE17A642190BB78D780B801CC5ED468B2AA7A7/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI4^GUIDf7f01cName Custom_TokenTransform‰posXŠ[@posY@,ó'@posZ ÎW@rotX {×Ë>rotY mf@rotZ àóоscaleX Z$Í?scaleYð?scaleZ Z$Í?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1839155582745576172/6FFC35F179420C2B772E060B734FAC0BD2D134CC/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI5^GUIDfa993bName Custom_TokenTransform‰posXŠ[@posY ,ó'@posZ ÎW@rotXÀ^…Í>rotY mf@rotZ`ՙϾscaleX Z$Í?scaleYð?scaleZ Z$Í?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1839155582745576221/B99520DA7547506C3184463331A057330B4EB702/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUI60(GUIDe0f0c3Name Custom_TokenTransform‰posX *P`ÀposY`Þíû?posZ ±#aÀrotX€“¡‘?rotYàÜf@rotZ`[z´?scaleX W�à?scaleYð?scaleZ W�à?Nickname InfantryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826424/915046947AC7244366EE7D40FB8BA8E7351B8B13/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI61rGUID6b10aaName Custom_TokenTransform‰posXà+k`ÀposYÀÕôû?posZ ¡ê`ÀrotX ÃK‘?rotY€Ýf@rotZ ¿s´?scaleX W�à?scaleYð?scaleZ W�à?NicknameInfantry CorpsDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612934398796/E6B7C53B5149CEFA9020FCD7D311C57EEC739BCF/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScriptè--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Unit front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=1, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI62)GUID03622aName Custom_TokenTransform‰posX >`ÀposYàÍãû?posZàþ aÀrotX ‘?rotY >€f@rotZÀ³n´?scaleX W�à?scaleYð?scaleZ W�à?Nickname ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826007/578E263B1AA49EFB29FD5DD06ABD6875CFF08293/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {1, 1, 1, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI63'GUIDcab88cName Custom_TokenTransform‰posXÀÖ�`ÀposY ®öû?posZ!%aÀrotX`ò·‘?rotYà€f@rotZ ‘{´?scaleX W�à?scaleYð?scaleZ W�à?NicknameCavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826164/951BA956CF46776744B023BD3430E5A30E1E7AA3/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI64)GUIDddf6e6Name Custom_TokenTransform‰posX ÒuZÀposY "gû?posZ��`ÀrotX sJ‘?rotYàµf@rotZîr´?scaleX`±râ?scaleYð?scaleZ`±râ?Nickname ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827195/9D5D572F9C9AEC265E1539A73787A5164EFA6D24/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {1, 1, 1, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI65)GUID7149feName Custom_TokenTransform‰posX guZÀposY9iû?posZ >I`ÀrotX n\‘?rotYÀf@rotZ`¤r´?scaleX`±râ?scaleYð?scaleZ`±râ?Nickname ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827282/5C085CB1F8F22C17D1914FC7E2D00B33B921D8C8/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {1, 1, 1, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI66ÂGUIDd04b90Name Custom_TokenTransform‰posXàüP]ÀposY€1¢û?posZà™%aÀrotX€[O‘?rotY ûf@rotZàõr´?scaleX`±râ?scaleYð?scaleZ`±râ?NicknameWhite Red Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827623/FDDBBBEB72EABE81C6FF9456F0B416A0A12663A1/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 0, 0, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI67½GUIDc8f5c4Name Custom_TokenTransform‰posXÀÀÒ\ÀposY`—û?posZÀb#aÀrotX Öj‘?rotY€€f@rotZÀ¸w´?scaleX`±râ?scaleYð?scaleZ`±râ?NicknameBlue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827450/06262DDACC81F296469CD37D33B23396FA754FE4/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI68ÃGUID96a07cName Custom_TokenTransform‰posX‘X\ÀposY€Œû?posZ™$aÀrotX ¶l‘?rotY ×€f@rotZ@Lu´?scaleX`±râ?scaleYð?scaleZ`±râ?NicknameWhite Blue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827623/FDDBBBEB72EABE81C6FF9456F0B416A0A12663A1/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {0, 0, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI69SGUID7bef77Name Custom_TokenTransform‰posX «¦\ÀposY`P—û?posZ !³`ÀrotXàÈX‘?rotY€šf@rotZ òn´?scaleX€Š)ã?scaleYð?scaleZ€Š)ã?NicknameArmyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612934311840/D87BED489BAB08989E19B265B104347E8A9D3429/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScriptÝ--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' army = 'Army' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, army=army,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table army = loaded_data.army div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Commander Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.6, 0.13, 0.06}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 130, font_color = {0, 0, 0, 1}} self.createButton(data) --Army Name front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = army, position = {-0.5, 0.13, 0.8}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {-0.5, -0.13, 0.06}, rotation = {0, 0, 180}, width = 600, height = 200, font_size = 115, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Army input box --- self.createInput({ value = army, input_function = "editArmy", label = "Army", function_owner = self, alignment = 3, position = {-0.3, -0.13, 0.8}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.2, y=1.2, z=1.2}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Army" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editArmy(_obj, _string, value) army = value, self.editButton({index=1, label=army}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState{"army":"","name":""}XmlUI70¸GUID1212dfName Custom_TokenTransform‰posXÀuµ\ÀposY€c–û?posZ±î`ÀrotXàÑ7‘?rotY €f@rotZ`Ëg´?scaleX`±râ?scaleYð?scaleZ`±râ?NicknameInfantry CorpsDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826730/754A93F4C07F86F7AEEA2DA904B821E89F4FD46A/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript.--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {0.74, 0.13, -1.05}, rotation = {0, 13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 130, font_color = {1, 0, 0, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "CORPS", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.8, -0.13, -1}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState {"corps":"","div":"","name":""}XmlUI71QGUIDe8fb82Name Custom_TileTransform‰posX€3_ÀposY÷Õû?posZ@ÑLaÀrotX ìR‘?rotY@å€f@rotZ`Ž‚f@scaleX`�ÂÅ?scaleYð?scaleZ`�ÂÅ?Nickname InfantryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1820019631651432283/9A4CE31C6906C1E68BE42A3AC1DC3619D2F2B8C2/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThicknessÀ?StackableStretchLuaScriptLuaScriptStateXmlUI72®GUIDb0bd81Name Custom_TileTransform‰posX€x{_ÀposYÀUáù?posZ •Ê`ÀrotX=�‘?rotY€€f@rotZHt´?scaleXà?scaleYð?scaleZà?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rà?gà?bà?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1763703626161761446/4E7B03D1E9DF99830B5DC2B31E61E10B8AC45FDE/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1763703626164338719/1F9776B02A1C017881B8F3BDC81D08E54087B59A/ImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptLuaScriptStateXmlUI73QGUIDab19e8Name Custom_TileTransform‰posXË1_ÀposYàŸÔû?posZ XmaÀrotX`—[‘?rotY@µ€f@rotZ`Ž‚f@scaleX`�ÂÅ?scaleYð?scaleZ`�ÂÅ?Nickname InfantryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1820019631651491774/AEBAA896CBBDAF6473604DF8749BAE589685C2BF/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThicknessÀ?StackableStretchLuaScriptLuaScriptStateXmlUI74®GUID309d28Name Custom_TileTransform‰posX v_ÀposY ?ßù?posZ õ`ÀrotX –;‘?rotY@€f@rotZ`%u´?scaleXà?scaleYð?scaleZà?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r ¿?gñðà?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1763703626161759098/DAB3EAA5EC845E01093A468C69EAA93D8BE359B3/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1763703626164333374/8B3BBF33C5DB4E0CF29F19F2E989814235923F79/ImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptLuaScriptStateXmlUI75èGUID55f3d3Name Custom_TileTransform‰posXÀœê`ÀposYã ú?posZ y×aÀrotX@f`‘?rotYÀ#f@rotZøq´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric CSA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÆ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056498025/73E728ED91DEEFF68AE63F59539754BB687D00F7/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855049538/A4C354E92C3161266067B6D7CA065B6341B02A17/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI76èGUID1a2a15Name Custom_TileTransform‰posXv/aÀposYÀ(ú?posZÀÚ×aÀrotX ÀG‘?rotY ¼f@rotZ or´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric CSA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÆ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056498025/73E728ED91DEEFF68AE63F59539754BB687D00F7/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855049538/A4C354E92C3161266067B6D7CA065B6341B02A17/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScript----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 350, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI77ð!GUIDf8c838Name Custom_TileTransform‰posXê$aÀposY !ú?posZ X+bÀrotXÀ·~v@rotYÀ½ßp@rotZ 1N‘?scaleX t�Ô?scaleYð?scaleZ t�Ô?Nickname CSA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?g€4èì?bLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056471424/B10DED8820154304F98D9E9231B4D1BF71AD78EF/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI78ð!GUID51a8c1Name Custom_TileTransform‰posXÀañ`ÀposYà ú?posZù,bÀrotX ¸~v@rotY`«ßp@rotZ §O‘?scaleX t�Ô?scaleYð?scaleZ t�Ô?Nickname CSA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?g€4èì?bLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056471424/B10DED8820154304F98D9E9231B4D1BF71AD78EF/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI79ÛGUIDfecca1Name Custom_TileTransform‰posX §ØXÀposY`4?ù?posZ€™âaÀrotX š4‘?rotY ˜€f@rotZ€œr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI80ÛGUID256f0dName Custom_TileTransform‰posX@úgYÀposYÀ%Lù?posZ xÞaÀrotX NI‘?rotY@¯f@rotZ _r´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI81ÛGUID06e575Name Custom_TileTransform‰posX@_ÕXÀposY@q@ù?posZ€ÿ¹aÀrotX€eE‘?rotY ´f@rotZ€Fr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI82ÛGUIDd71ef1Name Custom_TileTransform‰posX@þcYÀposY 3Mù?posZ€!¹aÀrotXàñ>‘?rotY€+€f@rotZ`‰r´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI83ÛGUIDee1471Name Custom_TileTransform‰posX@ùªWÀposY@I$ù?posZà¤âaÀrotX@&‘?rotY@­€f@rotZ`ír´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI84ÛGUIDd2847fName Custom_TileTransform‰posXàß9XÀposY  1ù?posZ@žâaÀrotX =‘?rotYÀº€f@rotZ èr´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI85ÛGUID1c88daName Custom_TileTransform‰posX@O©WÀposY€£%ù?posZÀϺaÀrotX †;‘?rotY ½€f@rotZ s´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI86ÛGUID28e348Name Custom_TileTransform‰posX ž7XÀposY Y2ù?posZ €ºaÀrotX 9‘?rotY e�f@rotZÀ,s´?scaleXÓÛ?scaleYð?scaleZÓÛ?NicknameGeneric USA CavalryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?b€ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854950797/66DAC646F9623722A6501560C4BD2FEB151DAEF2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295854951340/7585466D88984980DC5DEB00FACB3455BC2AB16D/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptù----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.7, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI87ßGUID316f09Name Custom_TileTransform‰posX`ÊgYÀposYÀ·Jù?posZàübÀrotX€ÖP‘?rotY@Ef@rotZÀ0r´?scaleX O©Ú?scaleYð?scaleZ O©Ú?NicknameGeneric USA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÀ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056656724/79E9A257EF507A3EBF915374EDDA317B7CA2E27B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855048739/6D5FB94E1C2E55BE60463DB0CEFD3FE5A18DA37A/ImageScalarð?WidthScaleCustomTile8TypeThickness›™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI88ßGUID0c34efName Custom_TileTransform‰posX ˆÑXÀposYÀ2=ù?posZ ýbÀrotX s9‘?rotYÝ~f@rotZÛq´?scaleX O©Ú?scaleYð?scaleZ O©Ú?NicknameGeneric USA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÀ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056656724/79E9A257EF507A3EBF915374EDDA317B7CA2E27B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855048739/6D5FB94E1C2E55BE60463DB0CEFD3FE5A18DA37A/ImageScalarð?WidthScaleCustomTile8TypeThickness›™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI89ßGUID0c90caName Custom_TileTransform‰posXÀ£/XÀposY¹.ù?posZ€ÊbÀrotX ]N‘?rotY@rf@rotZÀ_r´?scaleX O©Ú?scaleYð?scaleZ O©Ú?NicknameGeneric USA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÀ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056656724/79E9A257EF507A3EBF915374EDDA317B7CA2E27B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855048739/6D5FB94E1C2E55BE60463DB0CEFD3FE5A18DA37A/ImageScalarð?WidthScaleCustomTile8TypeThickness›™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI90ßGUID49ff6aName Custom_TileTransform‰posX`Ð¥WÀposY \"ù?posZ`“ bÀrotX [.‘?rotY €f@rotZ Úr´?scaleX O©Ú?scaleYð?scaleZ O©Ú?NicknameGeneric USA Horse ArtDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€Âõì?g€j¼ì?bÀ Æ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056656724/79E9A257EF507A3EBF915374EDDA317B7CA2E27B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1731091295855048739/6D5FB94E1C2E55BE60463DB0CEFD3FE5A18DA37A/ImageScalarð?WidthScaleCustomTile8TypeThickness›™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI91ÒGUIDa9eaeeName Custom_TileTransform‰posX`}»\ÀposY€—ù?posZ ÿûaÀrotX 5>‘?rotY€’€f@rotZ úr´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI92ÒGUIDe8edf1Name Custom_TileTransform‰posX`ª¼\ÀposYÀK˜ù?posZà¦ÜaÀrotXÀ!H‘?rotYÑf@rotZ€ƒr´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI93ÒGUIDfb1707Name Custom_TileTransform‰posX€¼\ÀposY`p™ù?posZ@ò¼aÀrotXàRF‘?rotY`cf@rotZ Rr´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI94ÒGUIDcfb2ecName Custom_TileTransform‰posXž½\ÀposY ¥šù?posZ`… aÀrotX R‘?rotYàf@rotZ` r´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI95ÒGUIDb6215bName Custom_TileTransform‰posXÀ¯Ž[ÀposY t~ù?posZ`m¿aÀrotX€õV‘?rotY ?f@rotZ€2r´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI96ÒGUID73a551Name Custom_TileTransform‰posXàe�[ÀposYÀb}ù?posZ`uÝaÀrotXà•U‘?rotY qf@rotZ Zr´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI97ÒGUID438592Name Custom_TileTransform‰posX€2Ž[ÀposY |ù?posZÀ3ýaÀrotX`L‘?rotYÀ£€f@rotZ€s´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI98ÒGUID7ef703Name Custom_TileTransform‰posXÀv�[ÀposY€¼ù?posZ€›¡aÀrotXÀÆG‘?rotY€øf@rotZ€¨r´?scaleX@ЫÙ?scaleYð?scaleZ@ЫÙ?Nickname Generic USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgƒ˜È?b€ÉÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagefImageURLdhttps://cdn.discordapp.com/attachments/987399276890042398/988173739231440946/ACW_Union_Template.pngImageSecondaryURLkhttps://cdn.discordapp.com/attachments/987399276890042398/988173738979754024/ACW_Union_Column_Template.pngImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI99ßGUID7e3d55Name Custom_TileTransform‰posXÀÌÞ[ÀposY@[�ù?posZ 0bÀrotX€v-‘?rotYÀ°€f@rotZ@s´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI100ßGUIDb22d56Name Custom_TileTransform‰posX j\ÀposY Ñ�ù?posZ@1/bÀrotXûL‘?rotY`If@rotZ` r´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI101ßGUIDd51603Name Custom_TileTransform‰posX€¶7ZÀposYÿiù?posZ L²`ÀrotX€ì6‘?rotYà�f@rotZ€s´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI102ßGUID671b9eName Custom_TileTransform‰posX€ÃZÀposY@uvù?posZ@g±`ÀrotX€èM‘?rotY€=f@rotZ 3r´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI103ßGUIDbc2bddName Custom_TileTransform‰posX€B:ZÀposYà­hù?posZHÛ`ÀrotX ;‘?rotY ì€f@rotZ 1s´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI104ßGUIDb93811Name Custom_TileTransform‰posX`‰ÅZÀposY$uù?posZaÚ`ÀrotX)V‘?rotYàÉ~f@rotZ`õq´?scaleX TÞ?scaleYð?scaleZ TÞ?NicknameGeneric USA ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r Zdë?g ™¹?b`G¸?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056646909/9091DC6FC9BEC1003F8448E9CDD2743BE399BD3B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056647385/71D19AC81CAB9420864BAC6A177EDC77DF8D5FB0/ImageScalarð?WidthScaleCustomTile8TypeThicknessÀ™™É?StackableStretchLuaScriptû----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'White' --what color do you want the Corps text to be? text2Color = 'White' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {1.3, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1.2, 0, 0}, rotation = {0, 90, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {1.5, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1.8, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI105ð!GUID958577Name Custom_TileTransform‰posX@!ÍZÀposY€¦rù?posZ@j.aÀrotX€Šu´?rotY ÊV@rotZàºv@scaleX@Õ?scaleYð?scaleZ@Õ?Nickname USA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`úË·?g öe�?b …Vá?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056464288/108F082A87F361E3050B35CA6F8A18F99EE3F3A2/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI106ð!GUID16b09cName Custom_TileTransform‰posXàbDZÀposY€®fù?posZB(aÀrotX Ö´?rotY5V@rotZÀºv@scaleX@Õ?scaleYð?scaleZ@Õ?Nickname USA SupplyDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`úË·?g öe�?b …Vá?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1708540199056464288/108F082A87F361E3050B35CA6F8A18F99EE3F3A2/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptz----------------------------------------------------------------------------------- ---adjust these values to set labels, and minimum/maximum values on the counters--- ----------------------------------------------------------------------------------- textColor = 'Black' --what color do you want the piece text to be? counter1 = "Supply" --what you want to track on Counter #1 MIN_CTR1 = 0 --minimum amount allowed for Counter #1 MAX_CTR1 = 100 --maximum amount allowed for Counter #1 --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---######### altering any code below this is at your own risk! #########--- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- text1 = "Line 1" text2 = "Line 2" ctr1 = "100" function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = {text1=text1, text2=text2, ctr1=ctr1} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table ctr1 = loaded_data.ctr1 text1 = loaded_data.text1 text2 = loaded_data.text2 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit text front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.26, -0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 300, font_color = textColor} self.createButton(data) local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {-2.5, 0.26, 0.3}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = textColor} self.createButton(data) ----------------------------- ----------------------------- --- inputs on the back --- ----------------------------- ----------------------------- --Counter #1 display on the back local data = {click_function = "ctr1Button", index = 2, function_owner = self, label = ctr1, position = {-2.65, 0, 0}, rotation = {0, 0, 180}, scale = {2.5, 2.5, 2.5}, width = 350, height = 180, font_size = 160, font_color = {1, 1, 1, 1}, color = {0, 0, 0, 1}, tooltip = counter1} self.createButton(data) ----------------------------- --- edits the +/- buttons --- ----------------------------- --- adjusts ctr1 --- local data = {click_function = "ctr1up1", function_owner = self, label = "›", position = {-3.9, 0, -0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+1"} self.createButton(data) local data = {click_function = "ctr1dn1", function_owner = self, label = "›", position = {-3.9, 0, 0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-1"} self.createButton(data) local data = {click_function = "ctr1up10", function_owner = self, label = "«", position = {-1.4, 0, -0.2}, rotation = {0, 90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "+10"} self.createButton(data) local data = {click_function = "ctr1dn10", function_owner = self, label = "«", position = {-1.4, 0, 0.2}, rotation = {0, -90, 180}, scale = {3, 3, 3}, width = 80, height = 80, font_size = 70, color = {1, 1, 1, 1}, font_color = {0, 0, 0, 1}, tooltip = "-10"} self.createButton(data) --------------------------------------- --- adjusts the text input boxes --- --------------------------------------- self.createInput({ value = text, input_function = "editLine1", label = "Text 1", function_owner = self, alignment = 3, position = {2.5, 0, -0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 200, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) self.createInput({ value = text, input_function = "editLine2", label = "Text 2", function_owner = self, alignment = 3, position = {2.5, 0, 0.3}, rotation = {0, 0, 180}, width = 1600, height = 250, font_size = 160, scale={x=1, y=1, z=1}, font_color= {1,1,1,1}, color = {0,0,0,1}}) end --end of button creation ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function ctr1Button() --spawns smoke token end ------------------------------------------------------------------------------ ------ counter buttons below ------------------------------------------------- ------------------------------------------------------------------------------ ------ change the (+1) value if you wish to adjust steps by more than 1 ------ ------ for example: edit ctr3=ctr3+1 to ctr3=ctr3+5 if you want each step ------ ------ to increase the Manpower by 5 with each "+" click ------ ------------------------------------------------------------------------------ ------ To set minimum or maximum values on the counters, adjust the ------ ------ MIN_XXX or MAX_XXX values at the top of the script ------ ------------------------------------------------------------------------------ function ctr1up1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+1 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn1() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-1 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1up10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1+10 if ctr1 >= MAX_CTR1 then ctr1 = MAX_CTR1 print("Max ", counter1) end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end function ctr1dn10() if ctr1 == nil then ctr1 = 0 end ctr1=ctr1-10 if ctr1 <= MIN_CTR1 then ctr1 = MIN_CTR1 print(counter1, " Depleted") end print(ctr1, " ", counter1) self.editButton({index=2, label=ctr1}) end LuaScriptState%{"ctr1":"100","text1":"","text2":""}XmlUI107)GUIDc3677eName Custom_TokenTransform‰posX€CÅaÀposY .ü?posZ HbaÀrotX;‘?rotYàÕf@rotZ…o´?scaleX@Fâß?scaleYð?scaleZ@Fâß?Nickname ArtilleryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933825928/81CD8BE45F6CD34BDDC9A9FD6B746EE8C7DD4ACF/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {1, 1, 1, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState!{"corps":"V","div":"","name":""}XmlUI108.GUID141f90Name Custom_TokenTransform‰posX`)Ñ^ÀposY@ènû?posZ`rv`ÀrotXà¸~v@rotY€Þßp@rotZ ˆN‘?scaleXçâ?scaleYð?scaleZ Ö±ñ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rÀBê?g`«å?b@Jáà?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLehttp://cloud-3.steamusercontent.com/ugc/277345873862853974/FBCF9A6AA6AB965DC18ECC9FC148EF181511701D/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™É?MergeDistancePixels.@StandUpStackableLuaScriptLuaScriptStateXmlUIPhysicsMaterialrStaticFriction@33ã?DynamicFriction@33ã?BouncinessFrictionCombineBounceCombineRigidbodyCMassð?Drag ™™¹?AngularDrag ™™¹?UseGravity109ÊGUID2e7fd0Name Custom_TileTransform‰posX ªnbÀposY€ævú?posZ@\ÀrotX¶J‘?rotY@S€f@rotZ»r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameNY USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314383651/CCB716E66FE5CF32A57CAFA7AC97E2D94E6A18B9/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314383797/85C42CDD328FD169A2FB1997C8C0030F4DF81981/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI110ÓGUIDa82ba6Name Custom_TileTransform‰posXà«”`ÀposY€Æú?posZ ƒ?^ÀrotXõD‘?rotY d€f@rotZ`½r´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameNC CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314533928/CA037B2D5487FAD60D09915C84E64B1C48C89724/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314534052/99AAEFD43588DB383A7E02530C3F8966AC0AB852/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI111ÓGUID132a73Name Custom_TileTransform‰posX¸”`ÀposY@Aú?posZ f¼]ÀrotX€?‘?rotY€¿€f@rotZ s´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameTX CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314517710/96744E06770CD7552FF1C1822A9BD849B2726AF0/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314517856/86FF60135A312DF3DA800C0148B8246B8AF39EE3/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI112ÊGUID5d70b3Name Custom_TileTransform‰posXÀÐ aÀposY ¼4ú?posZÀ”\ÀrotXàæJ‘?rotY Ff@rotZÀkr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameIN USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314340257/C33A6BB905A1056FEE9EE56C51BBB2081F0C71C6/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314340420/865820EC2C82FF978DDE530053DC9E155357DBBA/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI113ÊGUIDb20f67Name Custom_TileTransform‰posX€”š`ÀposY€]ú?posZ@Ë]ÀrotX í6‘?rotYe€f@rotZír´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameRI USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314344395/0C1763C9269F08A44A1C669F56C21F0308FB74BB/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314344517/B509D8EA28A5459901000ED029EA339A8C279F49/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI114ÊGUID4ad7c3Name Custom_TileTransform‰posXÀ´ aÀposY`ª2ú?posZ€0]ÀrotX «\‘?rotYà$f@rotZ@r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameMA USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314361017/8E48FF1E69D8194DD069BC3A189EAE9BCB6137E8/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314361135/2DF6932A82476709E40AB5A1BC2C210C1C03DA24/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI115ÊGUID49db59Name Custom_TileTransform‰posXÀa(`ÀposY`ÿ ú?posZ@4]ÀrotX žL‘?rotYà�€f@rotZ "s´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameVT USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314363803/5FDABF5BA928415FA1FD05EBEA5C7E32F4A99D0A/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314363926/560C8B531E8AE541DC866BB634472567707076A1/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI116ÊGUIDf330f7Name Custom_TileTransform‰posXÀŒš`ÀposY`ä ú?posZk“\ÀrotXàG‘?rotY@ÿf@rotZà¢r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameME USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314353944/1A9C0121484991E4B18EE8F571475D2CE5EC0FE9/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314354053/8F49F2B1F4521337833578953B3BF69AACB17BA5/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI117ÊGUIDd182dfName Custom_TileTransform‰posXà`(`ÀposYÀ‡ ú?posZ Ð’\ÀrotX€íE‘?rotYÀ)€f@rotZÀÃr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameCT USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314367011/E229D25C91EDF3B620434233FDD31C0FE8E22149/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314367127/0C3C8030CEB1C29C5C22F3B9991AE4CDE0382A46/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI118ÓGUIDc9aceaName Custom_TileTransform‰posXàù aÀposY`+ú?posZàz¿^ÀrotXÀPV‘?rotY uf@rotZ€wr´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameMS CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314538644/1242450F92D8F6724EB65DA123EF325055393A53/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314538748/8B196C138C22DD87383F163529A7D0E9FCCA86D6/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI119ÓGUIDebec24Name Custom_TileTransform‰posXÀaÀposYÜ-ú?posZ (E^ÀrotX€M‘?rotYÀÝ~f@rotZ@r´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameFL CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314550423/FF294CB2842DC51FBCF379A3839DCB1B367528B1/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314550567/622BF564AF92391C336996478BF29898D7901945/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI120ÓGUID27537cName Custom_TileTransform‰posXà aÀposY€a0ú?posZ€u¿]ÀrotX  H‘?rotY›f@rotZÀŽr´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameKY CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314561998/8668ADF8796D4C47DBE3E6F6C19CC36C63AB4FEF/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314562152/8238FA4D5BFD644ECAE0ECA0047A631984F79724/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI121ÊGUIDc6e192Name Custom_TileTransform‰posXਓaÀposY@ÊJú?posZ`ï]ÀrotX@{J‘?rotY`€f@rotZàšr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameDE USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314373892/3FD65B0EF7298B8071624A0CB09B55B9D30894CF/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314374009/473F4882811249131405198F2522FD99BD7F6AF4/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI122ÊGUIDd1ffa8Name Custom_TileTransform‰posXÀ«“aÀposY ÛOú?posZ )\ÀrotX iF‘?rotYÀ€f@rotZ`»r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameNH USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314332179/8E308BEF384293E725E554894C9702726C9CB9C2/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314332301/226BD5600912A6D3F42C6AF2CC8090FC428D8443/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI123ÊGUIDd8916aName Custom_TileTransform‰posX «“aÀposY SMú?posZ`�”\ÀrotX ®G‘?rotY@ €f@rotZ±r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameOH USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314347649/0ADB84C64F14AAD28F11E4463C4C210E77C5F363/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314347770/85E8875893E6616D2FD99737C334E7F42320319D/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI124ÊGUIDf32cc8Name Custom_TileTransform‰posX Ô aÀposYE7ú?posZÀ¡ \ÀrotX ­E‘?rotYàÀf@rotZ`²r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameWI USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314336965/EE6A615A056E911A2907168A7E3624AC409F4E16/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314337136/A127CF174E2E2A306F222DA9AE967FEE9ECC63DE/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI125ÊGUID1707ccName Custom_TileTransform‰posX@�š`ÀposYÀl#ú?posZ  \ÀrotX`~G‘?rotY óf@rotZÀ¢r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameWV USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314398108/0FA54C9C5512F498920C51298DBD64F6E7ED6534/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314398248/1027500D3F18F983C371F2B20985B2CD35B53B61/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI126ÊGUIDa2fb79Name Custom_TileTransform‰posX``(`ÀposYàú?posZ l \ÀrotXŽH‘?rotY d€f@rotZ€Çr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameKY USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314408502/67D7EB078560B4AA9F4528F35D16C3A241C5BA09/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314408636/48DA8B0BA186A2E71FDE8F00F5FE48010353277B/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI127ÓGUID07abd5Name Custom_TileTransform‰posX€‡aÀposY@‘Eú?posZ@¹]ÀrotXÀ¥>‘?rotYà9�f@rotZ`Ps´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameSC CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314542167/B7F19E782F428C2F9CB84C9CD59370D9BC17D7D9/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314542301/BE9D21C8D8B0BB7041CEC4F10D357A0140820E92/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI128ÓGUID4e3762Name Custom_TileTransform‰posXÀ…†aÀposY`èBú?posZ€Æ@^ÀrotX DA‘?rotY`¿f@rotZ }r´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameTN CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314547064/86A619476AB28D9DD31E605B22F3BDD13E7CD03F/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314547205/BA7703559B16D3D77C01B5774A46E2433DDF7CB8/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI129ÊGUIDb2b7b7Name Custom_TileTransform‰posX€«“aÀposY dRú?posZ¿‡[ÀrotX gG‘?rotY  €f@rotZÀ®r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameIA USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314427438/B9401DD7E0E4377797C1DD54B66B588754114E6B/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314427563/2512FE31DD61148E7FB2C51FB1C97926923108FD/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI130ÊGUIDdb4bfaName Custom_TileTransform‰posXÀÑ aÀposYÍ9ú?posZ <‡[ÀrotX`-N‘?rotY€ f@rotZ@Yr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameMO USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314440319/CF8732C88A6888BBEB02A22198EB5729318CADEE/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314440444/EA1CC9805ED45B13F6BC2809A865859FE4EA29EC/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI131ÊGUIDa173a2Name Custom_TileTransform‰posX€˜š`ÀposY@÷%ú?posZ�†[ÀrotX �F‘?rotY`€f@rotZ@·r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameKS USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314449642/E1E01438CF98335CD2887726064467089BACA5DC/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314449868/1A3910FE037934BCF7F6C86BF78523F0A78F9C22/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI132ÌGUID6f5c37Name Custom_TileTransform‰posX`_(`ÀposY ˜ú?posZ@†[ÀrotX ÚG‘?rotY€îf@rotZÀ¡r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?Nickname USMC USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314457647/B3906028DB3E81F77F784B9E3835BEF479030BEA/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314457805/2F5C603F0C53C5B61FBF7B5812E35C61A77B3FC5/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI133ÓGUID6b23f4Name Custom_TileTransform‰posX€…aÀposYÀF@ú?posZ`î¾^ÀrotX€îF‘?rotY €f@rotZ€´r´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameGA CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314527831/A672CD5719E032E9B8FCEC686BCFE7DECC7CB5EB/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314527944/8200387D8B8E7A9E5303932140786089226218A9/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI134ÊGUIDc9451cName Custom_TileTransform‰posX ·ÿaÀposYà—`ú?posZ€,•\ÀrotX àE‘?rotY`€f@rotZ ºr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameMI USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314358646/89843FB03FA053B5CDEB8A5679D9DE942C7B51AA/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314358789/F957AAC1F67C78EBD9924A339C890E6B4C780C5E/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI135ÊGUIDf2d274Name Custom_TileTransform‰posX ·ÿaÀposY ^ú?posZ“]ÀrotX rJ‘?rotY€R€f@rotZ Êr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameNJ USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314371729/8F475F239C8A9EE3C239308191438A2F8C9D2559/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314371866/AA1F0B4582D834A21CA5C6458D8B42D496614AAD/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI136ÊGUID2c2393Name Custom_TileTransform‰posX@ºÿaÀposYà cú?posZàÈ\ÀrotX`!L‘?rotY€®f@rotZtr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameMN USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314328621/BFB06D3AEC65CF2C3CBC0C17FA3C8FF7B1378B58/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314328788/3160DD069CF4E920436F53800E2C0FB79CF0C914/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI137ÊGUID689492Name Custom_TileTransform‰posX ¶ÿaÀposY€¨eú?posZÀdˆ[ÀrotX€TF‘?rotY.€f@rotZ Är´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameMD USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314388966/440C6E9B17CCD3BA3658DCEE64EEEBBFB376625C/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314389089/9C001BEF6A2D7A0740B78B802E64C6E462A2F0A1/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI138ÓGUID5a08f9Name Custom_TileTransform‰posXÀ¡ùaÀposY€Uú?posZ€¢½^ÀrotX ïG‘?rotY €f@rotZ@Ùr´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameAR CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314515037/FE9C7E51F1411E93463A4857374E9C0F3F1C4B6E/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314515155/71CA53916642D9B51F4030A4B18BC2F302CC7A53/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI139ÓGUIDf2eb44Name Custom_TileTransform‰posX`­ùaÀposY`¢Wú?posZ`U7^ÀrotX H‘?rotYà€f@rotZÀ©r´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameLA CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314505521/A16CEB1F25A0336F107A521B27CC8008EF4BDBC8/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314505652/F666AA32DE46429138FF1392A4EE2C347B7BB15B/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI140ÓGUID878bdaName Custom_TileTransform‰posX@�ùaÀposYÀZú?posZ j³]ÀrotX€6K‘?rotY@¬f@rotZ tr´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameMO CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314561406/1A408392551D39C7EBBA38222E12A9D1648EC790/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314561576/2115B4E2A8D56EA940E15AE0E6F5A12DEF76A928/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI141ÐGUID81ba11Name Custom_TileTransform‰posX ¨nbÀposY`Õqú?posZ Ó]ÀrotXàN)‘?rotYÀJ€f@rotZ êr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?Nickname Regulars USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rg€‡˜È?bàËÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314324386/C65A449A83CAA4FA4DE10F62BDC76A2C49E6A06C/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314328241/CEA08D39E747092338BC45B3071A9E88801481AC/ImageScalarð?WidthScaleCustomTile8TypeThickness`o=Ê?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI142ÊGUID21dc42Name Custom_TileTransform‰posX®nbÀposYÀ^tú?posZ x–\ÀrotX€zI‘?rotYâf@rotZ Ÿr´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknamePA USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314376621/74F38B54C221CD9A5B4922909E36793BBDEF5E33/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314376741/9F3CA3FB349487260CB3620A3BFFC739AABAFB81/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI143ÊGUIDf61ebbName Custom_TileTransform‰posXÀªnbÀposY oyú?posZ ¡‰[ÀrotX@¨G‘?rotY€f@rotZ ©r´?scaleX Ž‚Ù?scaleYð?scaleZ Ž‚Ù?NicknameIL USADescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÀ‡˜È?bÌÔÔ?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314416862/DC3755D4CA2C1425A5140A566E1BC59C206E0040/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314417015/9FA208CFA94524283EAF342939F25140A4B60691/ImageScalarð?WidthScaleCustomTile8TypeThickness€˜™É?StackableStretchLuaScriptõ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0.26,0.45,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI144ÓGUID3eee25Name Custom_TileTransform‰posX¢zbÀposYºnú?posZ 3^ÀrotXà4B‘?rotY@—€f@rotZ  s´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameAL CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314523712/C6AFAC0682A4603F78B36F7D5B027E94028F31F9/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314523824/19A3CC450400B4466BAC31E51F2535B4D2E0C85A/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI145ÓGUID24a4f8Name Custom_TileTransform‰posX@—zbÀposY)lú?posZܺ^ÀrotX TB‘?rotYÀk€f@rotZ ér´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameMD CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314505052/D198E008F88477D600792D9E7AE3AB0CBE4C97AF/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314505183/5986EE87E1508372B8772BAAFBADE40782A4FE26/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI146ÓGUID7e0efdName Custom_TileTransform‰posXÀ’zbÀposYÀ>qú?posZàä¬]ÀrotX`ÙF‘?rotY †€f@rotZ@úr´?scaleX Î�Ù?scaleYð?scaleZ Î�Ù?NicknameVA CSADescriptionGMNotesAltLookAngle&xyzColorDiffuse&r`ZZê?g@;;ë?b`[[ë?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImagecImageURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314531137/89076786CD8408FA9A53DB0629EA309CDA748EEF/ImageSecondaryURLfhttp://cloud-3.steamusercontent.com/ugc/1814410520314531265/84F13CE7838DED51E0BBA9D028B97053ACDE627C/ImageScalarð?WidthScaleCustomTile8TypeThickness ÂõÈ?StackableStretchLuaScriptþ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- text1Color = 'Black' --what color do you want the Corps text to be? text2Color = 'Black' --what color do you want the Division text to be? text3Color = 'White' --what color do you want the Brigade text to be? --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function nullFunction() --does nothing. Exists merely as a background for counters end function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { text1=text1, text2=text2, text3=text3, } --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table text1 = loaded_data.text1 text2 = loaded_data.text2 text3 = loaded_data.text3 end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front displays ----- ---------------------------------- --1st Text Box front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = text1, position = {-2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text1Color} self.createButton(data) --2nd Text Box front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = text2, position = {2.5, 0.2, -0.71}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text2Color} self.createButton(data) --3rd Text Box front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = text3, position = {0, 0.2, 0.75}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 200, font_color = text3Color} self.createButton(data) --- adjusts the 1st Text input box --- self.createInput({ value = text1, input_function = "editLine1", label = "Corps", function_owner = self, alignment = 3, position = {-1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 2nd Text input box --- self.createInput({ value = text2, input_function = "editLine2", label = "Division", function_owner = self, alignment = 3, position = {0, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) --- adjusts the 3rd Text input box --- self.createInput({ value = text3, input_function = "editLine3", label = "Brigade", function_owner = self, alignment = 3, position = {1, 0, 0}, rotation = {0, 90, 180}, width = 550, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0.63,0.69,0.66,1}, tooltip = "Edit" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editLine1(_obj, _string, value) text1 = value, self.editButton({index=0, label=text1}) end function editLine2(_obj, _string, value) text2 = value, self.editButton({index=1, label=text2}) end function editLine3(_obj, _string, value) text3 = value, self.editButton({index=2, label=text3}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ LuaScriptState#{"text1":"","text2":"","text3":""}XmlUI147*GUIDc0b3eaName Custom_ModelTransform‰posX@ç_ÀposYà ìù?posZàЪ`ÀrotX ËJ‘?rotY`¡€f@rotZ²€´?scaleXÀ53Ó?scaleYÀ53Ó?scaleZÀ53Ó?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomMeshßMeshURLehttp://cloud-3.steamusercontent.com/ugc/782997961063801352/346CD39EADE6A2213C6A9F5D20ABA99AB3184E0B/DiffuseURLfhttp://cloud-3.steamusercontent.com/ugc/1764824360734965214/4AB63C4743ABB343B0FC36C56C7CEE8B5D2D3CFD/NormalURLColliderURLConvexMaterialIndexTypeIndexCustomShader‰SpecularColor&rð?gð?bð?SpecularIntensitySpecularSharpness@FresnelStrengthCastShadowsLuaScriptLuaScriptStateXmlUI148IGUID9f86c1Name Custom_TileTransform‰posX ÁScÀposY@G|ú?posZõµaÀrotX€òF‘?rotY þf@rotZ`Èr´?scaleX€“È"@scaleYð?scaleZ€“È"@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072294667/B83F98CBD465A6A5681ECA75E9E58C09AC4177BF/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThickness ™™É?StackableStretchLuaScriptLuaScriptStateXmlUI149?GUIDce85f2Name Tileset_RockTransform‰posXÀý¨]ÀposY`2b@posZ ·`ÀrotX€ºv@rotY`ÎÞi?rotZ`¸~v@scaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r --í?g --í?b --í?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsLuaScriptLuaScriptStateXmlUI150?GUIDbabb43Name Tileset_TreeTransform‰posXÀ+—]ÀposY ØE @posZ€OÜ`ÀrotXàºv@rotYÀ¢ºy?rotZ@¸~v@scaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsLuaScriptLuaScriptStateXmlUI151þGUID179a4bNameDie_6Transform‰posXßó]ÀposY™ ÿ?posZ@83`ÀrotXÀ9áp@rotY`O°é?rotZscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsMaterialIndexLuaScriptLuaScriptStateXmlUIRotationValues£0BValue1Rotation&x€VÀyz1BValue2Rotation&xyz2BValue3Rotation&xyz€VÀ3BValue4Rotation&xyz€V@4BValue5Rotation&xyz€fÀ5BValue6Rotation&x€V@yz152tGUIDcd606dNameDie_4Transform‰posX W�^ÀposYÊeý?posZ@Õ-`ÀrotX Dáp@rotY`dœé?rotZscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r€lÃ?gà†SÓ?bŽ\Ü?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsMaterialIndexLuaScriptLuaScriptStateXmlUIRotationValues0BValue1Rotation&x2@y nÀz^À1BValue2Rotation&x€VÀyNÀz2BValue3Rotation&x2@y@^Àz3BValue4Rotation&x2@yznÀ153¢GUIDf4b066NameDie_12Transform‰posXàè^ÀposY@¹@posZ@V.`ÀrotX Dáp@rotY@¢¤é?rotZscaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r ê?g\Pà?b q¾?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsMaterialIndexLuaScriptLuaScriptStateXmlUIRotationValuesF0BValue1Rotation&x;@yzR@1BValue2Rotation&x;@yzb@2BValue3Rotation&x;@yzRÀ3BValue4Rotation&x;Ày€f@z€f@4BValue5Rotation&x€V@y€f@z5BValue6Rotation&x;@yzbÀ6BValue7Rotation&x;Ày€f@zB@7BValue8Rotation&x€VÀy€f@z8BValue9Rotation&x;@yz9CValue10Rotation&x;Ày€f@z[@10CValue11Rotation&x;Ày[@zBÀ11CValue12Rotation&x;ÀyB@z[À154GUIDac87c2NameDie_6_RoundedTransform‰posX Šø]ÀposYà¹_ÿ?posZà‚`ÀrotX ºv@rotYà«Ît¿rotZ ¸~v@scaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rgÛ?bàßßï?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsMaterialIndexLuaScriptLuaScriptStateXmlUIRotationValues£0BValue1Rotation&xyz1BValue2Rotation&x€V@yz2BValue3Rotation&xyz€V@3BValue4Rotation&xyz€VÀ4BValue5Rotation&x€VÀyz5BValue6Rotation&xyz€fÀ155GUIDdf9009NameDie_6_RoundedTransform‰posX`+ú]ÀposYÀ‚aÿ?posZ@º_ÀrotX ºv@rotY`{N@¿rotZ ¸~v@scaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&ràßßï?gbLayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsMaterialIndexLuaScriptLuaScriptStateXmlUIRotationValues£0BValue1Rotation&xyz1BValue2Rotation&x€V@yz2BValue3Rotation&xyz€V@3BValue4Rotation&xyz€VÀ4BValue5Rotation&x€VÀyz5BValue6Rotation&xyz€fÀ156)GUID7a5a2bNameCustom_AssetbundleTransform‰posX€µÙ_ÀposY Õ‹û?posZà£Ò_ÀrotX ºv@rotYÀ˜v@rotZ ¸~v@scaleXð?scaleYð?scaleZð?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÑAssetbundleURL`https://www.dropbox.com/s/dcflzsa87zlj6do/tomos%20flame%20effect%20with%20collider.unity3d?dl=1AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI157@GUID7c6147NameCustom_AssetbundleTransform‰posX l YÀposY@>»ü?posZ  ï[ÀrotXÀ¡v@rotYàv:v@rotZ€½~v@scaleXð?scaleYð?scaleZð?NicknameMagic Flame WhiteDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundle×AssetbundleURLfhttp://cloud-3.steamusercontent.com/ugc/1697279045394202021/6E8EBE0510E96850480FB787A8606F6145B24230/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI1585GUID6f0a2cNameCustom_AssetbundleTransform‰posX •*YÀposYÀ»lû?posZà;Ù[ÀrotX€çv@rotY@.~h@rotZ€˜µ?scaleXÀÐ?scaleYÀÐ?scaleZÀÐ?NicknameSparksDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundle×AssetbundleURLfhttp://cloud-3.steamusercontent.com/ugc/1765942949280162807/079837F7F8F156CF5B79A4DC554973210CD4CBA9/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI159.GUID75e7bcNameCustom_AssetbundleTransform‰posX ˜ê[ÀposY ckú?posZ@Þ [ÀrotXÀ¸~v@rotY@Äßp@rotZ ¿C‘?scaleX`™™õ?scaleY`™™õ?scaleZ`™™õ?NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundleÖAssetbundleURLehttp://cloud-3.steamusercontent.com/ugc/795360302134688407/B89A13D24198F5D661BB3327FB2A516BD4B00EE8/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI160@GUID941705NameCustom_AssetbundleTransform‰posX ã^^ÀposYà÷³ú?posZà*[ÀrotX€hv@rotYÀ£�u@rotZàÕ~v@scaleXð?scaleYð?scaleZð?NicknameTerrain fog_smallDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomAssetbundle×AssetbundleURLfhttp://cloud-3.steamusercontent.com/ugc/1772698858474331076/F61DB8155A9F53B4AE89CD6FFF758F1B9EA9E0E5/AssetbundleSecondaryURLMaterialIndexTypeIndexLoopingEffectIndexLuaScriptLuaScriptStateXmlUI161QGUID1e1184Name Custom_TileTransform‰posX`{Ÿ;@posYÀ+\ù?posZ€RkB@rotXØv@rotYàVf@rotZÀ/Ž´?scaleX 4¨À?scaleYð?scaleZ 4¨À?Nickname GarrisonDescriptionGMNotesAltLookAngle&xyzColorDiffuse&r¼ÒÒ?g`AXØ?b@::ê?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageþImageURLfhttp://cloud-3.steamusercontent.com/ugc/1810985456405351019/0A30994D3EAB2D64A91292F7C753799D0E22D44C/ImageSecondaryURLImageScalarð?WidthScaleCustomTile8TypeThicknessÄõÈ?StackableStretchLuaScriptLuaScriptStateXmlUI162ÅGUID132a1aName Custom_TokenTransform‰posX è4>@posY@k�@posZ`Kü=@rotX€Â~v@rotY€…f@rotZÀ ÎÎ?scaleX É Ù?scaleYð?scaleZ É Ù?NicknameInfantry CorpsDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826730/754A93F4C07F86F7AEEA2DA904B821E89F4FD46A/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript.--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {0.74, 0.13, -1.05}, rotation = {0, 13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 130, font_color = {1, 0, 0, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "CORPS", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.8, -0.13, -1}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState-{"corps":"5","div":"V Corps","name":"Banks"}XmlUI163:GUID34c0baName Custom_TokenTransform‰posX ´"@posY kÆû?posZàØ5@rotXà×v@rotY@€f@rotZÂ~´?scaleX@íüÔ?scaleYð?scaleZ@íüÔ?Nickname InfantryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826424/915046947AC7244366EE7D40FB8BA8E7351B8B13/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState3{"corps":"V","div":"Valley Dept","name":"Jackson"}XmlUI164:GUID4f313cName Custom_TokenTransform‰posXàä@posY dü?posZ *šFÀrotX@Øv@rotYÿf@rotZÀXw´?scaleX@íüÔ?scaleYð?scaleZ@íüÔ?Nickname InfantryDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826424/915046947AC7244366EE7D40FB8BA8E7351B8B13/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript£--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end --------------------------------------------------------------------------LuaScriptState3{"corps":"V","div":"Ewell's Div\n","name":"Ewell"}XmlUI165g:GUID9b14b8Name Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZ@ìs´?scaleX@9@scaleYð?scaleZ@9@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495668276370995/D738E296EF3C6952738E8D80BF45043D53BDF573/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUIAttachedVectorLines0¥points3W0&x ,³Æ¿yR¸®?z@f×п1&x ,³Æ¿yR¸®?z@f×пcolor&rð?g`ZZê?b ¨?thickness ™™™?1¥points3W0&xwæÆ?yN¸®?z€ÆIÜ¿1&xwæÆ?yN¸®?z€ÆIÜ¿color&rð?g`ZZê?b ¨?thickness ™™™?2¥points3W0&x`üÉÍ¿yN¸®?z`×€í¿1&x`üÉÍ¿yN¸®?z`×€í¿color&rð?g`ZZê?b ¨?thickness ™™™?3¥points3W0&x@€–â¿yN¸®?z€¾Kë¿1&x@€–â¿yN¸®?z€¾Kë¿color&rð?g`ZZê?b ¨?thickness ™™™?4¥points3W0&xJñ¿yL¸®?z€”àó¿1&xJñ¿yL¸®?z€”àó¿color&rð?g`ZZê?b ¨?thickness ™™™?5¥points3W0&xà1„ê¿yP¸®?z๼ò¿1&xà1„ê¿yP¸®?z๼ò¿color&rð?g`ZZê?b ¨?thickness ™™™?6¥points3W0&x Àœå¿yH¸®?zÀm“ù¿1&x Àœå¿yH¸®?zÀm“ù¿color&rð?g`ZZê?b ¨?thickness ™™™?7¥points3W0&x:ì?yH¸®?z€iÎÀ1&x:ì?yH¸®?z€iÎÀcolor&rð?g`ZZê?b ¨?thickness ™™™?8¥points3W0&x€�Äô?yP¸®?z äìã¿1&x€�Äô?yP¸®?z äìã¿color&rð?g`ZZê?b ¨?thickness ™™™?9¥points3W0&x`Ï»Ú?yÀQ¸®?z@¿1&x`Ï»Ú?yÀQ¸®?z@¿color&rð?g`ZZê?b ¨?thickness ™™™?10¥points3W0&x@þÜä?yU¸®?z õÝ?1&x@þÜä?yU¸®?z õÝ?color&rð?g`ZZê?b ¨?thickness ™™™?11¥points3W0&x€X§Ñ?yT¸®?zdIØ?1&x€X§Ñ?yT¸®?zdIØ?color&rð?g`ZZê?b ¨?thickness ™™™?12¥points3W0&xà�ñ?yT¸®?z@˜í?1&xà�ñ?yT¸®?z@˜í?color&rð?g`ZZê?b ¨?thickness ™™™?13¥points3W0&x€> ù?yX¸®?zBgú?1&x€> ù?yX¸®?zBgú?color&rð?g`ZZê?b ¨?thickness ™™™?14¥points3W0&x@_ó?yX¸®?z`ô�ý?1&x@_ó?yX¸®?z`ô�ý?color&rð?g`ZZê?b ¨?thickness ™™™?15¥points3W0&xàÀqÝ?y\¸®?zÌ¿ÿ?1&xàÀqÝ?y\¸®?zÌ¿ÿ?color&rð?g`ZZê?b ¨?thickness ™™™?16¥points3W0&x ¸¶Ã¿y\¸®?z€ Àû?1&x ¸¶Ã¿y\¸®?z€ Àû?color&rð?g`ZZê?b ¨?thickness ™™™?17¥points3W0&x@ ã?yX¸®?z "Ùð?1&x@ ã?yX¸®?z "Ùð?color&rð?g`ZZê?b ¨?thickness ™™™?18¥points3W0&x`^k�?yX¸®?zÀ· ò?1&x`^k�?yX¸®?zÀ· ò?color&rð?g`ZZê?b ¨?thickness ™™™?19¥points3W0&x@~Ìé¿yQ¸®?z€êjÄ¿1&x@~Ìé¿yQ¸®?z€êjÄ¿color&rð?g`ZZê?b ¨?thickness ™™™?20¥points3W0&x Íóî¿yL¸®?z€š:ø¿1&x Íóî¿yL¸®?z€š:ø¿color&rð?g`ZZê?b ¨?thickness ™™™?21¥points3W0&x€t]À¿yP¸®?z@Û¡æ¿1&x€t]À¿yP¸®?z@Û¡æ¿color&rð?g`ZZê?b ¨?thickness ™™™?22¥points3W0&x€8g¿yO¸®?z �åá¿1&x€8g¿yO¸®?z �åá¿color&rð?g`ZZê?b ¨?thickness ™™™?23¥points3W0&x € Å¿yQ¸®?zÀ)GÔ?1&x € Å¿yQ¸®?zÀ)GÔ?color&rð?g`ZZê?b ¨?thickness ™™™?24¥points3W0&xàÚ²î?yX¸®?z€Pþó?1&xàÚ²î?yX¸®?z€Pþó?color&rð?g`ZZê?b ¨?thickness ™™™?25¥points3W0&x`qô?yX¸®?zxò?1&x`qô?yX¸®?zxò?color&rð?g`ZZê?b ¨?thickness ™™™?26¥points3W0&xõ™¾?y Q¸®?zÀ «¦?1&xõ™¾?y Q¸®?zÀ «¦?color&rð?g`ZZê?b ¨?thickness ™™™?27¥points3W0&x€%GÞ¿yN¸®?z@:2å¿1&x€%GÞ¿yN¸®?z@:2å¿color&rð?g`ZZê?b ¨?thickness ™™™?28¥points3W0&xÀÞeÞ¿yL¸®?z /(õ¿1&xÀÞeÞ¿yL¸®?z /(õ¿color&rð?g`ZZê?b ¨?thickness ™™™?29¥points3W0&x ½¢ñ?yT¸®?z ëÁÛ?1&x ½¢ñ?yT¸®?z ëÁÛ?color&rð?g`ZZê?b ¨?thickness ™™™?30¥points3W0&x`��ñ?yQ¸®?z  ,Ð?1&x`��ñ?yQ¸®?z  ,Ð?color&rð?g`ZZê?b ¨?thickness ™™™?31¥points3W0&x Víï?yP¸®?zÀ¤Ñ¿1&x Víï?yP¸®?zÀ¤Ñ¿color&rð?g`ZZê?b ¨?thickness ™™™?StatesÑ!4^GUIDbb7d1aName Custom_TokenTransform‰posXÀ‘I @posY ‘5ù?posZ`q'ø¿rotX`Øv@rotYÀ{€f@rotZÀæs´?scaleX`IB@scaleYð?scaleZ`IB@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072373747/B77767440ACF14E7BD4B3D830EE62B34674DCF71/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI5^GUIDf070f9Name Custom_TokenTransform‰posXÀ‘I @posY ‘5ù?posZ`q'ø¿rotX`Øv@rotYÀ{€f@rotZÀæs´?scaleX`IB@scaleYð?scaleZ`IB@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072382800/F7B342C3B6AA07A1BF08A274990D5C731F81653C/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI6^GUID270154Name Custom_TokenTransform‰posXÀ‘I @posY ‘5ù?posZ`q'ø¿rotX`Øv@rotYÀ{€f@rotZÀæs´?scaleX`IB@scaleYð?scaleZ`IB@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072953399/869FA7B97D1F64D2197FC85B99D7EF7159B72C45/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI1^GUID303aa1Name Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZçs´?scaleX kBO@scaleYð?scaleZ kBO@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072310847/C212E55CDCCEECC61334552819BB04B2FA807258/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI11^GUID964e3fName Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZ€çs´?scaleX kBO@scaleYð?scaleZ kBO@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579074385693/348ED76C394BD417414AE7F47E456E7BD0D33B2E/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI10^GUID58cb04Name Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZÀçs´?scaleX kBO@scaleYð?scaleZ kBO@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579074328017/7A534333AD688F758625814C63B67D314F1EBF2A/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI9^GUIDdb2f7aName Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZès´?scaleX kBO@scaleYð?scaleZ kBO@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579074323998/DDBB8161CE9F0BDC10E448D385FE035793528E01/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI8^GUID4f6137Name Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZ@ès´?scaleX kBO@scaleYð?scaleZ kBO@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072987307/71D585305A5E679585949A899730C8834E7A0131/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI2^GUIDb23801Name Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZ@és´?scaleX^ùF@scaleYð?scaleZ^ùF@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072337591/C9511C84EE5598B82F689B9C3FBA4048107A46C0/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI3^GUID87cbc1Name Custom_TokenTransform‰posX˜I @posYà—5ù?posZÀh'ø¿rotX`Øv@rotYà{€f@rotZês´?scaleX`IB@scaleYð?scaleZ`IB@NicknameDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/2038495579072357431/C81C7192F52E9291BAEE27606F32970D1F04794C/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness ™™¹?MergeDistancePixels@StandUpStackableLuaScriptLuaScriptStateXmlUI166ÈGUIDac436cName Custom_TokenTransform‰posXÀñ§=ÀposY€¸¨ü?posZ{u,@rotX€Øv@rotYà€f@rotZàäu´?scaleX É Ù?scaleYð?scaleZ É Ù?NicknameInfantry CorpsDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826730/754A93F4C07F86F7AEEA2DA904B821E89F4FD46A/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript.--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {0.74, 0.13, -1.05}, rotation = {0, 13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 130, font_color = {1, 0, 0, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "CORPS", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.8, -0.13, -1}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState0{"corps":"M","div":"Mtn Dpt","name":"Frémont"}XmlUI167ÒGUIDfc2c3bName Custom_TokenTransform‰posX`ò$>@posY Ä0ÿ?posZ Rú=@rotX �~v@rotY€–„f@rotZ`õ’Í?scaleX É Ù?scaleYð?scaleZ É Ù?NicknameBlue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827368/A6AE3DE0353F8421A3E98E600B95399A464E6771/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState5{"corps":"5","div":"1st Div","name":"A.S. Williams"}XmlUI168ÒGUIDb54395Name Custom_TokenTransform‰posX@­>@posY`Hû?posZþð=@rotXàZC“?rotY`,f@rotZ`ä´?scaleX É Ù?scaleYð?scaleZ É Ù?NicknameWhite Blue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827550/669F9192624150E1E4BFFBADF6A8DD74300507AC/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {0, 0, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState/{"corps":"5","div":"2nd Div","name":"Shields"}XmlUI169€GUIDe9f4f0Name Custom_TokenTransform‰posXÀX;>@posYÀD‚@posZ`» >@rotX¥~v@rotY ßf@rotZÀÏÂÐ?scaleXÀm;Û?scaleYð?scaleZÀm;Û?NicknameCavalry DivisionDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933826623/9AB0BB57F93682136E6549F76F0BCD90849CEB79/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScriptè--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.2, 0.13, -0.15}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Unit front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.15, 0.13, 0.65}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 400, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=1, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState,{"corps":"Cav Cmd","div":"","name":"Hatch"}XmlUI170ÔGUID5afe63Name Custom_TokenTransform‰posX ¨]ÀposY€�ü?posZ@Œ¯E@rotX ×v@rotY€ÿf@rotZ@ep´?scaleX É Ù?scaleYð?scaleZ É Ù?NicknameBlue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827368/A6AE3DE0353F8421A3E98E600B95399A464E6771/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState7{"corps":"Mtn","div":"Rail District\n","name":"Kelly"}XmlUI171ÊGUID346af5Name Custom_TokenTransform‰posX@Ì+3ÀposYÀâRü?posZuâI@rotX`Øv@rotY@ÿf@rotZ 6u´?scaleX É Ù?scaleYð?scaleZ É Ù?NicknameBlue Div FlagDescriptionGMNotesAltLookAngle&xyzColorDiffuse&rð?gð?bð?LayoutGroupSortIndexValueLockedGridSnapIgnoreFoWMeasureMovementDragSelectableAutoraiseStickyTooltipGridProjectionHideWhenFaceDownHandsCustomImageImageURLfhttp://cloud-3.steamusercontent.com/ugc/1745727612933827368/A6AE3DE0353F8421A3E98E600B95399A464E6771/ImageSecondaryURLImageScalarð?WidthScaleCustomTokenKThickness@*\Ï?MergeDistancePixels.@StandUpStackableLuaScript4--------------------------------------------------------------------------- --------------------------------------------------------------------------- ---initial values---ignore these--- name = "Name" div = 'Division' corps = 'Corps' function nullFunction() --does nothing. Exists merely as a background for counters end --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---don't mess with this section--- --------------------------------------------------------------------------- function onSave() --We make a table of data we want to save. WE CAN ONLY SAVE 1 TABLE. local data_to_save = { name=name, div=div, corps=corps,} --We use this command to convert the table into a string saved_data = JSON.encode(data_to_save) --And this inserts the string into the save information for this script. return saved_data --Data is now saved. end --Runs when the map is first loaded function onload(saved_data) --First we check if there was information saved in this script yet if saved_data ~= "" then --If there is save data, first we convert the string back to a table local loaded_data = JSON.decode(saved_data) --Then we pull out data out of the table corps = loaded_data.corps div = loaded_data.div name = loaded_data.name end --function onLoad() CreateButtons() end --------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- function CreateButtons() ---------------------------------- ----- front/counter displays ----- ---------------------------------- --Unit Name front display local data = {click_function = "nullFunction", index = 0, function_owner = self, label = name, position = {-0.07, 0.13, -0.03}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 150, font_color = {0, 0, 0, 1}} self.createButton(data) --Division front display local data = {click_function = "nullFunction", index = 1, function_owner = self, label = div, position = {-0.1, 0.13, 0.75}, scale = {1.2, 1.2, 1.2}, width = 0, height = 0, font_size = 300, font_color = {1, 1, 1, 1}} self.createButton(data) --Corps front display local data = {click_function = "nullFunction", index = 2, function_owner = self, label = corps, position = {-1.1, 0.13, -0.9}, rotation = {0, -13, 0}, scale = {1, 1, 1}, width = 0, height = 0, font_size = 250, font_color = {1, 1, 1, 1}} self.createButton(data) --- adjusts the Commander Name input box --- self.createInput({ value = name, input_function = "editName", label = "Commander", function_owner = self, alignment = 3, position = {0.1, -0.13, -0.06}, rotation = {0, 0, 180}, width = 600, height = 150, font_size = 100, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Name" }) --- adjusts the Division input box --- self.createInput({ value = div, input_function = "editDiv", label = "Division", function_owner = self, alignment = 3, position = {0.1, -0.13, 0.75}, rotation = {0, 0, 180}, width = 420, height = 200, font_size = 115, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Division" }) --- adjusts the Corps input box --- self.createInput({ value = corps, input_function = "editCorps", label = "Corps", function_owner = self, alignment = 3, position = {-1.1, -0.13, -0.9}, rotation = {0, 0, 180}, width = 225, height = 110, font_size = 85, scale={x=1.5, y=1.5, z=1.5}, font_color= {1,1,1,1}, color = {0,0,0,1}, tooltip = "Edit Corps" }) end ------------------------------------ --- don't mess with this section --- ------------------------------------ function editName(_obj, _string, value) name = value, self.editButton({index=0, label=name}) end function editDiv(_obj, _string, value) div = value, self.editButton({index=1, label=div}) end function editCorps(_obj, _string, value) corps = value, self.editButton({index=2, label=corps}) end ------------------------------------------------------------------------------ ------------------------------------------------------------------------------LuaScriptState-{"corps":"Mtn","div":"DoC","name":"Schenck"}XmlUI