Add Dune 2000 Saboteur Logic

Registered by Mustafa Alperen SEKÄ°

In Dune 2000 Ordos Saboteurs can enter buildings. Destroys building and unlike RA2 C4's himself too. I wanna use this on Cuban Terrorists. Also D2K Saboteurs have a timed cloaking feature.

[InfantryType]
Saboteur=yes,no ;Is this unit a Saboteur.
Cloak.ChargeTime= ;Time before Saboteur can start cloak.
Cloak.DechargeTime= ;How long cloak last.
Pip=TimedCloak ;A vertical bar that looks like D2K saboteur.

[CombatDamage]
SaboteurWarhead= ;Defaults to Super. Warhead of Saboteur's explodives.
SaboteurDelay= ;Minutes to delay after Saboteur Enters building before building will explode.

[BuildingType]
ImmuneToSaboteurs: ;Can saboteurs enter this building, defaults to no.

Blueprint information

Status:
Complete
Approver:
AlexB
Priority:
Low
Drafter:
Mustafa Alperen SEKÄ°
Direction:
Approved
Assignee:
AlexB
Definition:
Approved
Series goal:
Accepted for 0.a
Implementation:
Implemented
Milestone target:
milestone icon 0.a
Started by
AlexB
Completed by
AlexB

Related branches

Sprints

Whiteboard

Currently only the building destruction part is implemented, with Saboteur= and ImmuneToSaboteur=. The timed cloak feature is more difficult, as it touches deploy, pips and cloak.

[InfantryType]Saboteur= (boolean, defaults to no)
Whether this infantry can blow up one sabotagable building. The building will be destroyed as if C4 was placed, and the Saboteur is consumed in this process. Requires Infiltrate=yes. Not supported together with vehicle hijacking, CanDrive=yes, C4 and Occupier=yes logics.

Sabotage does give the "enter" cursor, not the "sabotage" one. This cannot be changed easily without changing the implementation. The reason is that the unit is consumed by the process, like a spy, thief, or engineer.

[BuildingType]ImmuneToSaboteurs= (boolean, defaults to yes for CanC4=no or TechLevel=-1 CanBeOccupied=yes buildings, to no otherwise)
Whether this building cannot be sabotaged. If yes, Saboteurs cannot enter this structure. By default, unbuildable occupiable structures cannot be sabotaged. This prevents saboteurs from blowing up civilian structures when selected in a group with occupiers.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.