Skip to content

Disguise

The InfantryType whose name and artwork a disguised soldier shows to everyone else.

Side disguise type

Specification — Side disguise type
Applies to
Side
File
rules.ini
Section
[<ObjectType ID>]
Value
class
When omitted
InheritedThe `[General]` `Disguise` type.
Parse behavior

a side names the disguise type for objects of houses acting as its countries; a side that names none leaves the [General] type in force

rules.ini
[Nod] ; the side's section
Disguise=NODSPY ; a type registered in [InfantryTypes]

The InfantryType whose name and artwork a disguised soldier of this side shows, in place of the [General] Disguise type.

The value applies to every disguised soldier whose owning house acts as a country on this side. The [General] scope gives the ownership tests for the name and the artwork, and they apply to this value too.

Writing <none> clears a type set earlier, by an earlier rules file, and returns the side to the [General] type.

Disguise type

Specification — Disguise type
Applies to
global rules
File
rules.ini
Section
[General]
Value
class
When omitted
none

A Disguised=yes soldier takes two things from this InfantryType, and each has its own ownership test:

  • Name. Holding the cursor over the soldier shows this type’s Name= to a player who is allied with the soldier’s house, or observing, but does not control it. An enemy player sees the generic “Enemy Soldier” label instead, unless the soldier’s own type sets Nominal=yes.
  • Artwork. The soldier is drawn with this type’s shape file for every player except its owner.

Outside a campaign, the two tests give the same answer. In a campaign, a second house that the scenario marks PlayerControl=yes counts as controlled for the name but not for the artwork. Its disguised soldiers therefore wear the disguise artwork under their own name.

Only the shape file changes. The soldier still animates with its own type’s sequence, so it picks frames from the disguise artwork by its own frame numbers. Give both types matching sequences, or the disguise shows the wrong frames.

A side can name its own disguise type for the objects of houses acting as its countries. Disguise covers that scope.

History

  1. Added0.3.0In development

    Read survivor and disguise settings from the side a house acts as — side