This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//BrickifyTerrain | |
//Turns map terrain into a 4x4 cubescape (I couldn't think of a better name) | |
%cubes = forceRequiredAddOn("Brick_Large_Cubes"); | |
if(%cubes == $Error::AddOn_NotFound) | |
return; | |
$dbSp = 1; | |
$factor = 3; | |
$factor2 = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//BrickifyTerrain | |
//Turns map terrain into a 4x4 cubescape (I couldn't think of a better name) | |
%cubes = forceRequiredAddOn("Brick_Large_Cubes"); | |
if(%cubes == $Error::AddOn_NotFound) | |
return; | |
$dbSelect = brick4xCubeData; // For use in Brickadia, Replace the UI name in resulting BLS files with with 4x4x200f | |
$dbSp = 2; | |
$factor = 3; | |
$factor2 = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//BrickifyTerrain | |
//Turns map terrain into a 4x4 cubescape (I couldn't think of a better name) | |
%cubes = forceRequiredAddOn("Brick_Large_Cubes"); | |
if(%cubes == $Error::AddOn_NotFound) | |
return; | |
$dbSelect = brick16xCubeData; // For use in Brickadia, Replace the UI name in resulting BLS files with with 4x4x200f | |
$dbSp = 8; | |
$factor = 3; | |
$factor2 = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function scroll(%text) | |
{ | |
%charcount = getCharCount(%text); | |
for (%i; %i < %charcount; %i++) | |
{ | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Server::PMDelay = 3; | |
$Server::PMColor = 4; | |
function serverCmdPM(%client, %target, %a, %b, %c, %d, %e, %f, %g, %h, %i, %j, %k, %l, %m, %n, %o, %p, %q, %r, %s, %t, %u, %v, %w, %x, %y, %z, %ab, %ac, %ad) | |
{ | |
if ($pmBans_[%client.getBL_ID()]) | |
{ | |
messageClient(%client, '', "You are banned from sending PMs."); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
//curved world feature/effect; https://forum.blockland.us/index.php?topic=77967.msg7787623#msg7787623 | |
bool curveTheWorld = true; | |
bool curveDirectionDown = true; | |
//adjust the effect | |
float curvePower = 2.0f; //exponential curve | |
float curveScale = 0.02f; //'fisheye factor', note that high values make lights higher than their real position |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
// Originally Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes a Contact-Hardening/Percentage-Closer/Perceptually-Correct Soft Shadows (CHSS/PCSS) implementation, and other many configurable variables | |
// 10th version | |
// Configuration: For the adventurous! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
// Originally Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes an ultra graphics version, a Percentage-Closer/Perceptually-Correct Soft Shadows (PCSS) implementation, and other configuration variables | |
// 8th version | |
// Configuration: For the adventurous! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 120 | |
#extension GL_EXT_texture_array : require | |
#extension GL_EXT_texture_array : enable | |
//#extension GL_EXT_gpu_shader4 : require | |
//#extension GL_EXT_gpu_shader4 : enable | |
// Port's Poisson Disc (Optimized) Soft Shadow Shader (2015), modified by Stealth Commander/QuadStorm | |
// Includes an ultra graphics version, a Percentage-Closer Soft Shadows (PCSS) implementation, and other configuration variables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// potentially useful guis list | |
// PlayGui_ShapeNameHud - shape names | |
// ISSUES (old) | |
// changing text size on options is broken - no longer the case? | |
$fontChange::primaryFont = "Segoe UI"; | |
$fontChange::fontSizeScale = 1; | |
function fontToggle(%bool) |