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.


Topics - King Leo

Pages: [1] 2 3
1
Modification Help / Calling external program from script?
« on: December 06, 2013, 08:21:26 AM »
How do I call external executables (including arguments) in my script?

Python uses subprocess.call([dir, args]). Anything similar available for Torque? And no, I don't need to feed the output back into Blockland.

2
Modification Help / File I/O - abusable?
« on: April 15, 2013, 10:00:12 AM »
I'm working on my first script ( a modification of this ) and I need to store large amounts of information (let's say a 1000 char string). I don't know how to do that with ordinary brick events, as the char limit is around 200. However, I've found that using file I/O is very easy and convenient. The user enters the directory of the file they want to access, and the script then converts the file into a series of notes that are played in Blockland. Quite easy stuff, in other words.

But I'm wondering if giving access to my computer like that is abusable somehow. Can the user hack his way into my computer by sending some stuff along with the packets that request access to my file?
The code looks like this:
Code: [Select]
function fxDtsBrick::pianoSynthRFF(%brick,%nameOfFile,%delay,%client)
{
//blabla
%brick.noteCount = 0;
%brick.isPlaying = 1;

%file = new fileObject();
%file.openForRead(%nameOfFile);
playSynth(%brick,%file.readLine(),%delay);
%file.close();
%file.delete();
}
Is this method safe? Or do you suggest anything else?

3
Gallery / Trains [image heavy!]
« on: February 14, 2013, 03:30:22 PM »
Here are a couple of my train builds. They are quite old, and some people have already seen them. But for those who haven't, here are some pics:

All pics are 1080p or higher. Right click and select "view picture" to view the full-scale version.

LNER Class A4 4468 Mallard

The fastest steam locomotive in the world! It reaches a speed of 126 MPH.
The streamlined designed made this one hard to build.
DB Class V100

The classic DB Class V 100 diesel locomotive from Germany.
I especially like how this one turned out.
DRG Class 01

The BR01 is one of those classic steam locomotives from Germany.
If you are crazy about trains, this one must be in your collection!
DB Class V200

One of the most famous German diesel locomotives.
Was a pain in the ass to build, mostly because of all the round shapes.
TGV Sud-Est

Probably the most famous train ever! The french Train a Grande Vitesse set
several speed records, and is today one of the iconic european trains.  
(Reserved)


Feel free to rate the trains X/10, discuss trains or show of your own creations!

4
Gallery / The White House
« on: November 04, 2012, 05:25:50 AM »
With the American presidential election coming up, I thought it would be a good idea to revive an old build of mine. I originally built it for my "King Leo travels" series, but it somehow never got released.

I present to you: The White House








Thanks to ANT for the awesome pics!

Feel free to discuss the build, but please don't turn this into a political debate.

5
General Discussion / midi to Blockland converter
« on: October 19, 2012, 06:04:48 PM »
I have started learning a bit of basic Python, so I wrote a little script that converts .midi files to eventSave files used in Blockland. The idea was to create music for my harpsichord. It can already play lots of songs, but all of them were done manually (which is tedious work)

It was actually quite simple. I modified the script such that it generates saves that can be used by my harpsichord, but that isn't necessary.

Click on the picture below to see some results of what the script can do.



if anyone is interested in this, let me know. the code is still a bit buggy, but most of the bugs can be prevented/worked around.

6
Gallery / Castle
« on: May 13, 2012, 04:21:18 PM »
Hello there forum!
Long time, no new builds. Sorry about that, but I've been very busy lately. However, I have a cool build up my sleeves (not literally, it's quite big)- So without further ado, I present to you:

Island Castle
(name suggestions would be appreciated)



It's a castle on an island (duh). I built this because I felt that I needed a better castle, being a king and all. The old one was overly symmetrical, had a ridiculously high brickcount and looked kinda ugly.

The new castle has improved on all those points, and I'm pleased with the result.
More pics, cause no one cares about what I write anyways :








