Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Invincible Units for Cutscenes  (Read 1300 times)

0 Members and 1 Guest are viewing this topic.

gimplord

  • Guest
Invincible Units for Cutscenes
« on: 27 Oct 2002, 19:44:02 »
I know there are invincible units in Resistance anyway (check O.pbo's config if you dont believe me  :P) But infantry etc wont attack those, which limits their use in Cut-Scenes etc. This isnt an excuse to cheat... Only use these units for Cut-Scenes etc, and for god's sake dont play as one since its utterly mind-numbingly boring, since u cant die... To make a unit in an addon invincible and make the enemy infantry, tanks, helicopters etc etc attack it, put this in its config

armor=90;   
armorStructural=9999.000000;
armorHead=5000.000000;
armorBody=5000.000000;
armorHands=1000.000000;
armorLegs=1000.000000;

The infantry AI only takes the 1st armour level into account, and at 90 it'll still attack, the rest means that u can go swimming or convince a helpful T-80 to make u fly if thats your thing... Hope somebody uses this sometime...