Why doesn't this work with NEUT?

  • Videogamer555
    2nd Jan 2012 Member 0 Permalink
    Ok so I tried to set the transparent to neutrons property like this
    tpt.el.dmnd.properties=512

    but neutrons still bounce off of it. Please help.
  • ArtMaster
    2nd Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • jacksonmj
    2nd Jan 2012 Developer 0 Permalink

    jacksonmj:

    There are some things which don't yet update to reflect changes to tpt.el, they are: ...., and can_move (changes to tpt.el.properties and tpt.el.weight don't affect which elements displace which other elements).

    can_move also controls whether particles can occupy the same space, i.e. whether something is transparent to neutrons. This will be fixed in the next version.
  • Videogamer555
    2nd Jan 2012 Member 0 Permalink
    How do I change "can_move" in the Lua script? Is can_move one of the tpt.el.elem.properties things I can change? If so, which number code represents the can_move constant?
  • jacksonmj
    2nd Jan 2012 Developer 0 Permalink
    It's a 2D array (with dimensions PT_NUM x PT_NUM), and at the moment it can't be directly changed using Lua. The values in it can be indirectly affected by changing tpt.el.properties and tpt.el.weight, but it won't update when those are changed using Lua until the next update is released.
  • Videogamer555
    2nd Jan 2012 Member 0 Permalink
    What does tpt.el.weight do now then?