The inner courtyard


The inner castle. This is the residential part of the castle.







Thats it for now. Pics of the interior will come soon.
Please not that this is still work in progress. I'm going to add some small bits here and there. And the interior still needs alot more work.

Feel free to rate x/10 and leave constructive criticism.

7
Help / VCE modvariable -> set -> value ?
« on: February 14, 2012, 02:46:52 PM »
Is it possible to do this some way:

Code: [Select]
X 33ms onActivate ID temp VCE_modVariable Brick tmp Set <var:nb_duck:goat>
Basically, I want to store the variable "goat" from the brick "duck" as the variable "tmp" on the brick "temp"

This is probably really easy, but if I ever knew how to do it, I must've forgotten it...
 

8
Help / Can't see certain players on RTB
« on: January 21, 2012, 11:07:45 AM »
I was on Gizmo's server today, and he asked me whether I had RTB or not. I didn't appear on his list, and he didn't appear on mine. We tried sending messages on general discussion, but the other one couldn't see it.

I tried reconnecting, but still no success.
What's going on here? Can't you talk with people who're on the same server as yourself? Or did I accidentally block him?

9
Off Topic / Tardigrades - the coolest creatures alive
« on: January 12, 2012, 04:18:49 PM »
I just watched this, and found about about those cute little Chuck Norris's.



Discuss the awesomeness that is the tardigrade.

10
Gallery / King Leo travels - Another Cathedral + Borgund Church saves!!
« on: January 08, 2012, 09:28:39 AM »

Pack your suitcases and join King Leo for a trip around the world!


Blockland has way too few builds of famous landmarks. I'm going to do something about that! Landmarks are fun to build, and building them gives great insight about the actual thing.

Let's say you want to travel to Italy, but you don't have enough money for the trip. No problem! Just build the desired landmark!

I'm planning to take a trip around the world, and this topic will serve as my "diary". I'm going to build a more or less "famous" landmark every week or so.


To make this more entertaining, I'm not going to tell you which landmark I'm visiting. You have to guess (or know) which one it is.

Let's get started then:

Previously visited landmarks
(click the picture for more info)




If you have any suggestions to where I should go next, PM me :)



Saves:
I'm going to release all the save files gradually. The saves will be found in the post about the build.

The addons I use are pretty common, so everybody should have them. If not, here's a list:
- 1randombrickpack - by FART and King Tinks
- 18 Degree Ramp Pack - by General and Tophius
- Extra Ramps - by Tophius
- Pole Bricks - by Tophius
-Round Corner Bricks - by General and Tophius
-Tile Bricks - by Jaydee
-Wedge Bricks - by Tophius
-Window Brick Pack - by Tophius
-Tall Cylinder Bricks - by siba, Tophius and Krystal

(I don't use all of them in every build, but those are the ones I've got enabled.)


As always, feel free to rate x/10 and give constructive critCIAm.

11
General Discussion / Blockland organ
« on: January 04, 2012, 08:34:46 AM »
As some of you know, I've experimented a little with playable organs for Blockland in my cathedral.
Click the picture below to see it play another piece:

http://www.youtube.com/watch?v=dDnoi3RgEo0&feature=mfu_in_order&list=UL

(this is not the organ found in the cathedral)


12
Off Topic / Metallica 30th anniversary - feat Dave Mustaine!
« on: December 13, 2011, 10:05:13 AM »
Metallica is 30 years now, and they've played a couple of shows to celebrate that. They invited a couple of old band members and inspirational persons to play with them on stage. The highlight of the show has to be when Dave Mustaine showed up. Dave used to play in Metallica, but was kicked out because of alcholism. He started a band called Megadeth, and has hated Metallica ever since. It's wonderful to see them united on the same stage again:
http://www.youtube.com/watch?v=0bn_nhm4aRE&feature=mfu_in_order&list=UL <3
There are also a couple of other cool clips from the show on this persons channel, including gigs with Ozzy, Rob Halford and Jason Newstead.

