Starpoint Arena - SP_Figures.ini
All computer figures in the game can be specified in the Figure-initialization file (SP_Figures.ini).
It contains the figure properties.
The file structure (Lines containing --- or === should be structured as in example below)!
Figure Properties:
The figure properties are under a line "--Props--". Properties can be omitted if the default value should be used. The first property must be the figures class name.
- className - a fully qualified class name (might be simple class name only for packages com.starpoints.game or com.starpoints.game.figure).
- name - Name of the figure.
- initialEnergy - Initial energy level.
- maxEnergy - Maximum energy.
- hasImage - Flag, if the figure is drawn by an image.
- drawNumber - Flag, if a number should be drawn onto the figure (normally false).
- innerColor - The figures color.
- outerColor - The figures shadow color.
- imageName - The figures image.
- isRocketTarget - Flag, if the figure is a target for rockets.
- speed - The speed (if extending standard ComputerFigure and using its original move routine).
- ramPower - The initial ram power.
- pointBonus - Point bonus for a destroyer of this figure.
- isAffectedByBlack - Flag, if the figure is affected by black points.
- isAffectedByGray - Flag, if the figure is affected by gray points.
Item
This part is ignored yet!
Permanent Items
This part is ignored yet!
Example file snippet for one figure:
------------------------------
--Props--
Figure, className
Dummy, name
150, initialEnergy
250, maxEnergy
true, hasImage
false, drawNumber
gray, innerColor
darkgray, outerColor
enemy0, imageName
true, isRocketTarget
0, speed
40, ramPower
500, pointBonus
true, isAffectedByBlack
true, isAffectedByGray
---------------
--Item--
---------------
--Permanent Items--
---------------
==