another dumb queston

  • ubuntupokemoninc
    6th Mar 2011 Member 0 Permalink
    Thank for helping me with the new tab, now say i need to give something the visual property of steam (i'm making bromine gas) how do i make it look like steam?

    also it keeps wanting to update i'm just gonna have to do that manuly.
  • cctvdude99
    6th Mar 2011 Member 0 Permalink
    Check steam, then try putting the bit you think makes steam do it into the bromine gas.
    I dunno I have no idea how to do these things, but I usually figure them out.
  • ubuntupokemoninc
    6th Mar 2011 Member 0 Permalink
    no its just gas, i need to make it cloudy like steam
  • MasterMind555
    6th Mar 2011 Member 0 Permalink
    I heard it's very complicated
  • Neospector
    6th Mar 2011 Member 0 Permalink

    MasterMind555:

    I heard it's very complicated

    Actually I believe here in graphics.c it's this:

    else if (ptypes[parts[i].type].properties&TYPE_GAS)
    {
    //if(parts[i].type!=PT_FIRE&&parts[i].type!=PT_SMKE&&parts[i].type!=PT_PLSM&&parts[i].type!=PT_WTRV)
    {
    cr = PIXR(ptypes[t].pcolors);
    cg = PIXG(ptypes[t].pcolors);
    cb = PIXB(ptypes[t].pcolors);
    for (x=-1; x<=1; x++)<br /> {
    for (y=-1; y<=1; y++)<br /> {
    if ((abs(x) == 0) && (abs(y) == 0))
    blendpixel(vid,x+nx,y+ny,cr,cg,cb,180);
    else if (abs(y) != 0 && abs(x) != 0)
    blendpixel(vid,x+nx,y+ny,cr,cg,cb,50);
    else
    blendpixel(vid,x+nx,y+ny,cr,cg,cb,80);
    }
    }
    }
    }
  • cctvdude99
    6th Mar 2011 Member 0 Permalink
    ... -.-

    cctv confused?
  • vanquish349
    6th Mar 2011 Member 0 Permalink
    @cctvdude99
    you just put &&parts[i].type!=PT_element just before the last ")"
  • MasterMind555
    6th Mar 2011 Member 0 Permalink
    @Neospector
    Exactly what I said, it's complicated
    LOL I suck at C++
  • ubuntupokemoninc
    6th Mar 2011 Member 0 Permalink
    simple thanks guys ;)

    now how do i keep it from wanting to update?
  • tian110796
    6th Mar 2011 Member 0 Permalink
    In defines.h there is some part that says:
    #define SAVE_VERSION 46

    change 46 there to a higher number