doppelgangerK Posted November 23, 2013 Share Posted November 23, 2013 Hi everyone, and skillful modders! the MEC repair servos seems bugging a lot, a total regeneration of 6HP at 2HP per turn seems hilariously under powered compare to the expanded storage, can we make it like 2 regeneration to 66% of its total HP for infinite times? The other MEC abilities seems very good, but the ONE FOR ALL ability should give MEC itself at least some defense bonuses right? THANK YOU! Link to comment Share on other sites More sharing options...
doppelgangerK Posted November 25, 2013 Author Share Posted November 25, 2013 Or is there's a way to mod the "repair servo" to infinite health generation? Just like that? Link to comment Share on other sites More sharing options...
Bertilsson Posted November 25, 2013 Share Posted November 25, 2013 Or is there's a way to mod the "repair servo" to infinite health generation? Just like that? Yes: http://forums.nexusmods.com/index.php?/topic/832566-xcom-toolboks/?p=10304259 Link to comment Share on other sites More sharing options...
Bertilsson Posted November 26, 2013 Share Posted November 26, 2013 (edited) I have now created a toolboks mod with unlimited repair servos which are only active while HP is below 66,7% of max HP.If someone is willing to test and confirm that it is indeed working and not crashing the game, I can also add possibility to select custom values for when the servos activate. Make sure to make backup before installing! I have not tested it at all. MOD_NAME=Unlimited repair servos AUTHOR=Bertilsson DESCRIPTION=Unlimited repair servos, optional trigger value Version: 2.1 beta Horrible crash bug hopefully fixed Compatible with XCOM Enemy Within: - Patch 0 ( Changelist: unknown ) UPK_FILE=XComGame.upk OFFSET=10603373 [MODDED_HEX] {Modifies XGUnit_UnitHasAttention so that remaining servo repair hp is increased instead of decreased upon usage} A1 UPK_FILE=XComGame.upk OFFSET=10601573 [MODDED_HEX] {Modifies XGUnit_UnitNeedsAttentionEndingTurn so that remaining servo repair is only activate when HP is below 2/3 of max HP} 40 C3 00 00 76 5F 00 00 00 00 00 00 28 C3 00 00 00 00 00 00 00 00 00 00 29 C3 00 00 00 00 00 00 ED 01 00 00 6A 51 00 00 40 01 00 00 1B 01 00 00 0F 36 01 81 C2 00 00 25 07 27 01 1B EF 43 00 00 00 00 00 00 4A 16 07 7F 00 82 19 1B 8F 37 00 00 00 00 00 00 16 0C 00 14 B6 00 00 00 1B 55 3D 00 00 00 00 00 00 2C 2D 16 18 2D 00 96 1B A6 3B 00 00 00 00 00 00 16 19 1B 8F 37 00 00 00 00 00 00 16 0A 00 06 B6 00 00 00 1B 98 37 00 00 00 00 00 00 16 16 16 55 01 81 C2 00 00 03 00 24 02 16 07 9B 00 2D 01 0D 3A 00 00 55 01 81 C2 00 00 03 00 24 03 16 07 F0 00 19 1B 8F 37 00 00 00 00 00 00 16 0C 00 14 B6 00 00 00 1B 55 3D 00 00 00 00 00 00 2C 8B 16 07 F0 00 96 1B A6 3B 00 00 00 00 00 00 16 91 90 1B A9 3B 00 00 00 00 00 00 16 2C 0A 16 2C 0F 16 16 55 01 81 C2 00 00 03 00 24 04 16 07 27 01 82 1B 41 3D 00 00 00 00 00 00 16 18 17 00 96 1B A6 3B 00 00 00 00 00 00 16 1B A9 3B 00 00 00 00 00 00 16 16 16 55 01 81 C2 00 00 03 00 24 07 16 04 97 36 01 81 C2 00 00 25 16 04 3A 29 C3 00 00 53 0B 0B 0B 0B 0B 0B 0B 00 00 00 02 01 02 00 C1 79 00 00 00 00 00 00 Edit: Broken code hopefully fixed. Edited November 27, 2013 by Bertilsson Link to comment Share on other sites More sharing options...
doppelgangerK Posted November 27, 2013 Author Share Posted November 27, 2013 (edited) Thank you for all your help! I'm using the http://forums.nexusmods.com/index.php?/topic/832566-xcom-toolboks/page-156&do=findComment&comment=10304259 and it really works!!! Thank you all!!!! Edited November 27, 2013 by doppelgangerK Link to comment Share on other sites More sharing options...
doppelgangerK Posted November 27, 2013 Author Share Posted November 27, 2013 (edited) I have now created a toolboks mod with unlimited repair servos which are only active while HP is below 66,7% of max HP.If someone is willing to test and confirm that it is indeed working and not crashing the game, I can also add possibility to select custom values for when the servos activate. Make sure to make backup before installing! I have not tested it at all. MOD_NAME=Unlimited repair servos AUTHOR=Bertilsson DESCRIPTION=Unlimited repair servos, optional trigger value Version: 2.0 beta Compatible with XCOM Enemy Within: - Patch 0 ( Changelist: unknown ) UPK_FILE=XComGame.upk OFFSET=10603373 [MODDED_HEX] {Modifies XGUnit_UnitHasAttention so that remaining servo repair hp is increased instead of decreased upon usage} A1 UPK_FILE=XComGame.upk OFFSET=10601573 [MODDED_HEX] {Modifies XGUnit_UnitNeedsAttentionEndingTurn so that remaining servo repair is only activate when HP is below 2/3 of max HP} 40 C3 00 00 76 5F 00 00 00 00 00 00 28 C3 00 00 00 00 00 00 00 00 00 00 29 C3 00 00 00 00 00 00 ED 01 00 00 6A 51 00 00 3F 01 00 00 1B 01 00 00 0F 36 01 81 C2 00 00 25 07 26 01 1B EF 43 00 00 00 00 00 00 4A 16 07 7F 00 82 19 1B 8F 37 00 00 00 00 00 00 16 0C 00 14 B6 00 00 00 1B 55 3D 00 00 00 00 00 00 2C 2D 16 18 2D 00 96 1B A6 3B 00 00 00 00 00 00 16 19 1B 8F 37 00 00 00 00 00 00 16 0A 00 06 B6 00 00 00 1B 98 37 00 00 00 00 00 00 16 16 16 55 01 81 C2 00 00 03 00 24 02 16 07 9B 00 2D 01 0D 3A 00 00 55 01 81 C2 00 00 03 00 24 03 16 07 EF 00 82 19 1B 8F 37 00 00 00 00 00 00 16 0C 00 14 B6 00 00 00 1B 55 3D 00 00 00 00 00 00 2C 8B 16 96 1B A6 3B 00 00 00 00 00 00 16 91 90 1B A9 3B 00 00 00 00 00 00 16 2C 0A 16 2C 0F 16 16 16 55 01 81 C2 00 00 03 00 24 04 16 07 26 01 82 1B 41 3D 00 00 00 00 00 00 16 18 17 00 96 1B A6 3B 00 00 00 00 00 00 16 1B A9 3B 00 00 00 00 00 00 16 16 16 55 01 81 C2 00 00 03 00 24 07 16 04 97 36 01 81 C2 00 00 25 16 04 3A 29 C3 00 00 53 0B 0B 0B 0B 0B 0B 0B 0B 00 00 00 02 01 02 00 C1 79 00 00 00 00 00 00 ooooops, I think I just screwed up my game, game always crashing now... I'll find why Edited November 27, 2013 by doppelgangerK Link to comment Share on other sites More sharing options...
Bertilsson Posted November 27, 2013 Share Posted November 27, 2013 It's probably me who should say ooops.I'll look into it. Link to comment Share on other sites More sharing options...
Bertilsson Posted November 27, 2013 Share Posted November 27, 2013 (edited) I have now hopefully corrected the broken code.http://forums.nexusmods.com/index.php?/topic/1229671-mec-repair-servos-on-for-all-tweak/?p=10319407 If it still keeps crashing the game, can someone provide me with a save game where mec with repair servos is in tactical game (battle field not antfarm)? I have still not finished playing my first game and repair servos in the current game seemed like a very poor alternative to extra ammo with original functionality... Edit: A little detail worth mentioning:The mod changes:1. Unlimited repair servo usages2. Repair servos only activated when less than 2/3 HP But It does not change how much repair is done once activated... Which results in the following side effect:8 HP of 12 = Repair servo not activated7 HP of 12 = Repair servo activated and 2 HP added resulting in 9 HP. It would have been better if only 1 HP was added in that case, but I didn't want to mess around to much in the function responsible for actually adding the HP. Edited November 27, 2013 by Bertilsson Link to comment Share on other sites More sharing options...
doppelgangerK Posted November 28, 2013 Author Share Posted November 28, 2013 (edited) thank you, I just restart my game now.....and yes, the original 6HP in total is hilariously weak compare the extra storage, BTW, the SHIV sentinel drone can auto-repair to full health at 2HP/turn Edited November 28, 2013 by doppelgangerK Link to comment Share on other sites More sharing options...
Bertilsson Posted December 3, 2013 Share Posted December 3, 2013 Updated toolboks mod for EW Patch 1 MOD_NAME=Unlimited repair servos AUTHOR=Bertilsson DESCRIPTION=Unlimited repair servos, optional trigger value Version: 2.2 Compatible with XCOM Enemy Within Patch 1 ( Changelist: 398180 ) UPK_FILE=XComGame.upk OFFSET=10603787 [MODDED_HEX] {Modifies XGUnit_UnitHasAttention so that remaining servo repair hp is increased instead of decreased upon usage} A1 UPK_FILE=XComGame.upk OFFSET=10601987 [MODDED_HEX] {Modifies XGUnit_UnitNeedsAttentionEndingTurn so that remaining servo repair is only activate when HP is below 2/3 of max HP} 40 C3 00 00 76 5F 00 00 00 00 00 00 28 C3 00 00 00 00 00 00 00 00 00 00 29 C3 00 00 00 00 00 00 ED 01 00 00 6A 51 00 00 40 01 00 00 1B 01 00 00 0F 36 01 81 C2 00 00 25 07 27 01 1B EF 43 00 00 00 00 00 00 4A 16 07 7F 00 82 19 1B 8F 37 00 00 00 00 00 00 16 0C 00 14 B6 00 00 00 1B 55 3D 00 00 00 00 00 00 2C 2D 16 18 2D 00 96 1B A6 3B 00 00 00 00 00 00 16 19 1B 8F 37 00 00 00 00 00 00 16 0A 00 06 B6 00 00 00 1B 98 37 00 00 00 00 00 00 16 16 16 55 01 81 C2 00 00 03 00 24 02 16 07 9B 00 2D 01 0D 3A 00 00 55 01 81 C2 00 00 03 00 24 03 16 07 F0 00 19 1B 8F 37 00 00 00 00 00 00 16 0C 00 14 B6 00 00 00 1B 55 3D 00 00 00 00 00 00 2C 8B 16 07 F0 00 96 1B A6 3B 00 00 00 00 00 00 16 91 90 1B A9 3B 00 00 00 00 00 00 16 2C 0A 16 2C 0F 16 16 55 01 81 C2 00 00 03 00 24 04 16 07 27 01 82 1B 41 3D 00 00 00 00 00 00 16 18 17 00 96 1B A6 3B 00 00 00 00 00 00 16 1B A9 3B 00 00 00 00 00 00 16 16 16 55 01 81 C2 00 00 03 00 24 07 16 04 97 36 01 81 C2 00 00 25 16 04 3A 29 C3 00 00 53 0B 0B 0B 0B 0B 0B 0B 00 00 00 02 01 02 00 C1 79 00 00 00 00 00 00 Link to comment Share on other sites More sharing options...
Recommended Posts