Ignore:
Timestamp:
12/01/20 20:48:28 (4 years ago)
Author:
sz
Message:

updated for Framsticks version 5.0rc15
most important changes:

  • added new hinge joint types and properties (Joint.h*)
  • NeuroClass? can now declare the supported model shape_types and joint_shapes
  • removed visual thickness (Part.vs)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/Framclipse/com.framsticks.framclipse/res/framscript.xml

    r906 r1042  
    7979                <element name="prefinputs" type="integer"/>
    8080                <element name="prefoutput" type="integer" min="0" max="1"/>
    81                 <element name="preflocation" type="integer" min="0" max="2"/>
     81                <element name="preflocation" type="integer" min="0" max="2" default="0"/>
     82                <element name="shape_types" type="integer" min="0" max="3" default="3"/>
     83                <element name="joint_shapes" type="integer" min="0" max="15" default="15"/>
    8284                <element name="icon" type="string"/>
    8385                <element name="vhints" type="integer"/>
     
    391393                <element name="boundingBoxCollisions" function="true" type="integer" flags="34">
    392394                        <description><![CDATA[Checks approximate collisions for the selected creature.
    393 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ).
    394 Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.]]></description>
     395Returns the collision mask calculated as ( mask & colliding_creatures.othermask ). Usually called with mask=0, which has the special meaning of using the current creature.selmask instead of 0, so that it detects the same type of collisions as the current experiment configuration.
     396Passing non-zero mask value uses it instead of creature.selfmask, allowing you to include or exclude other colliding populations, as if creature.selfmask were modified temporarily.]]></description>
    395397                        <arguments>
    396398                                <argument name="mask" type="integer"/>
     
    398400                </element>
    399401                <element name="checkCollisions" function="true" type="untyped" flags="34">
    400                         <description><![CDATA[Returns zero if creature does not collide with other creatures.
     402                        <description><![CDATA[Returns zero if the creature does not collide with other creatures.
    401403Arguments:
    402 - mask: see boundingBoxCollisions() (temporarily replaces the creature.selfmask if not zero)
     404- mask: if not zero, temporarily replaces creature.selfmask. For details see boundingBoxCollisions()
    403405- accuracy:
    404406 0 = testing creature bounding boxes
     
    11811183                </element>
    11821184                <element name="toHTMLshort" function="true" type="string" flags="2">
    1183                         <description><![CDATA[returns genotype (abbreviated if needed) expressed as colored HTML]]></description>
     1185                        <description><![CDATA[returns genotype (abbreviated if needed) in colored HTML format]]></description>
     1186                        <arguments>
     1187                                <argument type="string"/>
     1188                        </arguments>
     1189                </element>
     1190                <element name="toLaTeX" function="true" type="string" flags="2">
     1191                        <description><![CDATA[returns genotype in colored LaTeX format]]></description>
    11841192                        <arguments>
    11851193                                <argument type="string"/>
     
    12621270                        <description><![CDATA[]]></description>
    12631271                </element>
     1272                <element name="genoper_f0s" type="integer" min="0" max="0" flags="65">
     1273                        <description><![CDATA[]]></description>
     1274                </element>
    12641275                <element name="genoper_f1" type="integer" min="0" max="0" flags="65">
    12651276                        <description><![CDATA[]]></description>
     
    12931304                </element>
    12941305                <element name="genoper_fL" type="integer" min="0" max="0" flags="65">
     1306                        <description><![CDATA[]]></description>
     1307                </element>
     1308                <element name="genoper_fS" type="integer" min="0" max="0" flags="65">
    12951309                        <description><![CDATA[]]></description>
    12961310                </element>
     
    13271341                </element>
    13281342                <element name="neuadd_G" type="integer" min="0" max="1">
    1329                         <description><![CDATA[Equilibrium sensor.
     1343                        <description><![CDATA[Tilt sensor.
     1344Signal is proportional to sin(angle) = most sensitive in horizontal orientation.
    133013450=the stick is horizontal
    13311346+1/-1=the stick is vertical
     
    13371352]]></description>
    13381353                </element>
    1339                 <element name="neuadd_T" type="integer" min="0" max="1">
    1340                         <description><![CDATA[Touch sensor.
    1341 -1=no contact
    1342 0=just touching
    1343 >0=pressing, value depends on the force applied
     1354                <element name="neuadd_Gpart" type="integer" min="0" max="1">
     1355                        <description><![CDATA[Tilt sensor. Signal is directly proportional to the tilt angle.
     13560=the part X axis is horizontal
     1357+1/-1=the axis is vertical
    13441358
    13451359Characteristics:
     
    13501364
    13511365Properties:
    1352    Range (r) float 0..1 (default 1)]]></description>
    1353                 </element>
    1354                 <element name="neuadd_S" type="integer" min="0" max="1">
    1355                         <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
    1356 Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     1366   rotation.y (ry) float -6.282..6.282 (default 0)
     1367   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     1368                </element>
     1369                <element name="neuadd_T" type="integer" min="0" max="1">
     1370                        <description><![CDATA[Touch and proximity sensor (Tc+Tp combined)
     1371-1=no contact
     13720=just touching
     1373>0=pressing, value depends on the force applied (not implemented in ODE mode)
     1374
     1375Characteristics:
     1376   does not use inputs
     1377   provides output value
     1378   should be located on a Part
     1379
     1380
     1381Properties:
     1382   Range (r) float 0..1 (default 1)
     1383   rotation.y (ry) float -6.282..6.282 (default 0)
     1384   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     1385                </element>
     1386                <element name="neuadd_Tcontact" type="integer" min="0" max="1">
     1387                        <description><![CDATA[Touch sensor.
     1388-1=no contact
     13890=the Part is touching the obstacle
     1390>0=pressing, value depends on the force applied (not implemented in ODE mode)
    13571391
    13581392Characteristics:
     
    13621396]]></description>
    13631397                </element>
     1398                <element name="neuadd_Tproximity" type="integer" min="0" max="1">
     1399                        <description><![CDATA[Proximity sensor detecting obstacles along the X axis.
     1400-1=distance is "r" or more
     14010=zero distance
     1402
     1403Characteristics:
     1404   does not use inputs
     1405   provides output value
     1406   should be located on a Part
     1407
     1408
     1409Properties:
     1410   Range (r) float 0..1 (default 1)
     1411   rotation.y (ry) float -6.282..6.282 (default 0)
     1412   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     1413                </element>
     1414                <element name="neuadd_S" type="integer" min="0" max="1">
     1415                        <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
     1416Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     1417
     1418Characteristics:
     1419   does not use inputs
     1420   provides output value
     1421   should be located on a Part
     1422]]></description>
     1423                </element>
    13641424                <element name="neuadd_Constant" type="integer" min="0" max="1">
    13651425                        <description><![CDATA[Constant value
     
    13911451Properties:
    13921452   power (p) float 0.01..1 (default 1)]]></description>
     1453                </element>
     1454                <element name="neuadd_M" type="integer" min="0" max="1">
     1455                        <description><![CDATA[Characteristics:
     1456   uses single input
     1457   does not provide output value
     1458   should be located on a Joint
     1459
     1460
     1461Properties:
     1462   power (p) float 0.01..1 (default 1)
     1463   axis (a) integer 0..1 (default 0)]]></description>
    13931464                </element>
    13941465                <element name="neuadd_D" type="integer" min="0" max="1">
     
    15631634                        <description><![CDATA[]]></description>
    15641635                </element>
    1565                 <element name="f0_p_mas" type="float" min="0" max="100" default="10.0">
    1566                         <description><![CDATA[]]></description>
     1636                <element name="f0_p_den" type="float" min="0" max="100" default="0.0">
     1637                        <description><![CDATA[Density only has an influence under water]]></description>
    15671638                </element>
    15681639                <element name="f0_p_frc" type="float" min="0" max="100" default="10.0">
     
    15721643                        <description><![CDATA[]]></description>
    15731644                </element>
    1574                 <element name="f0_p_asm" type="float" min="0" max="100" default="10.0">
    1575                         <description><![CDATA[]]></description>
    1576                 </element>
    1577                 <element name="f0_p_vsiz" type="float" min="0" max="100" default="0.0">
    1578                         <description><![CDATA[]]></description>
     1645                <element name="f0_p_asm" type="float" min="0" max="100" default="0.0">
     1646                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    15791647                </element>
    15801648                <element name="f0_j_new" type="float" min="0" max="100" default="5.0">
     
    15841652                        <description><![CDATA[]]></description>
    15851653                </element>
    1586                 <element name="f0_j_stm" type="float" min="0" max="100" default="10.0">
    1587                         <description><![CDATA[]]></description>
     1654                <element name="f0_j_stm" type="float" min="0" max="100" default="0.0">
     1655                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    15881656                </element>
    15891657                <element name="f0_j_stf" type="float" min="0" max="100" default="10.0">
     
    16181686                </element>
    16191687                <element name="f0_c_wei" type="float" min="0" max="100" default="10.0">
     1688                        <description><![CDATA[]]></description>
     1689                </element>
     1690                <element name="f0s_nodel_tag" type="integer" min="0" max="1" default="1">
     1691                        <description><![CDATA[You can tag elements using their 'i' field and the i="mi=d" tag.
     1692Mutations will not delete such elements.
     1693The i="mi=dm" combination is allowed.]]></description>
     1694                </element>
     1695                <element name="f0s_nomod_tag" type="integer" min="0" max="1" default="1">
     1696                        <description><![CDATA[You can tag elements using their 'i' field and the i="mi=m" tag.
     1697Mutations will not modify properties of such elements.
     1698The i="mi=md" combination is allowed.]]></description>
     1699                </element>
     1700                <element name="f0s_circle_section" type="integer" min="0" max="1" default="1">
     1701                        <description><![CDATA[Ensure that ellipsoids and cylinders have circle cross-section]]></description>
     1702                </element>
     1703                <element name="f0s_use_elli" type="integer" min="0" max="1" default="1">
     1704                        <description><![CDATA[Use ellipsoids in mutations]]></description>
     1705                </element>
     1706                <element name="f0s_use_cub" type="integer" min="0" max="1" default="1">
     1707                        <description><![CDATA[Use cuboids in mutations]]></description>
     1708                </element>
     1709                <element name="f0s_use_cyl" type="integer" min="0" max="1" default="1">
     1710                        <description><![CDATA[Use cylinders in mutations]]></description>
     1711                </element>
     1712                <element name="f0s_p_new" type="float" min="0" max="100" default="5.0">
     1713                        <description><![CDATA[]]></description>
     1714                </element>
     1715                <element name="f0s_p_del" type="float" min="0" max="100" default="5.0">
     1716                        <description><![CDATA[]]></description>
     1717                </element>
     1718                <element name="f0s_p_swp" type="float" min="0" max="100" default="10.0">
     1719                        <description><![CDATA[]]></description>
     1720                </element>
     1721                <element name="f0s_p_pos" type="float" min="0" max="100" default="10.0">
     1722                        <description><![CDATA[]]></description>
     1723                </element>
     1724                <element name="f0s_p_scale" type="float" min="0" max="100" default="10.0">
     1725                        <description><![CDATA[]]></description>
     1726                </element>
     1727                <element name="f0s_p_frc" type="float" min="0" max="100" default="10.0">
     1728                        <description><![CDATA[]]></description>
     1729                </element>
     1730                <element name="f0s_p_ing" type="float" min="0" max="100" default="10.0">
     1731                        <description><![CDATA[]]></description>
     1732                </element>
     1733                <element name="f0s_p_asm" type="float" min="0" max="100" default="0.0">
     1734                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
     1735                </element>
     1736                <element name="f0s_p_vsiz" type="float" min="0" max="100" default="0.0">
     1737                        <description><![CDATA[]]></description>
     1738                </element>
     1739                <element name="f0s_j_new" type="float" min="0" max="100" default="5.0">
     1740                        <description><![CDATA[]]></description>
     1741                </element>
     1742                <element name="f0s_j_del" type="float" min="0" max="100" default="5.0">
     1743                        <description><![CDATA[]]></description>
     1744                </element>
     1745                <element name="f0s_j_stm" type="float" min="0" max="100" default="0.0">
     1746                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
     1747                </element>
     1748                <element name="f0s_j_vred" type="float" min="0" max="100" default="0.0">
     1749                        <description><![CDATA[]]></description>
     1750                </element>
     1751                <element name="f0s_j_vgrn" type="float" min="0" max="100" default="0.0">
     1752                        <description><![CDATA[]]></description>
     1753                </element>
     1754                <element name="f0s_j_vblu" type="float" min="0" max="100" default="0.0">
     1755                        <description><![CDATA[]]></description>
     1756                </element>
     1757                <element name="f0s_n_new" type="float" min="0" max="100" default="5.0">
     1758                        <description><![CDATA[]]></description>
     1759                </element>
     1760                <element name="f0s_n_del" type="float" min="0" max="100" default="5.0">
     1761                        <description><![CDATA[]]></description>
     1762                </element>
     1763                <element name="f0s_n_prp" type="float" min="0" max="100" default="10.0">
     1764                        <description><![CDATA[]]></description>
     1765                </element>
     1766                <element name="f0s_c_new" type="float" min="0" max="100" default="5.0">
     1767                        <description><![CDATA[]]></description>
     1768                </element>
     1769                <element name="f0s_c_del" type="float" min="0" max="100" default="5.0">
     1770                        <description><![CDATA[]]></description>
     1771                </element>
     1772                <element name="f0s_c_wei" type="float" min="0" max="100" default="10.0">
    16201773                        <description><![CDATA[]]></description>
    16211774                </element>
     
    16311784                <element name="f1_smComma" type="float" min="0" max="100" default="0.02"/>
    16321785                <element name="f1_smModif" type="float" min="0" max="100" default="0.1">
    1633                         <description><![CDATA[Modifiers: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh]]></description>
     1786                        <description><![CDATA[Modifiers: LlRrCcQqFfMmIiEeWwAaSsDdGgBb]]></description>
    16341787                </element>
    16351788                <element name="f1_mut_exmod" type="string" max="30">
    16361789                        <description><![CDATA[Modifiers that will not be added nor deleted during mutation
    1637 (all: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh)]]></description>
     1790(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBb)]]></description>
    16381791                </element>
    16391792                <element name="f1_nmNeu" type="float" min="0" max="100" default="0.05">
     
    17221875                <element name="f4_mut_exmod" type="string" max="30">
    17231876                        <description><![CDATA[Modifiers that will not be added nor deleted during mutation
    1724 (all: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh)]]></description>
     1877(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBb)]]></description>
    17251878                </element>
    17261879                <element name="f8_mut_chg_begin_arg" type="float" min="0" max="100" default="7.0">
     
    18982051                <element name="fL_mut_deletion" type="float" min="0" max="1" default="0.2">
    18992052                        <description><![CDATA[Probability of deleting random word from axiom or random successor (also deletes rule if there is only one word in successor)]]></description>
     2053                </element>
     2054                <element name="fS_mut_add_part" type="float" min="0" max="100" default="10.0">
     2055                        <description><![CDATA[mutation: probability of adding a part]]></description>
     2056                </element>
     2057                <element name="fS_mut_rem_part" type="float" min="0" max="100" default="10.0">
     2058                        <description><![CDATA[mutation: probability of deleting a part]]></description>
     2059                </element>
     2060                <element name="fS_mut_mod_part" type="float" min="0" max="100" default="10.0">
     2061                        <description><![CDATA[mutation: probability of changing the part type]]></description>
     2062                </element>
     2063                <element name="fS_mut_change_joint" type="float" min="0" max="100" default="10.0">
     2064                        <description><![CDATA[mutation: probability of changing a joint]]></description>
     2065                </element>
     2066                <element name="fS_mut_add_param" type="float" min="0" max="100" default="10.0">
     2067                        <description><![CDATA[mutation: probability of adding a parameter]]></description>
     2068                </element>
     2069                <element name="fS_mut_rem_param" type="float" min="0" max="100" default="10.0">
     2070                        <description><![CDATA[mutation: probability of removing a parameter]]></description>
     2071                </element>
     2072                <element name="fS_mut_mod_param" type="float" min="0" max="100" default="10.0">
     2073                        <description><![CDATA[mutation: probability of modifying a parameter]]></description>
     2074                </element>
     2075                <element name="fS_mut_mod_mod" type="float" min="0" max="100" default="10.0">
     2076                        <description><![CDATA[mutation: probability of modifying a modifier]]></description>
     2077                </element>
     2078                <element name="fS_mut_add_neuro" type="float" min="0" max="100" default="10.0">
     2079                        <description><![CDATA[mutation: probability of adding a neuron]]></description>
     2080                </element>
     2081                <element name="fS_mut_rem_neuro" type="float" min="0" max="100" default="10.0">
     2082                        <description><![CDATA[mutation: probability of removing a neuron]]></description>
     2083                </element>
     2084                <element name="fS_mut_mod_neuro_conn" type="float" min="0" max="100" default="10.0">
     2085                        <description><![CDATA[mutation: probability of changing a neuron connection]]></description>
     2086                </element>
     2087                <element name="fS_mut_add_neuro_conn" type="float" min="0" max="100" default="10.0">
     2088                        <description><![CDATA[mutation: probability of adding a neuron connection]]></description>
     2089                </element>
     2090                <element name="fS_mut_rem_neuro_conn" type="float" min="0" max="100" default="10.0">
     2091                        <description><![CDATA[mutation: probability of removing a neuron connection]]></description>
     2092                </element>
     2093                <element name="fS_mut_mod_neuro_params" type="float" min="0" max="100" default="10.0">
     2094                        <description><![CDATA[mutation: probability of changing a neuron param]]></description>
     2095                </element>
     2096                <element name="fS_circle_section" type="integer" min="0" max="1" default="1">
     2097                        <description><![CDATA[Ensure that ellipsoids and cylinders have circle cross-section]]></description>
     2098                </element>
     2099                <element name="fS_use_elli" type="integer" min="0" max="1" default="1">
     2100                        <description><![CDATA[Use ellipsoids in mutations]]></description>
     2101                </element>
     2102                <element name="fS_use_cub" type="integer" min="0" max="1" default="1">
     2103                        <description><![CDATA[Use cuboids in mutations]]></description>
     2104                </element>
     2105                <element name="fS_use_cyl" type="integer" min="0" max="1" default="1">
     2106                        <description><![CDATA[Use cylinders in mutations]]></description>
     2107                </element>
     2108                <element name="fS_mut_add_part_strong" type="integer" min="0" max="1" default="1">
     2109                        <description><![CDATA[Add part mutation will produce more parametrized parts]]></description>
    19002110                </element>
    19012111        </type>
     
    22562466                <element name="dy" type="float" min="-2" max="2" default="0.0" flags="1024"/>
    22572467                <element name="dz" type="float" min="-2" max="2" default="0.0" flags="1024"/>
    2258                 <element name="sh" type="integer" min="0" max="1" default="0"/>
     2468                <element name="sh" type="integer" min="0" max="3" default="0"/>
     2469                <element name="hx" type="float"/>
     2470                <element name="hy" type="float" flags="1024"/>
     2471                <element name="hz" type="float" flags="1024"/>
     2472                <element name="hrx" type="float"/>
     2473                <element name="hry" type="float" flags="1024"/>
     2474                <element name="hrz" type="float" flags="1024"/>
     2475                <element name="hxn" type="float" min="-6.2832" max="0" default="-1.5708"/>
     2476                <element name="hxp" type="float" min="0" max="6.2832" default="1.5708" flags="1024"/>
     2477                <element name="hyn" type="float" min="-6.2832" max="0" default="-1.5708"/>
     2478                <element name="hyp" type="float" min="0" max="6.2832" default="1.5708" flags="1024"/>
    22592479                <element name="stif" type="float" min="0" max="1" default="1.0"/>
    22602480                <element name="rotstif" type="float" min="0" max="1" default="1.0"/>
     
    24492669                <element name="stress" type="float" flags="1"/>
    24502670                <element name="rotstress" type="float" flags="1"/>
     2671                <element name="joint" type="Joint" flags="1">
     2672                        <description><![CDATA[corresponding Joint object]]></description>
     2673                </element>
    24512674        </type>
    24522675        <type name="MechPart" context="Global context">
     
    24802703                        </arguments>
    24812704                </element>
     2705                <element name="part" type="Part" flags="1">
     2706                        <description><![CDATA[corresponding Part object]]></description>
     2707                </element>
    24822708        </type>
    24832709        <type name="Model" context="Global context">
     
    27372963                <element name="position_y" type="float" flags="1"/>
    27382964                <element name="position_z" type="float" flags="1"/>
     2965                <element name="relative_pos" type="XYZ" flags="1"/>
     2966                <element name="relative_orient" type="Orient" flags="1"/>
    27392967                <element name="creature" type="Creature" flags="1"/>
    2740                 <element name="part" type="MechPart" flags="1"/>
    2741                 <element name="joint" type="MechJoint" flags="1"/>
     2968                <element name="mechpart" type="MechPart" flags="1">
     2969                        <description><![CDATA[The MechPart object where this neuron is located]]></description>
     2970                </element>
     2971                <element name="mechjoint" type="MechJoint" flags="1">
     2972                        <description><![CDATA[The MechJoint object where this neuron is located]]></description>
     2973                </element>
    27422974                <element name="neuroproperties" type="NeuroProperties" flags="1">
    27432975                        <description><![CDATA[Neurons can have different fields depending on their class. Script neurons have their fields defined using the "property:" syntax. If you develop a custom neuron script you should use the NeuroProperties object for accessing your own neuron fields. The Neuro.neuroproperties property is meant for accessing the neuron fields from the outside script.
     
    27753007                </element>
    27763008                <element name="preflocation" type="integer" min="0" max="2"/>
     3009                <element name="shape_types" type="integer" min="0" max="3" default="3">
     3010                        <description><![CDATA[Bit mask of supported (1<<Model::ShapeType) values, default 3=all shape types supported]]></description>
     3011                </element>
     3012                <element name="joint_shapes" type="integer" min="0" max="15" default="15">
     3013                        <description><![CDATA[Bit mask of supported (1<<Joint::Shape) values, default 15=all joint shapes supported]]></description>
     3014                </element>
    27773015                <element name="visualhints" type="integer">
    27783016                        <description><![CDATA[This is a bitfield. Compute the value by adding the following bits:
     
    28853123                </element>
    28863124                <element name="ncl_G" type="integer" min="0" max="1">
    2887                         <description><![CDATA[Equilibrium sensor.
     3125                        <description><![CDATA[Tilt sensor.
     3126Signal is proportional to sin(angle) = most sensitive in horizontal orientation.
    288831270=the stick is horizontal
    28893128+1/-1=the stick is vertical
     
    28953134]]></description>
    28963135                </element>
    2897                 <element name="ncl_T" type="integer" min="0" max="1">
    2898                         <description><![CDATA[Touch sensor.
    2899 -1=no contact
    2900 0=just touching
    2901 >0=pressing, value depends on the force applied
     3136                <element name="ncl_Gpart" type="integer" min="0" max="1">
     3137                        <description><![CDATA[Tilt sensor. Signal is directly proportional to the tilt angle.
     31380=the part X axis is horizontal
     3139+1/-1=the axis is vertical
    29023140
    29033141Characteristics:
     
    29083146
    29093147Properties:
    2910    Range (r) float 0..1 (default 1)]]></description>
    2911                 </element>
    2912                 <element name="ncl_S" type="integer" min="0" max="1">
    2913                         <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
    2914 Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     3148   rotation.y (ry) float -6.282..6.282 (default 0)
     3149   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     3150                </element>
     3151                <element name="ncl_T" type="integer" min="0" max="1">
     3152                        <description><![CDATA[Touch and proximity sensor (Tc+Tp combined)
     3153-1=no contact
     31540=just touching
     3155>0=pressing, value depends on the force applied (not implemented in ODE mode)
     3156
     3157Characteristics:
     3158   does not use inputs
     3159   provides output value
     3160   should be located on a Part
     3161
     3162
     3163Properties:
     3164   Range (r) float 0..1 (default 1)
     3165   rotation.y (ry) float -6.282..6.282 (default 0)
     3166   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     3167                </element>
     3168                <element name="ncl_Tcontact" type="integer" min="0" max="1">
     3169                        <description><![CDATA[Touch sensor.
     3170-1=no contact
     31710=the Part is touching the obstacle
     3172>0=pressing, value depends on the force applied (not implemented in ODE mode)
    29153173
    29163174Characteristics:
     
    29203178]]></description>
    29213179                </element>
     3180                <element name="ncl_Tproximity" type="integer" min="0" max="1">
     3181                        <description><![CDATA[Proximity sensor detecting obstacles along the X axis.
     3182-1=distance is "r" or more
     31830=zero distance
     3184
     3185Characteristics:
     3186   does not use inputs
     3187   provides output value
     3188   should be located on a Part
     3189
     3190
     3191Properties:
     3192   Range (r) float 0..1 (default 1)
     3193   rotation.y (ry) float -6.282..6.282 (default 0)
     3194   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     3195                </element>
     3196                <element name="ncl_S" type="integer" min="0" max="1">
     3197                        <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
     3198Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     3199
     3200Characteristics:
     3201   does not use inputs
     3202   provides output value
     3203   should be located on a Part
     3204]]></description>
     3205                </element>
    29223206                <element name="ncl_Constant" type="integer" min="0" max="1">
    29233207                        <description><![CDATA[Constant value
     
    29493233Properties:
    29503234   power (p) float 0.01..1 (default 1)]]></description>
     3235                </element>
     3236                <element name="ncl_M" type="integer" min="0" max="1">
     3237                        <description><![CDATA[Characteristics:
     3238   uses single input
     3239   does not provide output value
     3240   should be located on a Joint
     3241
     3242
     3243Properties:
     3244   power (p) float 0.01..1 (default 1)
     3245   axis (a) integer 0..1 (default 0)]]></description>
    29513246                </element>
    29523247                <element name="ncl_D" type="integer" min="0" max="1">
     
    33233618                <element name="sh" type="integer" min="0" max="3" default="0"/>
    33243619                <element name="s" type="float" min="0.1" max="10" default="1.0"/>
    3325                 <element name="sx" type="float" min="0.001" max="1000" default="1.0"/>
    3326                 <element name="sy" type="float" min="0.001" max="1000" default="1.0"/>
    3327                 <element name="sz" type="float" min="0.001" max="1000" default="1.0"/>
     3620                <element name="sx" type="float" min="0.05" max="5" default="1.0"/>
     3621                <element name="sy" type="float" min="0.05" max="5" default="1.0"/>
     3622                <element name="sz" type="float" min="0.05" max="5" default="1.0"/>
    33283623                <element name="h" type="float" min="0" max="1" default="0.0"/>
    33293624                <element name="dn" type="float" min="0.2" max="5" default="1.0"/>
     
    33363631                <element name="i" type="string"/>
    33373632                <element name="Vstyle" type="string" default="part"/>
    3338                 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/>
    33393633                <element name="vr" type="float" min="0" max="1" default="1.0"/>
    33403634                <element name="vg" type="float" min="0" max="1" default="1.0" flags="1024"/>
     
    41564450                </element>
    41574451                <element name="toHTMLshort" function="true" type="string" flags="2">
    4158                         <description><![CDATA[returns genotype (abbreviated if needed) expressed as colored HTML]]></description>
     4452                        <description><![CDATA[returns genotype (abbreviated if needed) in colored HTML format]]></description>
     4453                        <arguments>
     4454                                <argument type="string"/>
     4455                        </arguments>
     4456                </element>
     4457                <element name="toLaTeX" function="true" type="string" flags="2">
     4458                        <description><![CDATA[returns genotype in colored LaTeX format]]></description>
    41594459                        <arguments>
    41604460                                <argument type="string"/>
     
    41894489                        <description><![CDATA[]]></description>
    41904490                </element>
     4491                <element name="genoper_f0s" type="integer" min="0" max="0" flags="65">
     4492                        <description><![CDATA[]]></description>
     4493                </element>
    41914494                <element name="genoper_f1" type="integer" min="0" max="0" flags="65">
    41924495                        <description><![CDATA[]]></description>
     
    42204523                </element>
    42214524                <element name="genoper_fL" type="integer" min="0" max="0" flags="65">
     4525                        <description><![CDATA[]]></description>
     4526                </element>
     4527                <element name="genoper_fS" type="integer" min="0" max="0" flags="65">
    42224528                        <description><![CDATA[]]></description>
    42234529                </element>
     
    42544560                </element>
    42554561                <element name="neuadd_G" type="integer" min="0" max="1">
    4256                         <description><![CDATA[Equilibrium sensor.
     4562                        <description><![CDATA[Tilt sensor.
     4563Signal is proportional to sin(angle) = most sensitive in horizontal orientation.
    425745640=the stick is horizontal
    42584565+1/-1=the stick is vertical
     
    42644571]]></description>
    42654572                </element>
    4266                 <element name="neuadd_T" type="integer" min="0" max="1">
    4267                         <description><![CDATA[Touch sensor.
    4268 -1=no contact
    4269 0=just touching
    4270 >0=pressing, value depends on the force applied
     4573                <element name="neuadd_Gpart" type="integer" min="0" max="1">
     4574                        <description><![CDATA[Tilt sensor. Signal is directly proportional to the tilt angle.
     45750=the part X axis is horizontal
     4576+1/-1=the axis is vertical
    42714577
    42724578Characteristics:
     
    42774583
    42784584Properties:
    4279    Range (r) float 0..1 (default 1)]]></description>
    4280                 </element>
    4281                 <element name="neuadd_S" type="integer" min="0" max="1">
    4282                         <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
    4283 Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     4585   rotation.y (ry) float -6.282..6.282 (default 0)
     4586   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     4587                </element>
     4588                <element name="neuadd_T" type="integer" min="0" max="1">
     4589                        <description><![CDATA[Touch and proximity sensor (Tc+Tp combined)
     4590-1=no contact
     45910=just touching
     4592>0=pressing, value depends on the force applied (not implemented in ODE mode)
     4593
     4594Characteristics:
     4595   does not use inputs
     4596   provides output value
     4597   should be located on a Part
     4598
     4599
     4600Properties:
     4601   Range (r) float 0..1 (default 1)
     4602   rotation.y (ry) float -6.282..6.282 (default 0)
     4603   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     4604                </element>
     4605                <element name="neuadd_Tcontact" type="integer" min="0" max="1">
     4606                        <description><![CDATA[Touch sensor.
     4607-1=no contact
     46080=the Part is touching the obstacle
     4609>0=pressing, value depends on the force applied (not implemented in ODE mode)
    42844610
    42854611Characteristics:
     
    42894615]]></description>
    42904616                </element>
     4617                <element name="neuadd_Tproximity" type="integer" min="0" max="1">
     4618                        <description><![CDATA[Proximity sensor detecting obstacles along the X axis.
     4619-1=distance is "r" or more
     46200=zero distance
     4621
     4622Characteristics:
     4623   does not use inputs
     4624   provides output value
     4625   should be located on a Part
     4626
     4627
     4628Properties:
     4629   Range (r) float 0..1 (default 1)
     4630   rotation.y (ry) float -6.282..6.282 (default 0)
     4631   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     4632                </element>
     4633                <element name="neuadd_S" type="integer" min="0" max="1">
     4634                        <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
     4635Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     4636
     4637Characteristics:
     4638   does not use inputs
     4639   provides output value
     4640   should be located on a Part
     4641]]></description>
     4642                </element>
    42914643                <element name="neuadd_Constant" type="integer" min="0" max="1">
    42924644                        <description><![CDATA[Constant value
     
    43184670Properties:
    43194671   power (p) float 0.01..1 (default 1)]]></description>
     4672                </element>
     4673                <element name="neuadd_M" type="integer" min="0" max="1">
     4674                        <description><![CDATA[Characteristics:
     4675   uses single input
     4676   does not provide output value
     4677   should be located on a Joint
     4678
     4679
     4680Properties:
     4681   power (p) float 0.01..1 (default 1)
     4682   axis (a) integer 0..1 (default 0)]]></description>
    43204683                </element>
    43214684                <element name="neuadd_D" type="integer" min="0" max="1">
     
    44904853                        <description><![CDATA[]]></description>
    44914854                </element>
    4492                 <element name="f0_p_mas" type="float" min="0" max="100" default="10.0">
    4493                         <description><![CDATA[]]></description>
     4855                <element name="f0_p_den" type="float" min="0" max="100" default="0.0">
     4856                        <description><![CDATA[Density only has an influence under water]]></description>
    44944857                </element>
    44954858                <element name="f0_p_frc" type="float" min="0" max="100" default="10.0">
     
    44994862                        <description><![CDATA[]]></description>
    45004863                </element>
    4501                 <element name="f0_p_asm" type="float" min="0" max="100" default="10.0">
    4502                         <description><![CDATA[]]></description>
    4503                 </element>
    4504                 <element name="f0_p_vsiz" type="float" min="0" max="100" default="0.0">
    4505                         <description><![CDATA[]]></description>
     4864                <element name="f0_p_asm" type="float" min="0" max="100" default="0.0">
     4865                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    45064866                </element>
    45074867                <element name="f0_j_new" type="float" min="0" max="100" default="5.0">
     
    45114871                        <description><![CDATA[]]></description>
    45124872                </element>
    4513                 <element name="f0_j_stm" type="float" min="0" max="100" default="10.0">
    4514                         <description><![CDATA[]]></description>
     4873                <element name="f0_j_stm" type="float" min="0" max="100" default="0.0">
     4874                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
    45154875                </element>
    45164876                <element name="f0_j_stf" type="float" min="0" max="100" default="10.0">
     
    45454905                </element>
    45464906                <element name="f0_c_wei" type="float" min="0" max="100" default="10.0">
     4907                        <description><![CDATA[]]></description>
     4908                </element>
     4909                <element name="f0s_nodel_tag" type="integer" min="0" max="1" default="1">
     4910                        <description><![CDATA[You can tag elements using their 'i' field and the i="mi=d" tag.
     4911Mutations will not delete such elements.
     4912The i="mi=dm" combination is allowed.]]></description>
     4913                </element>
     4914                <element name="f0s_nomod_tag" type="integer" min="0" max="1" default="1">
     4915                        <description><![CDATA[You can tag elements using their 'i' field and the i="mi=m" tag.
     4916Mutations will not modify properties of such elements.
     4917The i="mi=md" combination is allowed.]]></description>
     4918                </element>
     4919                <element name="f0s_circle_section" type="integer" min="0" max="1" default="1">
     4920                        <description><![CDATA[Ensure that ellipsoids and cylinders have circle cross-section]]></description>
     4921                </element>
     4922                <element name="f0s_use_elli" type="integer" min="0" max="1" default="1">
     4923                        <description><![CDATA[Use ellipsoids in mutations]]></description>
     4924                </element>
     4925                <element name="f0s_use_cub" type="integer" min="0" max="1" default="1">
     4926                        <description><![CDATA[Use cuboids in mutations]]></description>
     4927                </element>
     4928                <element name="f0s_use_cyl" type="integer" min="0" max="1" default="1">
     4929                        <description><![CDATA[Use cylinders in mutations]]></description>
     4930                </element>
     4931                <element name="f0s_p_new" type="float" min="0" max="100" default="5.0">
     4932                        <description><![CDATA[]]></description>
     4933                </element>
     4934                <element name="f0s_p_del" type="float" min="0" max="100" default="5.0">
     4935                        <description><![CDATA[]]></description>
     4936                </element>
     4937                <element name="f0s_p_swp" type="float" min="0" max="100" default="10.0">
     4938                        <description><![CDATA[]]></description>
     4939                </element>
     4940                <element name="f0s_p_pos" type="float" min="0" max="100" default="10.0">
     4941                        <description><![CDATA[]]></description>
     4942                </element>
     4943                <element name="f0s_p_scale" type="float" min="0" max="100" default="10.0">
     4944                        <description><![CDATA[]]></description>
     4945                </element>
     4946                <element name="f0s_p_frc" type="float" min="0" max="100" default="10.0">
     4947                        <description><![CDATA[]]></description>
     4948                </element>
     4949                <element name="f0s_p_ing" type="float" min="0" max="100" default="10.0">
     4950                        <description><![CDATA[]]></description>
     4951                </element>
     4952                <element name="f0s_p_asm" type="float" min="0" max="100" default="0.0">
     4953                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
     4954                </element>
     4955                <element name="f0s_p_vsiz" type="float" min="0" max="100" default="0.0">
     4956                        <description><![CDATA[]]></description>
     4957                </element>
     4958                <element name="f0s_j_new" type="float" min="0" max="100" default="5.0">
     4959                        <description><![CDATA[]]></description>
     4960                </element>
     4961                <element name="f0s_j_del" type="float" min="0" max="100" default="5.0">
     4962                        <description><![CDATA[]]></description>
     4963                </element>
     4964                <element name="f0s_j_stm" type="float" min="0" max="100" default="0.0">
     4965                        <description><![CDATA[The interpretation and influence of this property must be implemented by the experiment definition]]></description>
     4966                </element>
     4967                <element name="f0s_j_vred" type="float" min="0" max="100" default="0.0">
     4968                        <description><![CDATA[]]></description>
     4969                </element>
     4970                <element name="f0s_j_vgrn" type="float" min="0" max="100" default="0.0">
     4971                        <description><![CDATA[]]></description>
     4972                </element>
     4973                <element name="f0s_j_vblu" type="float" min="0" max="100" default="0.0">
     4974                        <description><![CDATA[]]></description>
     4975                </element>
     4976                <element name="f0s_n_new" type="float" min="0" max="100" default="5.0">
     4977                        <description><![CDATA[]]></description>
     4978                </element>
     4979                <element name="f0s_n_del" type="float" min="0" max="100" default="5.0">
     4980                        <description><![CDATA[]]></description>
     4981                </element>
     4982                <element name="f0s_n_prp" type="float" min="0" max="100" default="10.0">
     4983                        <description><![CDATA[]]></description>
     4984                </element>
     4985                <element name="f0s_c_new" type="float" min="0" max="100" default="5.0">
     4986                        <description><![CDATA[]]></description>
     4987                </element>
     4988                <element name="f0s_c_del" type="float" min="0" max="100" default="5.0">
     4989                        <description><![CDATA[]]></description>
     4990                </element>
     4991                <element name="f0s_c_wei" type="float" min="0" max="100" default="10.0">
    45474992                        <description><![CDATA[]]></description>
    45484993                </element>
     
    45585003                <element name="f1_smComma" type="float" min="0" max="100" default="0.02"/>
    45595004                <element name="f1_smModif" type="float" min="0" max="100" default="0.1">
    4560                         <description><![CDATA[Modifiers: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh]]></description>
     5005                        <description><![CDATA[Modifiers: LlRrCcQqFfMmIiEeWwAaSsDdGgBb]]></description>
    45615006                </element>
    45625007                <element name="f1_mut_exmod" type="string" max="30">
    45635008                        <description><![CDATA[Modifiers that will not be added nor deleted during mutation
    4564 (all: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh)]]></description>
     5009(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBb)]]></description>
    45655010                </element>
    45665011                <element name="f1_nmNeu" type="float" min="0" max="100" default="0.05">
     
    46495094                <element name="f4_mut_exmod" type="string" max="30">
    46505095                        <description><![CDATA[Modifiers that will not be added nor deleted during mutation
    4651 (all: LlRrCcQqFfMmIiEeWwAaSsDdGgBbHh)]]></description>
     5096(all: LlRrCcQqFfMmIiEeWwAaSsDdGgBb)]]></description>
    46525097                </element>
    46535098                <element name="f8_mut_chg_begin_arg" type="float" min="0" max="100" default="7.0">
     
    48255270                <element name="fL_mut_deletion" type="float" min="0" max="1" default="0.2">
    48265271                        <description><![CDATA[Probability of deleting random word from axiom or random successor (also deletes rule if there is only one word in successor)]]></description>
     5272                </element>
     5273                <element name="fS_mut_add_part" type="float" min="0" max="100" default="10.0">
     5274                        <description><![CDATA[mutation: probability of adding a part]]></description>
     5275                </element>
     5276                <element name="fS_mut_rem_part" type="float" min="0" max="100" default="10.0">
     5277                        <description><![CDATA[mutation: probability of deleting a part]]></description>
     5278                </element>
     5279                <element name="fS_mut_mod_part" type="float" min="0" max="100" default="10.0">
     5280                        <description><![CDATA[mutation: probability of changing the part type]]></description>
     5281                </element>
     5282                <element name="fS_mut_change_joint" type="float" min="0" max="100" default="10.0">
     5283                        <description><![CDATA[mutation: probability of changing a joint]]></description>
     5284                </element>
     5285                <element name="fS_mut_add_param" type="float" min="0" max="100" default="10.0">
     5286                        <description><![CDATA[mutation: probability of adding a parameter]]></description>
     5287                </element>
     5288                <element name="fS_mut_rem_param" type="float" min="0" max="100" default="10.0">
     5289                        <description><![CDATA[mutation: probability of removing a parameter]]></description>
     5290                </element>
     5291                <element name="fS_mut_mod_param" type="float" min="0" max="100" default="10.0">
     5292                        <description><![CDATA[mutation: probability of modifying a parameter]]></description>
     5293                </element>
     5294                <element name="fS_mut_mod_mod" type="float" min="0" max="100" default="10.0">
     5295                        <description><![CDATA[mutation: probability of modifying a modifier]]></description>
     5296                </element>
     5297                <element name="fS_mut_add_neuro" type="float" min="0" max="100" default="10.0">
     5298                        <description><![CDATA[mutation: probability of adding a neuron]]></description>
     5299                </element>
     5300                <element name="fS_mut_rem_neuro" type="float" min="0" max="100" default="10.0">
     5301                        <description><![CDATA[mutation: probability of removing a neuron]]></description>
     5302                </element>
     5303                <element name="fS_mut_mod_neuro_conn" type="float" min="0" max="100" default="10.0">
     5304                        <description><![CDATA[mutation: probability of changing a neuron connection]]></description>
     5305                </element>
     5306                <element name="fS_mut_add_neuro_conn" type="float" min="0" max="100" default="10.0">
     5307                        <description><![CDATA[mutation: probability of adding a neuron connection]]></description>
     5308                </element>
     5309                <element name="fS_mut_rem_neuro_conn" type="float" min="0" max="100" default="10.0">
     5310                        <description><![CDATA[mutation: probability of removing a neuron connection]]></description>
     5311                </element>
     5312                <element name="fS_mut_mod_neuro_params" type="float" min="0" max="100" default="10.0">
     5313                        <description><![CDATA[mutation: probability of changing a neuron param]]></description>
     5314                </element>
     5315                <element name="fS_circle_section" type="integer" min="0" max="1" default="1">
     5316                        <description><![CDATA[Ensure that ellipsoids and cylinders have circle cross-section]]></description>
     5317                </element>
     5318                <element name="fS_use_elli" type="integer" min="0" max="1" default="1">
     5319                        <description><![CDATA[Use ellipsoids in mutations]]></description>
     5320                </element>
     5321                <element name="fS_use_cub" type="integer" min="0" max="1" default="1">
     5322                        <description><![CDATA[Use cuboids in mutations]]></description>
     5323                </element>
     5324                <element name="fS_use_cyl" type="integer" min="0" max="1" default="1">
     5325                        <description><![CDATA[Use cylinders in mutations]]></description>
     5326                </element>
     5327                <element name="fS_mut_add_part_strong" type="integer" min="0" max="1" default="1">
     5328                        <description><![CDATA[Add part mutation will produce more parametrized parts]]></description>
    48275329                </element>
    48285330                <element name="genkonw0" type="integer" min="0" max="1"/>
     
    48375339                <element name="genkonw9" type="integer" min="0" max="1"/>
    48385340                <element name="genkonw10" type="integer" min="0" max="1"/>
     5341                <element name="genkonw11" type="integer" min="0" max="1"/>
    48395342                <element name="randinit" type="float" min="0" max="10" default="0.01">
    48405343                        <description><![CDATA[Allowed range for initializing all neuron states with uniform distribution random numbers and zero mean. Set to 0 for deterministic initialization.]]></description>
     
    48825385                </element>
    48835386                <element name="ncl_G" type="integer" min="0" max="1">
    4884                         <description><![CDATA[Equilibrium sensor.
     5387                        <description><![CDATA[Tilt sensor.
     5388Signal is proportional to sin(angle) = most sensitive in horizontal orientation.
    488553890=the stick is horizontal
    48865390+1/-1=the stick is vertical
     
    48925396]]></description>
    48935397                </element>
    4894                 <element name="ncl_T" type="integer" min="0" max="1">
    4895                         <description><![CDATA[Touch sensor.
    4896 -1=no contact
    4897 0=just touching
    4898 >0=pressing, value depends on the force applied
     5398                <element name="ncl_Gpart" type="integer" min="0" max="1">
     5399                        <description><![CDATA[Tilt sensor. Signal is directly proportional to the tilt angle.
     54000=the part X axis is horizontal
     5401+1/-1=the axis is vertical
    48995402
    49005403Characteristics:
     
    49055408
    49065409Properties:
    4907    Range (r) float 0..1 (default 1)]]></description>
    4908                 </element>
    4909                 <element name="ncl_S" type="integer" min="0" max="1">
    4910                         <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
    4911 Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     5410   rotation.y (ry) float -6.282..6.282 (default 0)
     5411   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     5412                </element>
     5413                <element name="ncl_T" type="integer" min="0" max="1">
     5414                        <description><![CDATA[Touch and proximity sensor (Tc+Tp combined)
     5415-1=no contact
     54160=just touching
     5417>0=pressing, value depends on the force applied (not implemented in ODE mode)
     5418
     5419Characteristics:
     5420   does not use inputs
     5421   provides output value
     5422   should be located on a Part
     5423
     5424
     5425Properties:
     5426   Range (r) float 0..1 (default 1)
     5427   rotation.y (ry) float -6.282..6.282 (default 0)
     5428   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     5429                </element>
     5430                <element name="ncl_Tcontact" type="integer" min="0" max="1">
     5431                        <description><![CDATA[Touch sensor.
     5432-1=no contact
     54330=the Part is touching the obstacle
     5434>0=pressing, value depends on the force applied (not implemented in ODE mode)
    49125435
    49135436Characteristics:
     
    49175440]]></description>
    49185441                </element>
     5442                <element name="ncl_Tproximity" type="integer" min="0" max="1">
     5443                        <description><![CDATA[Proximity sensor detecting obstacles along the X axis.
     5444-1=distance is "r" or more
     54450=zero distance
     5446
     5447Characteristics:
     5448   does not use inputs
     5449   provides output value
     5450   should be located on a Part
     5451
     5452
     5453Properties:
     5454   Range (r) float 0..1 (default 1)
     5455   rotation.y (ry) float -6.282..6.282 (default 0)
     5456   rotation.z (rz) float -6.282..6.282 (default 0)]]></description>
     5457                </element>
     5458                <element name="ncl_S" type="integer" min="0" max="1">
     5459                        <description><![CDATA[Smell sensor. Aggregated "smell of energy" experienced from all energy objects (creatures and food pieces).
     5460Close objects have bigger influence than the distant ones: for each energy source, its partial feeling is proportional to its energy/(distance^2)
     5461
     5462Characteristics:
     5463   does not use inputs
     5464   provides output value
     5465   should be located on a Part
     5466]]></description>
     5467                </element>
    49195468                <element name="ncl_Constant" type="integer" min="0" max="1">
    49205469                        <description><![CDATA[Constant value
     
    49465495Properties:
    49475496   power (p) float 0.01..1 (default 1)]]></description>
     5497                </element>
     5498                <element name="ncl_M" type="integer" min="0" max="1">
     5499                        <description><![CDATA[Characteristics:
     5500   uses single input
     5501   does not provide output value
     5502   should be located on a Joint
     5503
     5504
     5505Properties:
     5506   power (p) float 0.01..1 (default 1)
     5507   axis (a) integer 0..1 (default 0)]]></description>
    49485508                </element>
    49495509                <element name="ncl_D" type="integer" min="0" max="1">
     
    64266986                <element name="position_y" type="float" flags="1"/>
    64276987                <element name="position_z" type="float" flags="1"/>
     6988                <element name="relative_pos" type="XYZ" flags="1"/>
     6989                <element name="relative_orient" type="Orient" flags="1"/>
    64286990                <element name="creature" type="Creature" flags="1"/>
    6429                 <element name="part" type="MechPart" flags="1"/>
    6430                 <element name="joint" type="MechJoint" flags="1"/>
     6991                <element name="mechpart" type="MechPart" flags="1">
     6992                        <description><![CDATA[The MechPart object where this neuron is located]]></description>
     6993                </element>
     6994                <element name="mechjoint" type="MechJoint" flags="1">
     6995                        <description><![CDATA[The MechJoint object where this neuron is located]]></description>
     6996                </element>
    64316997                <element name="neuroproperties" type="NeuroProperties" flags="1">
    64326998                        <description><![CDATA[Neurons can have different fields depending on their class. Script neurons have their fields defined using the "property:" syntax. If you develop a custom neuron script you should use the NeuroProperties object for accessing your own neuron fields. The Neuro.neuroproperties property is meant for accessing the neuron fields from the outside script.
     
    68687434                <element name="boundingBoxCollisions" function="true" type="integer" flags="34">
    68697435                        <description><![CDATA[Checks approximate collisions for the selected creature.
    6870 Returns the collision mask calculated as ( creature.selfmask & other_creatures.othermask ).
    6871 Passing non-zero argument is equivalent to setting a temporary selfmask for the current creature.]]></description>
     7436Returns the collision mask calculated as ( mask & colliding_creatures.othermask ). Usually called with mask=0, which has the special meaning of using the current creature.selmask instead of 0, so that it detects the same type of collisions as the current experiment configuration.
     7437Passing non-zero mask value uses it instead of creature.selfmask, allowing you to include or exclude other colliding populations, as if creature.selfmask were modified temporarily.]]></description>
    68727438                        <arguments>
    68737439                                <argument name="mask" type="integer"/>
     
    68757441                </element>
    68767442                <element name="checkCollisions" function="true" type="untyped" flags="34">
    6877                         <description><![CDATA[Returns zero if creature does not collide with other creatures.
     7443                        <description><![CDATA[Returns zero if the creature does not collide with other creatures.
    68787444Arguments:
    6879 - mask: see boundingBoxCollisions() (temporarily replaces the creature.selfmask if not zero)
     7445- mask: if not zero, temporarily replaces creature.selfmask. For details see boundingBoxCollisions()
    68807446- accuracy:
    68817447 0 = testing creature bounding boxes
     
    69387504                <element name="useModel" function="true"/>
    69397505                <element name="useCreature" function="true"/>
     7506                <element name="refno" type="integer" flags="1"/>
    69407507        </type>
    69417508        <type name="GeomBuilder" context="Visual style definition">
     
    69627529                <element name="matrix32" type="float" flags="34"/>
    69637530                <element name="matrix33" type="float" flags="34"/>
    6964                 <element name="addTransform" function="true" flags="32">
    6965                         <description><![CDATA[create the transform node as a child of the current node and make it the new current node.]]></description>
    6966                 </element>
    6967                 <element name="addBranch" function="true" flags="32">
     7531                <element name="addTransform" function="true" type="SSGNode" flags="32">
     7532                        <description><![CDATA[create the transform node as a child of the parent node and make it the new current node.]]></description>
     7533                        <arguments>
     7534                                <argument name="parent node" type="SSGNode"/>
     7535                        </arguments>
     7536                </element>
     7537                <element name="addBranch" function="true" type="SSGNode" flags="32">
    69687538                        <description><![CDATA[create the branch node as a child of the current node and make it the new current node]]></description>
    6969                 </element>
    6970                 <element name="add" function="true" type="void" flags="32">
     7539<arguments/></element>
     7540                <element name="add" function="true" type="SSGNode" flags="32">
    69717541                        <description><![CDATA[add a child node to the current node]]></description>
    69727542                        <arguments>
     
    69747544                        </arguments>
    69757545                </element>
    6976                 <element name="matrixReset" function="true" flags="32"/>
     7546                <element name="matrixReset" function="true" type="void" flags="32"><arguments/></element>
    69777547                <element name="matrixMove" function="true" type="void" flags="32">
    69787548                        <arguments>
     
    70127582                <element name="matrixRotate1" function="true" type="void" flags="32">
    70137583                        <arguments>
    7014                                 <argument name="xyz" type="integer"/>
     7584                                <argument type="Orient"/>
    70157585                        </arguments>
    70167586                </element>
     
    70187588                        <description><![CDATA[MechPart.pos can be used here]]></description>
    70197589                        <arguments>
    7020                                 <argument name="xyz" type="integer"/>
     7590                                <argument type="XYZ"/>
    70217591                        </arguments>
    70227592                </element>
     
    70247594                        <description><![CDATA[MechPart.pos can be used here]]></description>
    70257595                        <arguments>
    7026                                 <argument name="xyz" type="integer"/>
     7596                                <argument type="XYZ"/>
    70277597                        </arguments>
    70287598                </element>
     
    70307600                        <description><![CDATA[MechPart.orient can be used here]]></description>
    70317601                        <arguments>
    7032                                 <argument name="xyz" type="integer"/>
     7602                                <argument type="Orient"/>
    70337603                        </arguments>
    70347604                </element>
     
    70397609                        </arguments>
    70407610                </element>
    7041                 <element name="getBranch" function="true" type="integer" flags="32">
     7611                <element name="getBranch" function="true" type="SSGNode" flags="32">
    70427612                        <arguments>
    70437613                                <argument name="branch node" type="SSGNode"/>
     
    70847654                <element name="dy" type="float" min="-2" max="2" default="0.0" flags="1024"/>
    70857655                <element name="dz" type="float" min="-2" max="2" default="0.0" flags="1024"/>
    7086                 <element name="sh" type="integer" min="0" max="1" default="0"/>
     7656                <element name="sh" type="integer" min="0" max="3" default="0"/>
     7657                <element name="hx" type="float"/>
     7658                <element name="hy" type="float" flags="1024"/>
     7659                <element name="hz" type="float" flags="1024"/>
     7660                <element name="hrx" type="float"/>
     7661                <element name="hry" type="float" flags="1024"/>
     7662                <element name="hrz" type="float" flags="1024"/>
     7663                <element name="hxn" type="float" min="-6.2832" max="0" default="-1.5708"/>
     7664                <element name="hxp" type="float" min="0" max="6.2832" default="1.5708" flags="1024"/>
     7665                <element name="hyn" type="float" min="-6.2832" max="0" default="-1.5708"/>
     7666                <element name="hyp" type="float" min="0" max="6.2832" default="1.5708" flags="1024"/>
    70877667                <element name="stif" type="float" min="0" max="1" default="1.0"/>
    70887668                <element name="rotstif" type="float" min="0" max="1" default="1.0"/>
     
    71767756                <element name="classObject" type="NeuroClass" flags="3"/>
    71777757                <element name="class" type="string"/>
     7758                <element name="liveNeuro" type="Neuro" flags="1"/>
    71787759                <element name="state" type="float"/>
    71797760        </type>
     
    71847765                <element name="sh" type="integer" min="0" max="3" default="0"/>
    71857766                <element name="s" type="float" min="0.1" max="10" default="1.0"/>
    7186                 <element name="sx" type="float" min="0.001" max="1000" default="1.0"/>
    7187                 <element name="sy" type="float" min="0.001" max="1000" default="1.0"/>
    7188                 <element name="sz" type="float" min="0.001" max="1000" default="1.0"/>
     7767                <element name="sx" type="float" min="0.05" max="5" default="1.0"/>
     7768                <element name="sy" type="float" min="0.05" max="5" default="1.0"/>
     7769                <element name="sz" type="float" min="0.05" max="5" default="1.0"/>
    71897770                <element name="h" type="float" min="0" max="1" default="0.0"/>
    71907771                <element name="dn" type="float" min="0.2" max="5" default="1.0"/>
     
    71977778                <element name="i" type="string"/>
    71987779                <element name="Vstyle" type="string" default="part"/>
    7199                 <element name="vs" type="float" min="0.05" max="0.7" default="0.2"/>
    72007780                <element name="vr" type="float" min="0" max="1" default="1.0"/>
    72017781                <element name="vg" type="float" min="0" max="1" default="1.0" flags="1024"/>
     
    73217901                </element>
    73227902                <element name="axes" type="integer" min="0" max="1" default="0" flags="192">
     7903                        <description><![CDATA[]]></description>
     7904                </element>
     7905                <element name="haxes" type="integer" min="0" max="1" default="0" flags="192">
    73237906                        <description><![CDATA[]]></description>
    73247907                </element>
     
    74438026                        <description><![CDATA[]]></description>
    74448027                </element>
     8028                <element name="haxes" type="integer" min="0" max="1" default="0" flags="192">
     8029                        <description><![CDATA[]]></description>
     8030                </element>
    74458031                <element name="shownames" type="integer" min="0" max="1" default="0" flags="192">
    74468032                        <description><![CDATA[]]></description>
     
    78378423                        </arguments>
    78388424                </element>
     8425                <element name="mode" type="integer" min="0" max="2">
     8426                        <description><![CDATA[Not implemented in the old Framsticks Theater application.]]></description>
     8427                </element>
     8428                <element name="supported_modes" type="integer" min="0" max="7" flags="1">
     8429                        <description><![CDATA[Bitmask of supported display modes.Not implemented in the old Framsticks Theater application.]]></description>
     8430                </element>
    78398431        </type>
    78408432        <type name="GUI" context="Framsticks Theater">
     
    79708562                <element name="KEY_LEFT" type="integer" flags="1"/>
    79718563                <element name="KEY_RIGHT" type="integer" flags="1"/>
    7972                 <element name="SHARING_HTML" type="string" flags="1"/>
    7973                 <element name="sharingButtonClicked" function="true" type="void">
    7974                         <arguments>
    7975                                 <argument name="code" type="integer"/>
    7976                         </arguments>
    7977                 </element>
    79788564                <element name="top_left" type="Element" flags="1"/>
    79798565                <element name="top_center" type="Element" flags="1"/>
     
    80488634                </element>
    80498635                <element name="item_count" type="integer">
    8050                         <description><![CDATA[Number of items is readonly for Vector lists (reflects the current Vector size). The number of items in the Callback list must be set explicitly.
     8636                        <description><![CDATA[Number of items is readonly for Vector lists (reflects the current Vector size). The number of items in the Callback list must be set explicitly. Setting the item_count must be the last stage of setting up a callback list because it triggers the refresh (and is the only list property that does so).
    80518637Example:
    80528638GUI->list.items=function listfun; GUI->list.item_count=1000;
     
    82668852                                <argument name="vertical align" type="integer"/>
    82678853                                <argument name="transformation" type="Matrix"/>
     8854                        </arguments>
     8855                </element>
     8856                <element name="newImage" function="true" type="Obj3D">
     8857                        <arguments>
     8858                                <argument name="image" type="string"/>
     8859                                <argument name="width" type="float"/>
     8860                                <argument name="height" type="float"/>
     8861                                <argument name="horizontal align" type="float"/>
     8862                                <argument name="vertical align" type="float"/>
     8863                        </arguments>
     8864                </element>
     8865                <element name="newBillboard" function="true" type="Obj3D">
     8866                        <arguments>
     8867                                <argument name="payload" type="Obj3D"/>
    82688868                        </arguments>
    82698869                </element>
     
    83058905                        </arguments>
    83068906                </element>
     8907                <element name="transformMesh" function="true" type="void" flags="256">
     8908                        <arguments>
     8909                                <argument type="Matrix"/>
     8910                        </arguments>
     8911                </element>
    83078912        </type>
    83088913        <type name="Rectangle" context="Framsticks Theater">
     
    83188923                                <argument name="width" type="float"/>
    83198924                                <argument name="height" type="float"/>
     8925                        </arguments>
     8926                </element>
     8927                <element name="inset" function="true" type="Rectangle" flags="256">
     8928                        <description><![CDATA[Negative inset value extends the rectangle]]></description>
     8929                        <arguments>
     8930                                <argument name="inset" type="float"/>
     8931                        </arguments>
     8932                </element>
     8933                <element name="fitAspect" function="true" type="Rectangle" flags="256">
     8934                        <arguments>
     8935                                <argument name="aspect" type="float"/>
    83208936                        </arguments>
    83218937                </element>
     
    83468962                </element>
    83478963                <element name="execute" function="true" type="void"><arguments/></element>
     8964                <element name="HTML" type="string" flags="1"/>
     8965                <element name="initiate" function="true" type="void">
     8966                        <arguments>
     8967                                <argument name="code" type="integer"/>
     8968                        </arguments>
     8969                </element>
     8970                <element name="tip_units" type="integer" flags="1"/>
     8971                <element name="tip_value" type="integer" flags="1"/>
    83488972        </type>
    83498973        <type name="ShowManager" context="Framsticks Theater">
     
    86369260                        <description><![CDATA[]]></description>
    86379261                </element>
     9262                <element name="haxes" type="integer" min="0" max="1" default="0" flags="192">
     9263                        <description><![CDATA[]]></description>
     9264                </element>
    86389265                <element name="shownames" type="integer" min="0" max="1" default="0" flags="192">
    86399266                        <description><![CDATA[]]></description>
Note: See TracChangeset for help on using the changeset viewer.