MappingHell

Archive => The Mega Archive => Topic started by: Zoocata on December 27, 2011, 08:07:29 AM

Title: Minecraft Script DONE
Post by: Zoocata on December 27, 2011, 08:07:29 AM
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
]
]
Title: Re: Minecraft Script DONE
Post by: GoodOldJacob on December 27, 2011, 08:31:16 AM
Works perfectly!  ;D
Title: Re: Minecraft Script DONE
Post by: Sweet on December 27, 2011, 08:42:01 AM
I'll try it out in the morning
Title: Re: Minecraft Script DONE
Post by: Zoocata on December 27, 2011, 09:52:57 AM
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
]
]



Title: Re: Minecraft Script DONE
Post by: Sweet on December 27, 2011, 03:22:18 PM
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]
Title: Re: Minecraft Script DONE
Post by: Sweet on December 27, 2011, 08:47:18 PM
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?


Title: Re: Minecraft Script DONE
Post by: Zoocata on December 27, 2011, 10:49:23 PM
I was actually thinking of asking you about that ^^
Would be great :D
Title: Re: Minecraft Script DONE
Post by: unixfreak on December 28, 2011, 03:34:45 AM
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
Title: Re: Minecraft Script DONE
Post by: Zoocata on December 28, 2011, 07:38:47 AM
yeah, like the inventory function in the RPG mode of sauerbraten :D