Introduction

Installation

Configuring Objects

Spacecalls

Events

Coordinates

Tips & Tricks

Portable Space EngineBuilder's Guide

Please send comments to Mark Cooke <mpc@star.sr.bham.ac.uk> or vspace@geocities.com

>Ships and Bases: Attributes

Name of AttributeDescription
CF_BATTS_CAPACITY Battery capacity.
CF_BATTS_DISCHARGE Battery discharge rate (units per turn).
CF_CLASS Class of the ship (i.e. "Galaxy").
CF_CLOAK_STATUS Status of ship's cloaking device (0=not present, 1=present)
CF_CLOAK_COST Power cost of using ship's cloaking device.
CF_COMM_RANGE Communications range.
CF_COMM_SENSITIVITY Sensitivity of communications receiver.
CF_DAMCON_TEAMS Number of damage control teams.
CF_DBREF_TACTICAL DB reference to tactical console. Removed S71115
CF_DBREF_NAV DB reference to navigation console. Removed S71115
CF_DBREF_SHIELDS DB reference to shield console. Removed S71115
CF_DBREF_ENG DB reference to engineering console. Changed S71115. Now DB reference to engineering location.
CF_DBREF_XPORT DB reference to transporter console. Removed S71115
CF_DBREF_COMM DB reference to communications console. Removed S71115
CF_DBREF_DAMCON DB reference to damage control console. Removed S71115
CF_CONSOLE_LIST List of space separated DB references to the objects used as consoles. New S71115
CF_DOOR_STATUS Status of ship's cargo bay doors (0=not present, 1=present).
CF_DOOR_SIDE Shield number which protects the door. (0=fore, 1=aft, 2=port, 3=starboard, 4=dorsal, 5=ventral)
CF_DOOR_SIZE Size of bay doors. Ships of size <= CF_DOOR_SIZE can fit through.
CF_GUN_ARC The arcs which the guns can fire upon. See below.
CF_GUN_NAME Name assigned to ship's guns (i.e. "phaser").
CF_GUN_QTY Number of guns.
CF_GUN_POWER Maximum gun power.
CF_GUN_RANGE Range of guns.
CF_GUN_DELIVERY Effect of range on gun's delivery.
CF_GUN_CHARGE_RATE Guns' rate of charge.
CF_HULL Hull strength. The amount of damage the ship can take.
CF_OWNER_NAME Owner name (i.e. "Federation").
CF_OWNER_NUM Owner number. Some readouts use CF_OWNER_NAME followed by CF_OWNER_NUMBER.
CF_REACTOR_OUTPUT Maximum output of ship's reactor.
CF_REACTOR_OVER_POINTS Maximum number of stress points.
CF_REACTOR_LEVEL_STRESS Maximum engine level (%).
CF_REACTOR_LEVEL_NORMAL Optimal engine level (%).
CF_REACTOR_OVER_PENALTY Number of stress points per pct over 100, per turn.
CF_ROLL_FACTOR (New! S71130) Rate of roll in degrees per tactical turn.
CF_SCANNER_RANGE Scanner range.
CF_SHIELD_FACTOR Portion of allocated power that is added to shield each turn.
CF_SHIELD_POWER Maximum shield power.
CF_SHIELD_CHARGE_RATE Shields' rate of charge.
CF_SHIELD_CONFIG (New! S70930) Shield configuration. Currently between 0 and 4. (See table below for details)
CF_TORP_AMMO (New! 0.8.1) Number of torpedoes ship has when started.
CF_TORP_NAME Name assigned to ship's torpedoes (i.e. "photon").
CF_TORP_QTY Number of torpedo launchers.
CF_TORP_POWER Maximum torpedo power.
CF_TORP_RANGE Range of torpedoes.
CF_TORP_CHARGE_RATE Torpedos' rate of charge.
CF_TORP_LOADERS Number of torpedo loaders.
CF_TORP_ACCURACY Base accuracy of torpedoes.
CF_TRACTOR_STATUS Status of tractor beam system (0=not present, 1=present).
CF_TRACTOR_EFFECT Effectiveness of tractor beam.
CF_TURN_FACTOR New in S70930 A modifier to the turning rate of a ship. Higher is more nimble. Zero and negative values are not permitted. Turning speed = 90 degrees * turn_factor / (size*size)
CF_TYPE Type of the ship (i.e. "Heavy Cruiser").
CF_WARP_ACCEL Maximum rate of change of speed per tactical turn.
CF_WARP_FACTOR Mathematical power:warp factor.
CF_WARP_MAX Maximum warp speed.
ST_DOCKED_AT DB reference of object ship last docked at.
ST_HULL_DAMAGE Amount of hull damage in the form <repairable damage> <permanent damage>.
ST_SYSTEM_DAMAGE System damage (binary number, one cell per location).
ST_SHIPFLAGS Ship's flags (binary number, one cell per flag).
ST_ODOMETER New in S70909 The distance travelled by the ship.
ST_TIME_ACTIVE New in S70909 The total number of seconds the ship has been active.

NOTE: Shield configurations are as follows (diagrams eventually):

Layout#Shield Organization
0Original 4 shield setup.
16 shield setup. Fore and aft arcs as per original 4, but with dorsal and ventral shields as well as port and starboard.
26 shield cubic setup. All shields have 90 degree arcs. Good for cubic ships and bases
3Orange segment 4 shield setup. Port, Starboard, Dorsal and Ventral shields.
4Orange segment 4 shield setup as for #3, but rotated through 45 degrees.

NOTE: Gun arcs are as follows (diagrams eventually). To allow more than one arc, just add the numbers from the 'Value' field. To emulate the previous behaviour, set the CF_GUN_ARC attribute to 63.

ValueGun arcs permitted
1Fore shield
2Aft shield
4Port shield
8Starboard shield
16Dorsal shield
32Ventral shield

An example: Setting 1+2+4+8=15 would allow the guns to fire at any vessel facing our fore, aft, port or starboard shield, but not the dorsal or ventral.


Last modified: 15th March 1998