Jump to content
The Dark Mod Forums

Maxwell16

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Maxwell16

  1.  

    Colobot (Colonize with Bots) is an educational game aiming to teach programming through entertainment.

    You are playing as an astronaut on a journey with robot helpers to find a planet for colonization.
    It features 3D real-time graphics and a C++ and Java-like, object-oriented language, CBOT,
    which can be used to program the robots available in the game.

     

    • Like 1
  2. I always recommend Xubuntu, its lightweight and up-to-date,

    and runs good on old/slow computers too.




    Download via torrent or choose a mirror site in a country near you.



    It is recommended to use the latest LTS version, named as follows:


    xubuntu-16.04.3-desktop-i386.iso <--- 32-bit

    xubuntu-16.04.3-desktop-amd64.iso <--- 64-bit


    Burn a dvd or make Live USB drive. USB is faster than optical media.


    How to Create Ubuntu Live USB in Windows



    Tips after installing Xubuntu


    Install Ubuntu Software Center.

    Open a terminal[ctrl+alt+t] and type:



    sudo apt-get install software-center



    Some more tips I've found useful:





  3. void test_usedby()
    {
    if (RunScript == 0); // <-- semicolon terminates the if
    {
    sys.println("RunScript = "+RunScript);
    RunScript = 1;
    }
    }


    The 'if' statement is a no-op because it is terminated with a semicolon,

    and the following block is no longer a part of the if statement.


    I've been bit by that bug many times.


    That syntax is used for one line statements:



    if (condition) DoStuff();

    You could write 'if' statements with only brackets:



    if (condition) { /*do stuff*/ }

    if (condition) {
    /*do stuff*/
    /*do stuff*/
    }

    if (condition) //<-- no semicolon here
    {
    /*do stuff*/
    /*do stuff*/
    }


  4. I didn't think to mention that dmap and map work if your WIP is installed as the current mission.


    I just type: dmap mymap


    I don't have to move anything around, just zip the contents of fms\mymap when i'm done.


    This way I can also run the mission with 'New Mission' -> 'Start This Mission'.

  5. I once had this problem with broken readables, this is how I fixed it.

    Restart DR after changing these settings:
    Edit -> Preferences
                 |
                 Game ----> Engine Path   :  <path to darkmod folder> eg. c:/games/darkmod/
                 |   \
                 |    \---> Mod (fs_game) :  fms/mymap  <-- change mymap to your fm_folder_name
                 |     \--> Mod Base(...) :  .          <-- a single dot
                 |
                 Settings
                     |
                     Readable Editor ---> XData Storage Folder :   [Mod/xdata]
    

    This lets DR find/create mymap.xd in fms\mymap\xdata folder.

    You can also put mymap.xd in darkmod\xdata folder(create it if it doesn't exist).
    DR can find it there with XData Storage Folder : [Mod Base/xdata]
    So I have this:
    darkmod <--- location of TheDarkMod.exe
          |
          fms
            |
            mymap
                |
                maps
                |   \ mymap.map
                |
                xdata
                     \ mymap.xd
    

     

     

     

  6. I can compile DR 2.0.2 and it works well.

     

    Compiling the most recent source code gave this error:

     

     

      CXX      selection/darkradiant-TransformationVisitors.o
    selection/TransformationVisitors.cpp: In constructor ‘RotateSelected::RotateSelected(const Quaternion&, const Vector3&)’:
    selection/TransformationVisitors.cpp:62:25: error: ‘registry’ has not been declared
         _freeObjectRotation(registry::getValue<bool>(selection::algorithm::RKEY_FREE_OBJECT_ROTATION))
                             ^
    selection/TransformationVisitors.cpp:62:44: error: expected primary-expression before ‘bool’
         _freeObjectRotation(registry::getValue<bool>(selection::algorithm::RKEY_FREE_OBJECT_ROTATION))
                                                ^
    make[3]: *** [selection/darkradiant-TransformationVisitors.o] Error 1 

     

     

    What should I do?

×
×
  • Create New...