Posted 26 April 2015 - 08:12 PM
CC PYRAMID RUN
Hi there!
I'm working already for a while on a command computer based game.
Since the beta of command computers I was facinated by the possibilities and wanted to do something, that you really cannot do with command blocks.
One thing difficult in Vanilla is randomizing lots of command blocks. That's an easy one for computers ;)/> so I came up with this idea.
About the game:
Spoiler
There are atm about 25 different room types. In each level you have to loot all chests to craft a gold block, that opens the exit door (toss it into the hopper).
Beside single player mode I plan multi player for a second player. Spectators will be able to watch your success or failure from above.
The generated levels are highly randomized using command computers. The game uses a prebuild map and a modpack.
Status:
- submitted to FTB'S Jampacked II
- so far single player only
- so far no pack download available
- video to show concept
- pastebin of builder
(That's the one from "media".)
[media]http://youtu.be/ddM66PziBdA[/media]
About the programs / computers:
not ready for pastebin yet- builder.lua, pastebin v1.00:The main program for reseting levels.
It includes atm the room data as well, but I'll put this in a seperate file.Ppastebin seems to not recognise the closing ]]– and messes up the display.
- interiorData.lua, pastebin v1.00: This is the data file used by builder. It contains all the room interior data for generation.
- orchestrator.lua., v1.00: Controller that manages signals form other computers and displays current level times and top 5 on main monitor.
- Several small programs on further computers that teleport spectators, prepare the player for start,
send time messages to the Controller, send progress signals, etc.
Spoiler
- I've released the pack for FTB's Jampacked II. This will result in an unlisted pack end of June (?), well… So I will apply for an offical unlisted third party pack to make it available via FTB.
I'm also considering a download as Multi MC instance, but then I have to satisfy all the mod permission requirements on my own.I started that, but don't know when this will be ready.
On second thought, this won't happen.
- How to check out the builder.lua in action: 1) generate a (void) world where you can freely build (e.g. on y=60 and go to 0,60,0) 2) make sure to have the required mods installed (see mods) 3) put down a command computer, download builder.lua and interiorData.lua
4) put a wireless modem on top and a monitor on its right side 5) enter: build.lua 40 69 -42 3 3 1 ( x y z rooms-x rooms-z level)
=> Here are some additional info to set it up by Bomb Bloke
Mods:
Spoiler
For testing the programs you will need the (*) marked mods
- Carpenter's Blocks
- ChickenChunks
- Chisel 2 (*)
- CodeChickenCore
- ComputerCraft (*)
- extrautilities (*)
- fastcraft
- Lockdown
- NotEnoughItems
- ObsidiPlates
- OpenBlocks (*)
- OpenModsLib
- PerfectSpawn
- SquidAPI
- SquidUtils
- Ztones (*)
Next steps:
Spoiler
- done: finalize map (spawn area, teleporters, hide computers,…)
for beta release - done: top
105 display and top level times with save file - done (but huge lag whlie generation): implement that task limit thing (parallel.waitForAny) I learned from Bomb Bloke
- done: room data file
- somewhat done: make mob spawning more level dependant
- add level dependant room details (e.g., additional holes in the floor for level 5?)
- clean up the code
- turn remaining 'say' and 'tell' commands into 'tellraw'
- iplement some kind of logging for easier bug fixing
- detection of time outs while generation + continue at last finished pyramid
- never ending: code more rooms
Ideas for later:
Spoiler
- multi player
- two player mode (first only different pyramids, later the same (1.8 commands would really help there!!))
- at some remote period: include user made rooms (describe room coding, impement syntax checker, use room data from disk drive)
Bugs:
Spoiler
fix a bug that occurs because of a short cut I took in programming (water from previous level may destroy in some cases redstone when reseting levels)- in rare cases the redstone of one room blocks access to next room
- take care of generation issues
- after revival the wooden sword doesn't get to the player
I will keep this first post up to date.
Any comments, suggestions, what so ever are very welcome! :)/>
Edit 2015-05-15: complete update, spoilers and added 2 pastebins, 2015-05-16+24
Edited on 24 May 2015 - 09:02 AM