PropDefinition
From wiki
Contents
Prop Definition Reference
This page serves as a reference for the prop definition structure used in our system. Below is the detailed structure with descriptions for each property.
General Properties
- code: Code for the prop, defaults based on filename.
- painter: The painter code used to draw this prop and handle client-side logic.
- driver: The driver code used to run the prop and handle server-side logic.
Wire Prop Specifics
- wireInputs: Number of inputs, between 0 to 15 inclusive.
- wireOutputs: Number of outputs, between 0 to 15 inclusive.
- propEntityPainter: The painter code used to draw this prop and handle client-side logic.
- propEntityDriver: The driver code used to run the prop and handle server-side logic.
Drawable Properties
- drawable: Defaults to the code of the prop. It's the code of the drawable used to draw this prop.
- drawables[]: List of codes of drawables used with more advanced, perhaps animated, painters.
- flipActiveDrawable: Defaults to false. Used by WiredPropEntityPainter and flips if the wire state shows either 'drawable' or 'drawables[0]'.
Collision and Physics
- hasCollisionOverride:
- hasPhysicsCollision: