Jump to content

How can i change HP and shooting accuracy of the alien ships?


DarkBeaver

Recommended Posts

You'll need to learn how to modify upk files with hex editing. This takes some time and practice to figure out if you haven't done it before. You should start here: http://wiki.tesnexus.com/index.php/Category:Tutorials_-_XCOM:EU_2012; there are several posts within this forum that may help.

 

UFO Hit Points are set in XComStrategyGame.upk >> Class XGItemTree >> Function UpdateShips ()

 

This is my modded line for the small scout: UpdateShip(4, 2500, 40, 750, 0, 7);

Small Scouts are Ship #4. Hit Points are the fourth parameter in the function (in this case, 750)

 

Weapon Accuracy is set in XComStrategyGame.upk >> Class XGItemTree >> Function BuildShipWeapons ()

This is modded line for UFO Plasma Cannon I, the single-shot alien plasma weapon

BuildShipWeapon(8, -1, 101, 1.250, 500, 0, 33);

 

Accuracy is the last parameter in the function, in this case 33, which is a percent chance to hit.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...