Difference between revisions of "MindControl"
m |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 15: | Line 15: | ||
Note that {{f|MindControl|yes|link}} warheads will cause an [[Internal Error]] when detonated if any of the following conditions are true: | Note that {{f|MindControl|yes|link}} warheads will cause an [[Internal Error]] when detonated if any of the following conditions are true: | ||
− | *Firing weapon is a shrapnel weapon. | + | *Firing weapon is a shrapnel weapon and [[DeathWeapon]]. |
*Firing weapon is an urban combat weapon (fired from an occupied building). | *Firing weapon is an urban combat weapon (fired from an occupied building). | ||
*Firing weapon is a secondary weapon. ;(The problem was resolved by adding <b><u><font style="color:blue">MindControl=yes</font></u></b> to the warhead of<b><u>[[Primary]]</u></b> and <b><u>[[ElitePrimary]]</u></b>) | *Firing weapon is a secondary weapon. ;(The problem was resolved by adding <b><u><font style="color:blue">MindControl=yes</font></u></b> to the warhead of<b><u>[[Primary]]</u></b> and <b><u>[[ElitePrimary]]</u></b>) | ||
Line 26: | Line 26: | ||
*For<font style="color:red"><b><u>Ra2</u></b></font> Cannot be hypnotized<b><u>[[BuildingTypes]]</u></b> ฺBut attacks <b><u>[[BuildingTypes]]</u></b>things with<b><u>[[Secondary]]</u></b>. | *For<font style="color:red"><b><u>Ra2</u></b></font> Cannot be hypnotized<b><u>[[BuildingTypes]]</u></b> ฺBut attacks <b><u>[[BuildingTypes]]</u></b>things with<b><u>[[Secondary]]</u></b>. | ||
+ | |||
+ | == Notes == | ||
+ | Hardcoded to prevent attacks <b>[[BuildingTypes]]</b> or <b>[[InfantryTypes|infantry]]</b>,<b>[[VehicleTypes|VehicleTypes]]</b>, <b>[[AircraftTypes]] </b> of yours <b>(except allies)</b> | ||
+ | |||
+ | to prevent certain actions such as hypnosis <b>[[BuildingTypes]]</b> or <b>[[InfantryTypes|infantry]]</b>,<b>[[VehicleTypes|VehicleTypes]]</b>, <b>[[AircraftTypes]]</b> of Yours | ||
==See also== | ==See also== | ||
* [[InfiniteMindControl]] | * [[InfiniteMindControl]] | ||
* [[PipScale]] | * [[PipScale]] |
Latest revision as of 03:53, 22 July 2024
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Flag: | MindControl |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | Warheads |
If set, this warhead will mind-control the target instead of inflicting damage. The effect is instant, and ignores whether the weapon actually hit the target or not. Objects that have ImmuneToPsionics=yes are completely immune, and cannot be targeted.
The owner can only target and control one object at a time, and will lose control over the first target if it fires on a second one.
Note that MindControl=yes warheads will cause an Internal Error when detonated if any of the following conditions are true:
- Firing weapon is a shrapnel weapon and DeathWeapon.
- Firing weapon is an urban combat weapon (fired from an occupied building).
- Firing weapon is a secondary weapon. ;(The problem was resolved by adding MindControl=yes to the warhead ofPrimary and ElitePrimary)
In Yuri's Revenge
The Damage value of the weapon defines how many objects total can be controlled by the firer. Values greater than 1 prevent previously established mind-control links from being lost. Because of that, after reaching the limit, no new object can be controlled until at least one of the old ones is destroyed.
Bugs/Side-Effects/Unexpected Limitations
The game only checks the Primary weapon for MindControl=yes warhead (giving it to a Secondary causes an Internal Error). Furthermore, changing Damage on ElitePrimary doesn't affect how many objects can be controlled - only Primary is checked.
- ForRa2 Cannot be hypnotizedBuildingTypes ฺBut attacks BuildingTypesthings withSecondary.
Notes
Hardcoded to prevent attacks BuildingTypes or infantry,VehicleTypes, AircraftTypes of yours (except allies)
to prevent certain actions such as hypnosis BuildingTypes or infantry,VehicleTypes, AircraftTypes of Yours