-- THIS FILE IS NOT BEING USED -- It's just here to keep QA from crashing! -- Please remove this when it is safe to do so. Require( "dice/dice.ts" ) return DiceAconf({ -- resultHeight is how far above the ground the BOTTOM of results are resultHeight = 1.2, -- displayWidth is how wide the results display is displayWidth = 3.0, -- aspect is the ratio of height to width of each die frame aspect = 1.0, -- frames is how many die images are across the width of the material frames = 4, -- strips is how many rows of frames are across the height of the material strips = 2, -- Total number of die images useable is frames * strips. -- This is very similar to how material animation is specified, but -- these frames/strips are separate (yes, with enough texture space, -- you could create texture animated dice, with frames/strips inside -- each animation frame!) -- history is 1-3, depending on how many previous rolls are displayed along the bottom -- when the "show history" option is turned on. history = 3, -- unique is 1 if no two dice are allowed to match (i e, deck of cards style) unique = 0, -- custom settings actionName = "rolled", actionTagAction = "roll", -- the model and its materials object = { productName = "Dice", appearance = { modelName = "pillar.model", modelSettings = { [ "pillar side jinx" ] = { colormap = "dice/pillar_side.jpg", }, [ "edging jinx" ] = { colormap = "dice/pillar_edging.jpg", }, [ "topper jinx" ] = { colormap = "dice/topper_dice.jpg", }, }, }, }, -- the material defines the texture used to draw the die results material = { name = "Dice", colormap = "dice/stone_dice.jpg", opacitymap = "dice/stonediceyy_trans.png", lit = 0, twosided = 0, drawmode = 2, -- 2: alpha blend, 3: filter, 4: cutout, 5: additive, 6: premultiplied }, -- the dice actually define each die (you can have a max of five) dice = { { -- name is optional name = "First", -- slots are optional; default, all slots are used; these map to -- frames across and strips down the material. firstSlot = 1, -- Very important: -- firstSlot always starts with 1!! 0th slot is the cleared state slot. -- (the "?" texture that shows up when you clear the history) -- numSlots determines how many values this die can take! -- the maximum allowed for numSlots is 62 numSlots = 6, -- color is optional, and will multiply in with material -- red die -- color = 0xffff6060, -- rollSlot is a frame that will be shown while rolling. -- if not set, a random die frame will be shown. -- if set, it cannot have the value 0 (that's the same as un-set) -- rollSlot = 6, }, { name = "Second", firstSlot = 1, numSlots = 6, -- blue die -- color = 0xff6060ff, -- rollSlot = 6 }, }, })