Environmental Variables

  • Cr15py
    25th Oct 2010 Member 0 Permalink
    I know that similar things have been suggested but I'm not sure if in this format.
    I think we should add things that can change environmental variables, like whether spark can jump more than one space, whether fire produces smoke, etc. And do one of two things(well other ideas are welcomed). Either a console interface to set them(commands like help(list commands, variables), list_var -VAR(-heat will read heat on or off, all will list all values),heat = 1(heat is on), smoke = 0, smoke is off, etc) or a scrollable, mouseover menu that can uses icons to change them.

    Give your honest opinions, I think it might be useful, but I'm not going all revolutionary for this(after all it's just a suggestion).
  • Phlegmkitty4427
    25th Oct 2010 Member 0 Permalink
    I think it's a good idea
  • zc00gii
    25th Oct 2010 Banned 0 Permalink
    This post is hidden because the user is banned
  • Cr15py
    25th Oct 2010 Member 0 Permalink
    zc00gii
    You don't want a seperate config file for each simulation... and not everyone wants to, or knows how to, edit a config file every time they want to change a variable in their simulation.
  • devast8a
    25th Oct 2010 Former Staff 0 Permalink
    cr15py:
    or knows how to

    If you don't know how to edit a simple text file I doubt they'll be able to understand the idea of environmental variables.
  • tutut125
    25th Oct 2010 Member 0 Permalink
    this might be cool we also could add a pressure on/off variable
  • Cr15py
    25th Oct 2010 Member 0 Permalink
    Ok, I guess that doesn't fit, but by environmental variables I mean like whether heat is on, whether sparks jump more than one space, etc. And by icons I mean like the one to turn heat on and off. And config files are one of the worst possible ideas for this, if you want to turn off heat for your creation, you would want something like the button we currently have, not having to tell the user what to put into a file for your creation to work!
  • Xenocide
    25th Oct 2010 Former Staff 0 Permalink
    Currently being implemented:

    powder.h:144
    #define TYPE_PART 0x0001 //1 Powders
    #define TYPE_LIQUID 0x0002 //2 Liquids
    #define TYPE_SOLID 0x0004 //4 Solids
    #define TYPE_GAS 0x0008 //8 Gasses (Includes plasma)
    #define TYPE_ENERGY 0x0018 //16 Energy (Thunder, Light, Neutrons etc.)
    #define PROP_CONDUCTS 0x0020 //32 Conducts electricity (Currently Unused)
    #define PROP_BLACK 0x0040 //64 Absorbs Photons
    #define PROP_NEUTPENETRATE 0x0080 //128 Penetrated by neutrons
    #define PROP_NEUTABSORB 0x0100 //256 Absorbs neutrons, reflect is default
    #define PROP_DEADLY 0x0200 //512 Is deadly for stickman.

    METL has TYPE_SOLID|PROP_CONDUCTS
    LEAD (My mod) has TYPE_SOLID|PROP_CONDUCTS|PROP_BLACK

    Not exactly what your asking for, I know, but I thought you might be interested regardless. :P