Show Posts

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.

Messages - jes00

Pages: [1] 2 3 4 5 6 ... 451
Add-Ons / Re: Image2Brick
« on: Today at 04:11:39 PM »
Is this client sided?
can't you just pop all the guis and push just the guibitmapcontrol briefly, cache the pixels and then push all the guis back?
Didn't think about doing something like that. Might work.

Add-Ons / Re: Image2Brick
« on: Today at 12:51:11 PM »
how do you read image files from torquescript
If you make a GuiBitmapCtrl then you can get individual pixel colors from it with .getPixelColor(x, y); but the y coordinate is actually the coordinate relative to the Blockland window instead of the GuiBitmapCtrl(or something like that), so I made this function to fix it. It's also kind of trash because if the pixel is obstructed by anything(if it's something outside of the Blockland application then it's fine) then it'll get the color of the thing obstructing it.
Code: [Select]
function guiBitmapCtrl::getRealPixelColor(%obj, %x, %y)
%realY = -2 * getWord(%obj.getScreenPosition(), 1);
%realY += getWord(getRes(), 1) - %y;

return %obj.getPixelColor(%x, %realY);
inb4 even more people make even more research img2brick
Real images are so big that they take forever and ever to do.

Add-Ons / Image2Brick
« on: Today at 12:06:32 PM »

(Took about 5 seconds)

(Example of background color selection and background exclusion)

(Don't do this. I don't remember how long it took, but it was over 2 hours)

  • Entirely in TorqueScript, unlike other Image2Brick mods.
  • Probably slower than other Image2Brick mods.
  • Can't close GUI, open the console, or put your mouse or practically anything else over the image while the mod is running.
  • Estimated time gets less accurate the bigger the build is.

Other things:
  • Any size image works.
  • Easily pause and resume the build.
  • Works with any brick.
  • There are small red and blue lines as X and Y indicators on the image that represent the build's progress.
  • The build starts in the lower left-hand corner and builds up/forward row by row.
  • You can click and drag on the image to resize it.
  • Optional proportional image scaling(only works with manual input, not dragging).
  • If the image has transparency, you can change the background color.
  • If you select a transparent background color, the correct transparent brick color will be selected.
  • Re-color the image in the GUI(ish).
  • You can build the image upright or flat on the ground.
  • If you select a background color and then exclude the background, then the most transparent color in the server will be selected to replace the background color(if you have it set to tall). If flat is selected then the background colored bricks won't be planted at all.

File selector module by Nexus.

The keybind to open the GUI is under Options > Controls > Building.

Happy spamming.

Suggestions & Requests / Re: Ideas for the Start Server/Main menu
« on: Yesterday at 07:41:55 PM »
I am going try this out in a default empty Torque game.
Do you know how to make GUI's?

Help / Re: Texture problems
« on: Yesterday at 03:08:46 PM »

Add-Ons / Re: [BRICK] WallClock
« on: June 11, 2019, 09:14:17 PM »
You should get rid of the hands on the clock and make them as static shapes, then make it show the real time based on the host's computer, or make it show the time based on the day cycle.

Modification Help / Re: Help with math
« on: June 11, 2019, 03:29:17 PM »
It's function Dig_PickCost in Mining.cs

If your rank is above 0 then it's
cost = rounded down(pick level + 1)1.3 x rank
If not it's
cost = rounded down(pick level + 1)1.3 + 50

So if you want to go from level 1 to 2 and you have no rank then it'd be.
1(current pick level) + 1 = 2
21.3 = 2.46228882
Rounded down = 2
2 + 50 = 52
You need to pay $52 to go from level 1 to 2.

Suggestions & Requests / Re: Script_BuildToObj DL Link?
« on: June 11, 2019, 09:04:07 AM »
I found the one that Zack0Wack0 made.

Also this one. Not sure if it's the same one or not.

Suggestions & Requests / Re: Script_BuildToObj DL Link?
« on: June 07, 2019, 10:43:15 AM »
wasnt there also an obj to bls? id love to have that too

edit: you could try to msg zeblote on discord
You must mean obj to blb. bls is a Blockland save file. blb is a Blockland brick.

Badspot made an obj to blb converter 7 years ago.

General also made one.

Suggestions & Requests / Re: Ideas for the Start Server/Main menu
« on: June 02, 2019, 07:58:50 AM »
That can be done via client add-on, but yes, menu sounds need to be default again

Not sure why they were ever removed
It could all be done with a client add-on.

Help / Re: Old versions of Duplicator
« on: June 01, 2019, 05:04:24 PM »
You sure it's not Event_SaveLoadItems causing you to crash?

Suggestions & Requests / Re: Better Toxic Gas
« on: June 01, 2019, 06:41:58 AM »
Or use emitters + bricks + custom script.

Pages: [1] 2 3 4 5 6 ... 451