Author Topic: [VIDEO] AfterBlock - Clan Manager, Brick Maker, and Add-on Packager Demo  (Read 3528 times)

I'd also like to mention creating a text file, formating it, saving it, putting the addon files together, zipping them, and renaming them isn't as convenient as just opening AfterBlock, selecting files from where ever, and entering a bit of info in a text field and have it done for you.

Convenience.

Tom

Right Click -> New -> "Where the hell is 'Compressed Zip Folder'?"
Maybe because it's Right Click Files -> Send To -> Compressed Zip Folder

Maybe because it's Right Click Files -> Send To -> Compressed Zip Folder
Create =/= Send
I dont want to talk about this now. Lets get back on the rail.

I prefer Peazip... just say'in. :p

I prefer Peazip... just say'in. :p
Is Peazip better than Winrar?

Tom

I'd also like to mention creating a text file, formating it, saving it, putting the addon files together, zipping them, and renaming them isn't as convenient as just opening AfterBlock, selecting files from where ever, and entering a bit of info in a text field and have it done for you.
Have you consulted any add-on creators about what would actually be convenient for them? Sure, it may sound easier to you to have a wizard do it for you, but I find it easier to copy an existing add-on, and rename a few things. The files will fall into a right structure durning development. The description and namecheck files are trivial compared to scripting or modeling add-on.

The clan manager has potential, but I don't think it's worth it if all it can do is keep attendance.
« Last Edit: December 18, 2010, 12:30:21 AM by Tom »

but I don't think it's worth it if all it can do is keep attendance.

It has an interactive quiz that rates your clan and offers advice.

Mabey you could give me a suggestion on my version then;
-snip-
I can tell its not very user friendly as I hoped.
Confusing Add-On "Workbench" is confusing.


Also a preview tool for some brick packs you download would be good.

Also Sheath check your inbox.
« Last Edit: December 18, 2010, 08:53:41 AM by Bonestorm »

For me, the brick maker looks awesome. Since I don't know stuff about making add-ons this will help me when I need a brick made. I have a question though. Can it make packs or can it only do one at a time?

EDIT: The only thing I'm worried about is that there are going to be lots of people who get this, make some bricks and release them constantly.
« Last Edit: December 18, 2010, 09:23:44 AM by Freeze »

For me, the brick maker looks awesome. Since I don't know stuff about making add-ons this will help me when I need a brick made. I have a question though. Can it make packs or can it only do one at a time?

EDIT: The only thing I'm worried about is that there are going to be lots of people who get this, make some bricks and release them constantly.
The thing is, it only makes basic bricks, no rounds, no plates, no prints.
Just basic straight bricks.
I might make a brick maker too, but make it work on special types.

(in c++ )
Here, I made a simple console brick maker (I know how to make graphic programs of course, but why bother with a gui if you're just entering text) that can make simple, non-special bricks:
Code: [Select]
#include <iostream>
#include <fstream>
#include <zip.cpp>
#include <zip.h>

using namespace std;

string fnam = "";
string dim = "";
string ndim = "";

int szipadd(HZIP hz,string in)
{
    return ZipAdd(hz,in.c_str(),in.c_str());
}

string cget()
{
    string tmp = "";
    cin>>tmp;
    return tmp;
}

string ask(string question)
{
    cout<<question<<"\n";
    return cget();
}

int main()
{
    cout<<"Syerjchep Blockland Brick Creator\n";
    cout<<"Version 1\n\n\n";

    cout<<"Would you like to make a normal, no print, no texture, not round, brick?\n";
    string in = cget();
    if(in == "yes" || in == "y")
    {
        cout<<"You choose yes.\n";

        while(true)
        {
            string l = ask("What do you want the length of the brick to be:");
            string w = ask("What do you want the width of the brick to be:");
            string h = ask("What do you want the height of the brick to be:");

            dim = l+" "+w+" "+h;
            ndim = l+"x"+w+"x"+h;

            cout<<"The dimensions of this brick will be:\n";
            cout<<dim<<"\n";

            string t = ask("Is this okay?");
            if(t == "y" || t == "yes")
            {
                cout<<"You entered yes, continuing.\n";
                break;
            }
            else cout<<"You entred no, choose again...\n";
        }

        ofstream disc("description.txt");
        disc<<"A normal brick with the deminsions: "<<dim<<"\n";
        disc<<"Author: Drendran, Syerjchep\n";
        disc.close();

        ofstream blb((ndim+"brick.blb").c_str());
        blb<<dim<<"\n";
        blb<<"BRICK\n";
        blb.close();

        ofstream scs("server.cs");
        scs<<"datablock fxDTSBrickData (brick"+ndim+"BrickData)\n";
        scs<<"{\n";
        scs<<"brickFile = \"./"+ndim+"brick.blb\";\n";
        scs<<"category = \"Bricks\";\n";
        scs<<"uiName = \""+ndim+" Brick\";\n";
        scs<<"subCategory = \"Custom Bricks\"\n";
        scs<<"};\n";
        scs.close();

        HZIP hz = CreateZip(("Brick_"+ndim+".zip").c_str(),0);
        szipadd(hz,"description.txt");
        szipadd(hz,(ndim+"brick.blb").c_str());
        szipadd(hz,"server.cs");
        CloseZip(hz);

        remove("server.cs");
        remove("description.txt");
        remove((ndim+"brick.blb").c_str());
    }
    else cout<<"You choose no: This program does not yet support special bricks.\n";

    cout<<"Input anything to exit.\n";
    cget();

    return 0;
}

« Last Edit: December 19, 2010, 07:23:04 AM by MunkeyCheez »