Minecraft Script DONE

Started by Zoocata, December 27, 2011, 08:07:29 AM

Previous topic - Next topic

Zoocata

Well, I kinda ditched the project for a while, because I ragequit on that selection bug.
turns out, with a little help from cm|SomeDude, I got the job done.
apparently all we needed was a sleep xD
It now works fine, and if you want it here you go:

dig = [
edittoggle
sleep (0.005) [
cancelsel
editface 1 1
edittoggle
]
]

GoodOldJacob


Never argue with an idiot. He'll drag you down to his level and beat you with experience.

Sweet

I'll try it out in the morning

Zoocata

Oh! also, make a new cfg and put this in there:
(this is the build script btw)

build = [
edittoggle
sleep (0.005) [
cancelsel
editface -1 1
edittoggle
]
]




Sweet

Works well, but I recommend putting it into a GUI of some sort, that allows you to toggle keybinds for a minecraft gamemode.

Or, you could put them somewhere in the script, I dunno. I mean liek dis:

bind "MOUSE1" [dig]

bind "MOUSE2" [build]

and at the end

bind "MOUSE1" [attack]

bind "MOUSE2" [jump]

Sweet

#5
Edited the script so you can toggle minecraft mode using the commands /minestart and /minestop

I'm considering packaging it with my texture pack, you interested Zoo?



Zoocata

I was actually thinking of asking you about that ^^
Would be great :D

unixfreak

Awesome.
Glad to see you figured it out.

When i started to try and figure a way to do this i was using
universaldelta -1

To simply scroll the active cube, although came into problems when trying to "build" as i thought using the opposite of above to scroll down would work.

Next we need someone to make a GUI with the cube selection menu :D
It would be easy as cake to add the number of cubes you have "digged" into an inventory.

Sauercraften lol
Join the Red Eclipse discord! https://www.redeclipse.net/discord

Zoocata

yeah, like the inventory function in the RPG mode of sauerbraten :D