Files
OpenRA/mods/ra/maps/mousetrap/rules.yaml
let5sne.win10 9cf6ebb986
Some checks failed
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
Initial commit: OpenRA game engine
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 21:46:54 +08:00

144 lines
2.6 KiB
YAML

World:
LuaScript:
Scripts: campaign.lua, utils.lua, mousetrap.lua
MissionData:
Briefing: briefing
BackgroundVideo: sovexp1.vqa
WinVideo: sovexp1w.vqa
LossVideo: apcescpe.vqa
ScriptLobbyDropdown@difficulty:
ID: difficulty
Label: dropdown-difficulty.label
Description: dropdown-difficulty.description
Values:
normal: options-difficulty.normal
hard: options-difficulty.hard
Default: normal
# Skip the normal start notification in favor of Stavros' opening line.
StartGameNotification:
Notification:
# Give our Chrono dummy the ability to move (and be shifted) within the void.
Locomotor@TRACKED:
TerrainSpeeds:
ClearNoSmudges: 100
^Palettes:
-ChronoshiftPostProcessEffect:
# Used in ChronoEffect.
1TNK:
Chronoshiftable:
ChronoshiftSound:
^Soldier:
ScriptTags:
Inherits@IronCurtain: ^IronCurtainable
ExternalCondition@GAS:
Condition: gassed
TotalCap: 1
DamagedByTerrain:
RequiresCondition: gassed
Damage: 300
DamageInterval: 1
DamageTypes: ExplosionDeath
Terrain: Clear
FLARE:
ProximityExternalCondition@GAS:
Condition: gassed
Range: 1c512
ValidRelationships: Neutral, Enemy
RevealsShroud:
Range: 1c512
ValidRelationships: Ally, Neutral, Enemy
Tooltip:
Name: actor-gas-name
IRONCRATE:
Inherits: ^Crate
GrantExternalConditionCrateAction:
SelectionShares: 1
Sequence: invuln
Sound: ironcur9.aud
Condition: invulnerability
Duration: 600
Range: 2c512
RenderSprites:
Image: wcrate
CAMERA:
ScriptTags:
CAMERA.tiny:
Inherits: CAMERA
RevealsShroud:
Range: 2c0
CAMERA.small:
Inherits: CAMERA
RevealsShroud:
Range: 4c0
PBOX:
# Reduced vision to avoid shooting beyond the hallway.
RevealsShroudMultiplier:
Modifier: 50
PDOX:
DamageMultiplier:
Modifier: 0
Power:
Amount: 0
# Couldn't avoid engineers falsely reporting they could capture chronospheres under fog. Made a new type.
PDOX.capturable:
Inherits: PDOX
RenderSprites:
Image: PDOX
Capturable:
Types: predamaged
-ChronoshiftPower@chronoshift:
-SpawnActorsOnSell:
E6:
Captures:
CaptureTypes: predamaged
STAVROS:
Inherits: GNRL
Inherits@IronCurtain: ^IronCurtainable
-WithColoredOverlay@IRONCURTAIN:
RenderSprites:
Image: GNRL
Tooltip:
Name: actor-stavros-name
Infiltrates:
Types: SpyInfiltrate
Voice: Move
ValidRelationships: Ally, Neutral
SpeedMultiplier:
# Original is 8 speed v. E1's 4 speed.
Modifier: 200
Valued:
Cost: 2000
STAVROS.hard:
Inherits: STAVROS
RenderSprites:
Image: GNRL
Armament:
Weapon: Colt45
AutoTarget:
InitialStanceAI: ReturnFire
RevealsShroud:
Range: 4c0
STAVROS.start:
Inherits: STAVROS
RenderSprites:
Image: GNRL
-Targetable:
BARB:
-Tooltip: