16
Off Topic / So I just came across this gem.
« on: March 19, 2017, 01:13:38 PM »
A Lada Niva. Commie cars are indestructible and judging by the kms it has, it's probably from 1970.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
it hurt my feelingsForumer's feelings were hospitalized after being shanked by a forumer. Officials investigate.
do not make a thread like this ever again
function getMap() {
$Map[0] = 0;
for(%i = 0; %i < BrickGroup_27690.getCount(); %i = %i + 1) {
%brick = BrickGroup_27690.getObject(%i);
if(%brick.getDatablock().uiName $= "1x1f") {
$Map[0] = $Map[0] + 1;
$Map[$Map[0],0] = %brick.colorID;
%x = getWord(%brick.getPosition(),0);
%y = getWord(%brick.getPosition(),1);
%x = (%x + 173.25)*16;
%y = (%y - 110.25)*16;
$Map[$Map[0],1] = %x SPC %y SPC "0.1";
}
}
}
function makeMap() {
for(%i = 0; %i < $Map[0]; %i = %i + 1) {
%newbrick = new fxDTSBrick() {
dataBlock = brick16x16fData;
scale = "1 1 1";
client = 0;
stackBL_ID = 0;
angleID = 0;
colorID = $Map[%i,0];
colorFXID = 0;
printID = 0;
shapeFXID = "0";
rotation = "1 0 0 0";
};
%newbrick.setTransform($Map[%i,1] SPC %height);
%newbrick.setTrusted(1);
%newbrick.plant();
BrickGroup_27690.add(%newbrick);
}
}
function getMap() {
$Map[0] = 0;
for(%i = 0; %i < BrickGroup_27690.getCount(); %i = %i + 1) {
%brick = BrickGroup_27690.getObject(%i);
if(%brick.getDatablock().uiName $= "1x1f") {
$Map[0] = $Map[0] + 1;
$Map[$Map[0],0] = %brick.colorID;
%x = getWord(%brick.getPosition(),0);
%y = getWord(%brick.getPosition(),1);
%x = (%x + 173.25)*8;
%y = (%y - 110.25)*8;
$Map[$Map[0],1] = %x SPC %y SPC "0.1";
}
}
}
function makeMap() {
for(%i = 0; %i < $Map[0]; %i = %i + 1) {
%newbrick = new fxDTSBrick() {
dataBlock = brick8x8fData;
scale = "1 1 1";
client = 0;
stackBL_ID = 0;
angleID = 0;
colorID = $Map[%i,0];
colorFXID = 0;
printID = 0;
shapeFXID = "0";
rotation = "1 0 0 0";
};
%newbrick.setTransform($Map[%i,1] SPC %height);
%newbrick.setTrusted(1);
%newbrick.plant();
BrickGroup_27690.add(%newbrick);
}
}
function getMap() {
$Map[0] = 0;
for(%i = 0; %i < BrickGroup_27690.getCount(); %i = %i + 1) {
%brick = BrickGroup_27690.getObject(%i);
if(%brick.getDatablock().uiName $= "1x1f") {
$Map[0] = $Map[0] + 1;
$Map[$Map[0],0] = %brick.colorID;
%x = getWord(%brick.getPosition(),0);
%y = getWord(%brick.getPosition(),1);
%x = (%x + 173.25)*32;
%y = (%y - 110.25)*32;
$Map[$Map[0],1] = %x SPC %y SPC "0.1";
}
}
}
function makeMap() {
for(%i = 0; %i < $Map[0]; %i = %i + 1) {
%newbrick = new fxDTSBrick() {
dataBlock = brick32x32fData;
scale = "1 1 1";
client = 0;
stackBL_ID = 0;
angleID = 0;
colorID = $Map[%i,0];
colorFXID = 0;
printID = 0;
shapeFXID = "0";
rotation = "1 0 0 0";
};
%newbrick.setTransform($Map[%i,1] SPC %height);
%newbrick.setTrusted(1);
%newbrick.plant();
BrickGroup_27690.add(%newbrick);
}
}
function getMap() {
$Map[0] = 0;
for(%i = 0; %i < BrickGroup_27690.getCount(); %i = %i + 1) {
%brick = BrickGroup_27690.getObject(%i);
if(%brick.getDatablock().uiName $= "1x1f") {
$Map[0] = $Map[0] + 1;
$Map[$Map[0],0] = %brick.colorID;
%x = getWord(%brick.getPosition(),0);
%y = getWord(%brick.getPosition(),1);
%x = (%x + 173.25)*64;
%y = (%y - 110.25)*64;
$Map[$Map[0],1] = %x SPC %y SPC "0.1";
}
}
}
function makeMap() {
for(%i = 0; %i < $Map[0]; %i = %i + 1) {
%newbrick = new fxDTSBrick() {
dataBlock = brick64x64fData;
scale = "1 1 1";
client = 0;
stackBL_ID = 0;
angleID = 0;
colorID = $Map[%i,0];
colorFXID = 0;
printID = 0;
shapeFXID = "0";
rotation = "1 0 0 0";
};
%newbrick.setTransform($Map[%i,1] SPC %height);
%newbrick.setTrusted(1);
%newbrick.plant();
BrickGroup_27690.add(%newbrick);
}
}