Skip to content

AltImage

The shape set a visceroid draws its attack animation from.

Specification
Applies to
UnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
string
When omitted
(empty)No attack shape set is loaded, so a visceroid draws nothing while it attacks. Other UnitTypes are unaffected.

The value is a filename without its extension, up to 23 characters. The engine appends .SHP and loads that file from the game archives when it reads the section. No art.ini section is involved: unlike Image, the name is only ever a file.

Only a SmallVisceroid=yes or LargeVisceroid=yes UnitType draws from it. Other UnitTypes load the file and never show it. A visceroid switches to this shape set each time it fires and plays five frames from it. It draws its idle wandering from the ordinary Image. While the PENGO main-menu code is on, visceroids use replacement art and never draw from either.

rules.ini
[MYVISCEROID] ; a UnitType registered in [VehicleTypes]
LargeVisceroid=yes
Image=MYVISC ; idle frames
AltImage=MYVISCA ; attack frames, MYVISCA.SHP

The file holds eight five-frame runs, one for each direction the visceroid can attack in. The run is chosen by the direction from the visceroid to its target, in this order:

FramesTarget direction
0–4West
5–9North-west
10–14North
15–19North-east
20–24East
25–29South-east
30–34South
35–39South-west

If no loaded archive holds the named file, the visceroid draws nothing while it attacks. Its position, weapon and damage are unaffected.