I'm a huuuge fan of both Metallica and Megadeth, and I almost shed a tear seeing this. Are there any other metalheads here?

13
Gallery / Gothic cathedral
« on: December 01, 2011, 05:31:07 PM »
I present to you my most recent solo-project: my gothic cathedral!

I wanted to do something like this for a long time, cause I really like the architecture. I started this a little more than a month ago. I've probably spent some ~15-20 hours on it.

Note that this is still a WIP. The exterior is about 90% done. The interior is about 60% done.

EDIT: Here is a video of the cathedral's organ playing Adeste Fideles.


So without further ado, here are some pictures:
(I know the pic's aren't great, but I'm a bad photographer with a crappy PC :P It looks better in-game.)

Exterior












The cathedral from above. Notice the typical cross-shape. Also pay attention to the double row of buttresses. Barnabas wouldn't allow me to put buttresses on his cathedral, so I put a double row on mine instead :P



A fancy-pants picture of the south facade by night.

Interior shots: (Note: very WIP)


Viewing down the transept.


The labyrinth. It is said that if you walk the entire labyrinth while praying, you will find inner peace. Also notice the chapel in the background. It is going to be dedicated to the Virgin Mary when done.


Me standing next to St. Pauls bell, the biggest bell of the cathedral.


About the build:
I tried to build the cathedral as gothic as possible. My main influence was german gothic architecture. Typical for this style are massive, heavy structures. The vertical lines are emphasized, and the towers are often very tall (unlike for French cathedrals). I might have overdone it a little at this point, cause the height/width ratio (1,56, see dimensions below) of this cathedral is way larger than that of the cathedral in Cologne (the current world champion with 0,95) :P

Dimensions:
I crunched some numbers for my cathedral. It turned out that it is a little smaller than the Notre Dame in Paris.  

Length (outside): 402 studs = 107,6 m (354,4 ft)
Width transept (outside): 216 studs = 59,2 m (195,4 ft)
Width nave (inside): 96 studs = 25,6 m (107,3 ft)
Height west towers:341 bricks = 136,4 m (450,1 ft)
Height under the vault:100 bricks = 40 m (132 ft)
Height under the roof:125 bricks = 50 m (165 ft)
Surface area:~40.000 studs2 = 2850 m2 (31.037 ft2)
Largest bell: Ø 12 studs = 3,2 m (10,6 ft)
Diameter of rose windows:Ø 32 studs = 8,5 m (28 ft)


Size comparison: My cathedral vs. the church from ACM's city.


If you like this build, please vote for it here. Make sure to check out the other contestants too! There's some pretty cool stuff over there.

Feel free to leave constructive criticism! I you have some ideas of what I should add/remove, please tell me!

14
Suggestions & Requests / Mirror tool
« on: November 16, 2011, 07:53:01 AM »
I'd like to request a tool that takes a selection of bricks and mirrors it around the x/y-axis.
Why would I want this? Many builds are symmetrical around a plane. But I cannot use this for my advantage by using the duplicator. So I end up having to mirror everything by hand. When the builds are complex, this is not an easy task (well, it is. But it takes time).

I'd like a tool/script that takes a selection of bricks and mirrors it (kinda like the duplicator, only mirrored).
If this is not possible/to hard to do, I'd like a script that takes a save and mirrors it. This could be done pretty easily by changing the sign of every bricks x- or y-position (not both, as this would equal to a 180 degree rotation)
Look at the attached picture if you don't understand what I mean.

EDIT: I just saw that the bases of the mirrored versions don't match. But you get the point...

15
Off Topic / The future of computers?
« on: November 04, 2011, 12:03:49 PM »
http://news.yahoo.com/blogs/this-could-be-big-abc-news/death-keyboards-monitors-omnitouch-202115388.html

Some guy made a system that projects your computer-screen to any surface, and turns it into a touchpad. 
Pretty cool, huh?

Pages: [1] 2 3