SimAntics

Notes on various aspects of SimAntics programming.


SimAntics Data Holders - An Overview

An overview of Data Holders (variables) for SimAntics BHAV modding. With some background information about objects and how they are identified in The Sims 2.

  • Object ID (or OID)
  • Neighbor ID (or NID)
  • Objects Perform Actions
  • Object Types and Object Instances
  • Object Lifecycle
  • Why "idle-loop" is important
  • In a BHAV, what is "My"?
  • What is "Stack Object ID"?
  • Other Data Holders
  • NIDs, OIDs and Log Files
PDF

Literals, Temps, Locals, Params and Attributes

An exploration of some of the "data holders" used to store and manipulate numbers.

  • Literals
  • Temps
  • Whole Numbers Only Please
  • Overflow Issues
  • Temps Vs Locals
  • Stack Number out of Range 'Gotcha'
  • Why Stack Numbers
  • Parameters
  • Labels
  • Parameters Revisited
  • Stack Object - A Special Parameter
  • Object Attributes
PDF

Object Attributes and Semi-Attributes

An exploration of object attributes and semi-attributes.

  • Attributes
  • Semi-Attributes
  • Persistence
  • Non-Residential Lot Persistence Issue
PDF

SimAntics Primitive Node Version

Notes on node versions of SimAntics primivites.

  • Overview
  • Node Versions By Expansion Pack
  • SimPe Issues
  • BHAV Versions
PDF

BCON Limits

Limits on BCONs imposed by the "0x0002 - Expression" primitive.

Link

Looping Multi-Tile Objects with Set To Next

Looping all tiles in a multi-tile object should be easy, there's a Set To Next for the task. If only ...

Link

Measuring Distance

The Distance primitive, while taking into account different levels, does not allow for objects in different rooms ...

Link

Hope these notes are of use to someone. Enjoy!