Knuckle Cracker

Particle Fleet => Map Makers, Ship Builders, and Coders => Topic started by: GoodMorning on August 10, 2017, 07:58:51 PM

Title: Mandelbrot land script
Post by: GoodMorning on August 10, 2017, 07:58:51 PM
Since FOXX has had crashes while converting Mandelbrot images to PF land, I've thrown together something to do it by pure PRPL.

WARNING: Will overwrite all terrain. May cause lag if "rate" is set too high. Is not set up to OperateWhilePaused, though adding that is trivial. Does not operate instantly to avoid freezing the game.

So, that being said:
Place a Core, attach the script, set the X/Y limits (well, real/imaginary, but I can't be bothered explaining imaginary quantities here).

Lower Escape or MaxCycles for quicker but less accurate running - I don't know why you would, but it's up to you. MaxCycles will have a bigger effect.

Change rate to take fewer frames to draw, at the cost of more lag (the same work is done, it's a matter of cells/game clock tick).

The CyclingConst is added to the land height. If it goes above 5, it becomes void and start counting up again. So change this if you want  to raise/lower all land.
Title: Re: Mandelbrot land script
Post by: FOXX on August 11, 2017, 07:45:18 AM
So, i did have a look at this Script. First think what came to mind -> WOW !
There is so little Code with such an effect. I'm lost in Code Translation.

And i found that even the littlest change makes quite a difference.
I really don't know how this works but i do know it's damn cool.
I'm just thinking -> How, how, how.

I have 2 standalone Maps i can finish and i will see if i can get a cool Land layout with this.
Also, today my vacation starts for at least a week. If good weather -> I'm out. Bad weather -> I'm in.
Today is Bad so i can make some progress.

Thanks GM for the time to create this beautiful piece of PRPLness :)

Title: Re: Mandelbrot land script
Post by: FOXX on August 18, 2017, 06:49:09 PM
I have been busy with this and tested some settings and the Script produced some nice Layouts.
The one i have chosen is attached. But as i was testing on a big Map i had to cut this out so i thought of PlanetFalls LandCopier Script.
I had to do this Image in 3 parts because i had a message that i was over 10000 something.
But this will be a Layout for an Image Map.

Thanks GM
Title: Re: Mandelbrot land script
Post by: FOXX on August 19, 2017, 11:08:33 AM
Update 19-08-2017

Map Size = 280x420
Title: Re: Mandelbrot land script
Post by: FOXX on August 19, 2017, 03:15:03 PM
Map Layout ready
Title: Re: Mandelbrot land script
Post by: FOXX on September 18, 2017, 07:32:30 PM
Last Image -> Map is Posted.
Forum Link (http://knucklecracker.com/forums/index.php?topic=26017)

And thanks Again to GM for making this.
[So little Code and such an Effect]
Title: Re: Mandelbrot land script
Post by: cpaca on September 19, 2017, 12:33:48 AM
FOXX, I have only one question 
Did you intentionally make it look like a battleship? 
I mean, the mandelbrot bits on the side look like guns...   
and you put an energy mine near the front to power that, and an energy mine in the center to power the core, and there's particles for self-defense, and a few more energy mines...   
Title: Re: Mandelbrot land script
Post by: FOXX on September 19, 2017, 06:48:04 AM
Quote from: cpaca on September 19, 2017, 12:33:48 AM
FOXX, I have only one question 
Did you intentionally make it look like a battleship? 
I mean, the mandelbrot bits on the side look like guns...   
and you put an energy mine near the front to power that, and an energy mine in the center to power the core, and there's particles for self-defense, and a few more energy mines...
Cpaca -> the answer is no.  After i had the Land Layout i started with filling space with Plasma and Struc. And all Energy Mines and Units i placed strategically like i try to do in other Maps also. No Intentions to make it look like something. Happened by accident :)