Jump to content
The Dark Mod Forums

Maxwell16

Member
  • Posts

    9
  • Joined

  • Last visited

Reputation

3 Neutral

Profile Information

  • Gender
    Male

Recent Profile Visitors

484 profile views
  1. $atdm_key_simple_iron_dark_1.addItemToInv($player1);
  2. https://colobot.info
  3. I always recommend Xubuntu, its lightweight and up-to-date, and runs good on old/slow computers too. https://xubuntu.org/ Download via torrent or choose a mirror site in a country near you. https://xubuntu.org/download 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
  4. 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*/ }
  5. 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'.
  6. I once had this problem with broken readables, this is how I fixed it.
  7. I really like how this works, it's very smooth and feels quite natural. * The scroll wheel cycles pages. * Clicking outside the grid, closes it. * The player can still move with WASD. Here is the test map I made for this. (my first TDM map:) It is very small with 38 items for the inventory, and two scripted events which add items to your inventory. https://www.dropbox.com/s/x032oxeh2miydvi/inv_test.pk4?dl=1
  8. Yep that did it for me, the program runs fine, even on my pitiable machine.
  9. I can compile DR 2.0.2 and it works well. Compiling the most recent source code gave this error: What should I do?
×
×
  • Create New...