[WF-General] ocean entity prototype 2

Amey Parulekar amey.par at gmail.com
Sun May 10 13:39:14 PDT 2009


I removed the bounding box from the entity definition as suggested,
and here's the revised code

In "data/basic.xml"

  <map>
    <map name="attributes">
      <map name="solid">
        <int name="default">0</int>
        <string name="visibility">public</string>
      </map>
    </map>
    <string name="id">ocean</string>
    <string name="objtype">class</string>
    <list name="parents">
      <string>thing</string>
    </list>
  </map>

In "_setup_landscape" inside "rulesets/mason/define_world.py"

m.make('ocean',pos=(-500,-321,-20),bbox=[820,642,20])

Please advise about further changes

Amey


More information about the General mailing list