Configuration
Every option in STG Tower Blocks shared/config.lua, from players per table and tower height to pull feel, placement tolerance and the physics that decide when the tower falls.
All settings live in stg-towerblocks/shared/config.lua. The file stays editable in the escrow version. Restart the resource after a change.
Language
Config.Locale = 'en'Available: en, de, fr, es, pt, it, nl, pl, sv, fi, no, ar, he, jp, zh. To change a text, edit the matching file in stg-towerblocks/locales/. The ui part of each file holds the on-screen labels and key hints.
General
Config.MaxPlayers = 4
Config.Target = 'auto'
Config.Layers = 18Prop
Type
Play feel
How grabbing, pulling and placing blocks responds. Touch these if the game feels too easy or too fiddly.
Config.Play = {
HoverRadius = 0.045,
PullSpeed = 12.0,
OutDist = 0.55,
MaxPullSpeed = 4.0,
PlayDist = 4.5,
PlaceRadius = 1.25,
PlaceBelow = 1.2,
PlaceAbove = 3.0,
LiftTrigger = 1.2,
}Prop
Type
Physics
When the tower wobbles, when blocks count as toppled and when the game is over.
Config.Physics = {
Grace = 500,
SettleMs = 1400,
CalmVel = 0.06,
ContactLimit = 0.5,
ContactGain = 1.8,
ContactDecay = 0.6,
HitHard = 2.5,
ToppleTilt = 20.0,
ToppleMove = 0.22,
CollapseCount = 2,
}Prop
Type
Pressure also matters when a block comes out: the more pressure built up during the pull, and the higher the score, the bigger the chance the tower wobbles or falls. A tower always falls when a layer with blocks above it is left with no blocks, or with a single block that is not the middle one.
Raising CollapseCount, ToppleTilt or ContactLimit makes the tower much more forgiving. These values work together, so change one at a time and test.
Notifications
Config.Functions = {
CustomNotify = false,
Notify = function(notifyType, message)
lib.notify({
type = notifyType,
description = message
})
end,
}- Notify: replace the body to use your own notification system.
notifyTypeissuccessorerror. - CustomNotify: not read by the script. Edit the
Notifybody instead.
Still having trouble?
Open a ticket on our Discord. Our team answers around 15 hours a day.