Re:ScriptCraft: Building cool things using Javascript in Min...
by walterh on Wednesday January 02, 2013 @07:07AM
(#4996260)
Hi Dan,
Adding in-game scriptability means you can do some serious in-game world building with a little knowledge of Javascript. I haven't used out-of-game tools like mcedit. I personally like the ability to prototype at the in-game command prompt. E.g...
/js box('35:15',4,9,1)
...creates a 2001 Monolith at the current location. The real power of ScriptCraft though is its ability to load and execute javascript files containing functions, and the ability to easily extend the Drone class. E.g. // file monolith.js
Drone.extend('monolith',function(){
return this.box('35:15',4,9,1);
});
After loading monolith.js, players can do the following to create 3 monoliths... /js monolith().right(6).monolith().right(6).monolith()
I've provided a couple of example scripts but it will be interesting to see what players do with this.
Re:ScriptCraft: Building cool things using Javascript in Min...
by walterh on Wednesday January 02, 2013 @07:13AM
(#4996274)
I would love if the Minecraft guys provided Javascript scriptability without the need for a mod.
Re:ScriptCraft: Building cool things using Javascript in Min...
by ricardobeat on Wednesday January 02, 2013 @08:09AM
(#4996440)
That would ruin the game for most players. It has to be a server mod.
Minecraft is aiming for some extensive modding re-write, which will make installing and using mods easier. I 'm not sure how much work the author will have to do to get scriptcraft running under the new system.
I'm also interested in how it compares to existing world building tools. Most of those are out-of-minecraft software. But things like world edit, etc.