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 - Mindraker

Pages: [1] 2
1
Gallery / Re: BEHOLD! A feat of pixelated Nintendo charaters!
« on: February 05, 2009, 08:19:02 AM »
You should make a pixel art of the dog after you shoot it... that was the only thing that made duck hunt fun.

2
Gallery / Re: Fractals
« on: January 31, 2009, 03:47:32 AM »
:o how do you get the fern one to work.

You can add the script to your add-ons like so:
http://blockland.wikia.com/wiki/How_to_add_a_script_to_your_Add-ons

3
Gallery / Re: Fractals
« on: January 28, 2009, 09:44:56 AM »
I think it's nice.

Oh, and here's a mindforget for you.




Sirrus, if you have a fractal script on Blockland that does implement more than just two colors, could you let me know?  Thanks.

4
Gallery / Fractals
« on: January 28, 2009, 08:00:56 AM »




I know, the color isn't too hot, but the code for these and other fractals are posted here for those who are interested.

5
Gallery / Re: Butterfly and other scripted images
« on: January 26, 2009, 01:14:56 PM »
Also, try making the bricks white and applying rainbow effect in the script.

To apply the rainbow effect, change the colorfxID to 7.  For example, in the following script, it will create one single brick with the Rainbow FX.  You can change the number to whatever other special effect you want.:

%posx = 1;
%posy = 1;
%posz = 1;

%temp = new fxDTSBrick()
   {
    datablock = "brick1x1Data";
    position = %posx SPC %posy SPC %posz;
    rotation = "0 0 0 0";
    scale = "1 1 1";
    angleID = "0";
    colorfxID = "7";
    shapefxID = "0";
    isPlanted = 1;
   };

6
Gallery / Re: Butterfly and other scripted images
« on: January 21, 2009, 10:19:55 PM »
I think you need to learn what a function is.

I'm pretty sure that spawning bricks before the game is loaded isn't the best idea.

That's simple enough to change -- so instead of having the bricks getting created when the map gets loaded, the bricks can get created when you call a function.  That takes two seconds to change.

7
Gallery / Re: Flare's Arch (ETB App for rank upgrade)
« on: January 21, 2009, 08:59:56 PM »
Arches are easy.  Just script them.

8
Gallery / Re: Butterfly and other scripted images
« on: January 21, 2009, 08:38:03 PM »
What is the name that you are giving the folder?
You probably have it done right, just make sure that the name of your folder has a little underscore in it, like Script_MyFirstScript
That's important, otherwise the game won't find it.
Another thing is to make sure that your server.cs file is actually a .cs file and not a .cs.txt file (that's a common enough error).

9
Gallery / Re: Butterfly and other scripted images
« on: January 21, 2009, 07:32:37 PM »
What would the exact steps be to produce this?

1) Create a folder in your add-ons folder, call it something like "Script_MyFirstScript".  The path to this folder should now look like:
C:\Program Files\Blockland\Add-Ons\Script_MyFirstScript.
2) In this Folder, create a description.txt file.  The contents of this file look like this:

Title: Script
Author: Elvis Presley
A Script

3) Create a new file, called namecheck.txt.  I've made the contents of this file to be:
Script_MyFirstScript

4) The last, and most important, are a file called script.cs -- create this file with notepad as well.  The contents of this file are what you need to make a scripted pattern work:

for( %i = 0 ; %i < 1000 ; %i++ )
{


%a=0.5;

%posx = 2*%a*mCos(%i)+%a*mCos(2*%i);
%posz = 2*%a*mSin(%i)-%a*mSin(2*%i);
%posy = 1;

%temp = new fxDTSBrick()
   {
    datablock = "brick1x1Data";
    position = 50*%posx SPC %posy SPC 50*%posz;
    rotation = "0 0 0 0";
    colorID = "16";
    scale = "1 1 1";
    angleID = "0";
    colorfxID = "0";
    shapefxID = "0";
    isPlanted = 1;
   };


}


5) Start up Blockland.  Choose the "Construct" game.  Select "Script_MyFirstScript" in the add-on list, otherwise it won't run.

That's it! 

10
Gallery / Re: Butterfly and other scripted images
« on: January 20, 2009, 10:59:10 PM »
I under stand these, I think.
You just created these lines/pictures/graphs by creating a equation?

That's it.  If you know a way to create one brick, (http://blockland.wikia.com/wiki/Spawning_bricks) all you need is a formula and a for loop (or more than one for loops) to create several bricks.

For example, let's say you know a formula y=x^2.  You'll need a for loop for the values of x (let's say from -10 to 10.)  Then the computer will compute the square of x, and assign it to y.

You can assign a constant to z, because it's a 2-dimensional graph.

Creating a 3-D graph is just the same, but you simply need more for loops.

Now, the fun thing is, I don't have to know the equations, I just look them up on the internet -- I find something that looks fancy on Wikipedia, I say "That looks cool, what's the formula for that?"  So I don't need to know ultra-high level math.  I just need to know the formula.

11
Gallery / Re: Butterfly and other scripted images
« on: January 20, 2009, 08:35:18 PM »
Here's a not-so-good example of a zoomed in image:


12
Gallery / Re: Butterfly and other scripted images
« on: January 20, 2009, 08:25:33 PM »
I still don't understand. I see the reticle in the 3rd pic there, but cant really distinguish what it is exactly. Could you provide a better pic? Better as in closer... :O

They are 1x1 bricks whose coordinates have been determined according to a specific script.  So, instead of having to build them by hand, a program will place the bricks like pixels on a computer screen.
If you know the appropriate mathematical formula, you can make circles, spirals, loops, etc., much faster than you would than having to place the bricks one by one.
I chose 1x1 bricks in order to give me finer detail.

13
Gallery / Re: Butterfly and other scripted images
« on: January 20, 2009, 07:57:13 PM »
Mindraker do you really expect a community as handicapped as this to actually understand parametric equations?

I made similar designs on Roblox using the same formulas.  Now, all I did was just plug these same formulas into a Blockland script that spat out bricks according to the mathematical formulae I chose.
These images are nothing compared to what you can do:






14
Gallery / Re: Butterfly and other scripted images
« on: January 20, 2009, 07:35:48 PM »
k? This has to do with Blockland.....how?

All these images were made with Blockland, perhaps you did not visit the link.

15
Gallery / Butterfly and other scripted images
« on: January 20, 2009, 07:14:43 PM »
Butterfly








The scripts are here.


Pages: [1] 2