Amineri Posted March 18, 2013 Share Posted March 18, 2013 I found a simple hex change that will unlock the "Loadout" button for SHIVs in the Barracks "View Troops" screen. Change is in XcomStrategyGame.upk Find:07 20 01 19 01 79 3F 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 0F 35 56 FB FF FF 6A FA FF FF 00 01 00 FF 3F 00 00 26 Replace:07 20 01 19 01 79 3F 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 0F 35 56 FB FF FF 6A FA FF FF 00 01 00 FF 3F 00 00 25 Simple testing allowed me to replace my basic SHIV minigun for an Assault Rifle or Laser Rifle (and the models updated correctly!). I didn't try taking it on missions or anything, though. Also available was an option to replace the built-in SHIV tread chassis with Flak Armor :smile:. I think I see where all the changes necessary to make the SHIV weapons properly equippable are, plus the changes to require them to be researched (in Foundry) and then built, but the task is going to be delayed by some other things I have to do first. I figured I'd toss it out there, though, in case anyone wants to play around with it. I'd be verrrry interested to see if you can equip an assault rifle and then use a SHIV in a mission. Fun !! P.S. The 4th SHIV weapon (Sentry Gun) doesn't even have a BuildItem(...) entry. :( Link to comment Share on other sites More sharing options...
Amineri Posted March 18, 2013 Author Share Posted March 18, 2013 So, I've fixed the loadout screen for SHIVs so that by default, all weapons and armor are class-locked (unequippable). However, weapons can be made equippable by giving them the property eWP_Overheats in the "ini file" stored in the executable. I've verified giving a SHIV an LMG. It animates correctly in the loadout screen (the rotation thingie), and can be taken on a mission when equipped. It can go on overwatch, and shoot the gun (killed a Thinman with a LMG-equipped SHIV). However, trying to move the SHIV causes it to "hang up". If there are other soldiers, you can tab switch to them, but the SHIVs are "stuck". Ending the turn causes an indefinite hang (if you've tried to move the SHIV). However, if you don't move the SHIV at all, the mission can completed and all soldiers return to base as normal. I noticed that the minigun has a special little animation that "pulls in" the minigun while the SHIV is moving. I suspect that this animation is being called, but doesn't exist for the LMG, thus causing the hang-up. Anyone have any thoughts or suggestions as to where such an animation is set or invoked? Or any other workaround for this? Link to comment Share on other sites More sharing options...
dubiousintent Posted March 18, 2013 Share Posted March 18, 2013 Just a guess, but wouldn't an animation most likely be implemented as an 'actionscript'? -Dubious- Link to comment Share on other sites More sharing options...
Amineri Posted March 20, 2013 Author Share Posted March 20, 2013 (edited) Update on loadouts for SHIVs. The modlet is basically working, with just a few glitches that detract slightly from the user experience. What is working:Loadout Button unlocked for SHIVs in Barracks and Dropship equip screens SHIV weapons are available for equipping in loadout screens SHIV armor is visible, but locked and unswappable Only weapons with property eWP_Integrated (the SHIV weapons, by default) can be equipped to SHIVs SHIV weapons cannot be equipped on any soldier class, or rookies All SHIVs begin with a Minigun, regardless of Foundry tech researched SHIVs do not get automatically upgraded when Foundry tech research is completed SHIV weapons above Minigun are now constructed in Engineering -- they are unlocked by the Foundry project If a SHIV is destroyed or dismissed, its weapon goes back into inventory (same as soldier equipment) If a SHIV is MIA or if SW option "Total Loss" is set, SHIV weapon is lost (same as soldier equipment) Sentry gun is now available. By default, it unlocks after SHIV Suppression Foundry project is completed Default cost for Sentry Gun is $50 Default cost for Laser Cannon (SHIV) is $80 + 30 alloy Default cost for Plasma Cannon (SHIV) is $300 + 38 elerium + 40 alloy Weapon Item Cards display correctly for SHIV weapons -- localisation text needs to be added in XComGame.intCurrent Issues:SHIV weapons are manufactured under the Soldier tab in Engineering, rather than the Vehicles tab. Any weapon can be marked with eWP_Integrated, but causes game to hang if SHIV equipped with non-SHIV weapon moves during tactical battle RESOLVED RESOLVED In Engineering, when entering Manufacturing screen, erroneously states that SHIV weapons can be used by all classes Sentry gun image and Minigun image are set to be the same, but are glitchy Sentry gun model is identical to Minigun model, but does not display in Barracks view -- it does display correctly during tactical battles Default damage of Sentry gun of 10 is not balanced with other SHIV weapons Costs of SHIVs + weapons has not been rebalancedThe changes so far have all been to XcomStrategyGame.upk. There are quite a few hex changes to make this work. Hidden below in the spoiler. This is a distillation of the hex code for the SHIV loadout mod.Code in here has been tested to not crash the game. -------------------------------------------------------------------------------------------Unlock Loadout screen for SHIVXcomStrategyGame.upkbefore:07 20 01 19 01 79 3F 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 0F 35 56 FB FF FF 6A FA FF FF 00 01 00 FF 3F 00 00 26 after:07 20 01 19 01 79 3F 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 0F 35 56 FB FF FF 6A FA FF FF 00 01 00 FF 3F 00 00 25 ------------------------------------------------------------------------------------------- A.2c, 3, 4Changes to XcomStrategyGame.upk >> XGFacility_Lockers >> GetLockerItemIf soldier is a tank, class locks any armor, and any weapon with eWP_Inegrated weapon property (14)Header change:before:01 2D 00 00 AB 1F 00 00 00 00 00 00 FC 2C 00 00 00 00 00 00 00 00 00 00 01 2D 00 00 00 00 00 00 75 01 00 00 06 30 00 00 91 03 00 00 61 02 00 00after:01 2D 00 00 AB 1F 00 00 00 00 00 00 FC 2C 00 00 00 00 00 00 00 00 00 00 01 2D 00 00 00 00 00 00 75 01 00 00 06 30 00 00 49 03 00 00 61 02 00 00 before:07 D6 01 9A 38 3A 00 01 2D 00 00 38 3A 24 00 16 07 2F 01 72 19 1B F4 02 00 00 00 00 00 00 16 09 00 B2 27 00 00 00 01 B2 27 00 00 00 FF 2C 00 00 16 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 27 06 D3 01 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 82 9A 35 C5 02 00 00 C8 02 00 00 00 00 48 00 2D 00 00 2C 3F 16 18 23 00 F2 19 00 FF 2C 00 00 0A 00 0A 45 00 00 00 1B 1F 11 00 00 00 00 00 00 16 28 16 16 07 D3 01 2D 35 A7 2C 00 00 AB 2C 00 00 00 00 00 FD 2C 00 00 0F 35 A6 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 24 05 06 CE 02 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 81 19 1B 23 27 00 00 00 00 00 00 16 47 00 76 40 00 00 00 1B 33 14 00 00 00 00 00 00 19 00 FF 2C 00 00 0A 00 91 45 00 00 00 1B B5 0E 00 00 00 00 00 00 16 38 3D 35 C5 02 00 00 C8 02 00 00 00 00 48 00 2D 00 00 16 16 07 CE 02 2D 35 A7 2C 00 00 AB 2C 00 00 00 00 00 FD 2C 00 00 0F 35 A6 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 19 1B 23 27 00 00 00 00 00 00 16 28 00 7A 40 00 00 00 1B 90 10 00 00 00 00 00 00 38 3D 35 C5 02 00 00 C8 02 00 00 00 00 48 00 2D 00 00 16 07 7C 03 82 2D 35 A7 2C 00 00 AB 2C 00 00 00 00 00 FD 2C 00 00 18 2C 00 77 2E 97 FE FF FF 19 1C AE FD FF FF 16 09 00 30 FB FF FF 00 01 30 FB FF FF 2A 16 16 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 81 19 2E 97 FE FF FF 19 1C AE FD FF FF 16 09 00 30 FB FF FF 00 01 30 FB FF FF 0A 00 82 FF FF FF 00 2D 01 82 FF FF FF 16 04 00 FD 2C 00 00 after: 07 D8 01 9A 38 3A 00 01 2D 00 00 38 3A 24 00 16 07 2F 01 72 19 1B F4 02 00 00 00 00 00 00 16 09 00 B2 27 00 00 00 01 B2 27 00 00 00 FF 2C 00 00 16 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 27 06 94 01 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 82 9A 35 C5 02 00 00 C8 02 00 00 00 00 48 00 2D 00 00 2C 3F 16 18 23 00 F2 19 00 FF 2C 00 00 0A 00 0A 45 00 00 00 1B 1F 11 00 00 00 00 00 00 16 28 16 16 07 D5 01 19 00 FF 2C 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 27 06 55 02 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 81 19 1B 23 27 00 00 00 00 00 00 16 47 00 76 40 00 00 00 1B 33 14 00 00 00 00 00 00 19 00 FF 2C 00 00 0A 00 91 45 00 00 00 1B B5 0E 00 00 00 00 00 00 16 38 3D 35 C5 02 00 00 C8 02 00 00 00 00 48 00 2D 00 00 16 16 07 D5 02 19 00 FF 2C 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 14 2D 35 A7 2C 00 00 AB 2C 00 00 00 01 00 FD 2C 00 00 81 19 1B C8 27 00 00 00 00 00 00 16 17 00 4F FF FF FF 00 1B 89 2C 00 00 00 00 00 00 35 C5 02 00 00 C8 02 00 00 00 00 48 00 2D 00 00 2C 0E 16 16 04 00 FD 2C 00 00 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B ------------------------------------------------------------------------------------------- B.1) Change XGStorage().GetShivWeapon() to return 5 ((LMG))or 113 ((Minigun)) -- do minigun for now, until animation issues with LMG are resolved.XcomStrategyGame.upkbefore:74 06 59 00 07 56 00 19 1B 75 0B 00 00 00 00 00 00 16 0C 00 7C 2A 00 00 00 1B 65 14 00 00 00 00 00 00 2C 06 16 04 24 73 06 59 00 04 24 71 after: for minigun (113 = 0x71)71 06 59 00 07 56 00 19 1B 75 0B 00 00 00 00 00 00 16 0C 00 7C 2A 00 00 00 1B 65 14 00 00 00 00 00 00 2C 06 16 04 24 71 06 59 00 04 24 71 ------------------------------------------------------------------------------------------- B.6) Modified XGFacility_Barracks().UnloadSoldier() so that equipped SHIV weapon is destroyed on MIA / SW optionXcomStrategyGame.upkheaderbefore:3D 28 00 00 AB 1F 00 00 00 00 00 00 37 28 00 00 00 00 00 00 00 00 00 00 3D 28 00 00 00 00 00 00 F0 02 00 00 20 52 00 00 3F 05 00 00 CB 03 00 00 after:3D 28 00 00 AB 1F 00 00 00 00 00 00 37 28 00 00 00 00 00 00 00 00 00 00 3D 28 00 00 00 00 00 00 F0 02 00 00 20 52 00 00 43 05 00 00 CB 03 00 00 before:14 2D 00 39 28 00 00 28 0F 00 3A 28 00 00 19 1B FA 10 00 00 00 00 00 00 16 09 00 CE 2A 00 00 00 01 CE 2A 00 00 0F 00 38 28 00 00 25 07 C0 00 96 00 38 28 00 00 36 19 00 3A 28 00 00 09 00 D5 3D 00 00 00 01 D5 3D 00 00 16 07 B2 00 72 10 00 38 28 00 00 19 00 3A 28 00 00 09 00 D5 3D 00 00 00 01 D5 3D 00 00 00 3D 28 00 00 16 14 2D 00 39 28 00 00 27 06 C0 00 A5 00 38 28 00 00 16 06 40 00 07 F8 00 2D 00 39 28 00 00 56 19 00 3A 28 00 00 09 00 D5 3D 00 00 00 01 D5 3D 00 00 0A 00 00 3D 28 00 00 16 07 09 01 81 2D 00 39 28 00 00 16 04 27 07 84 01 1B 3D 14 00 00 00 00 00 00 16 07 84 01 82 9A 19 00 3A 28 00 00 09 00 D2 3D 00 00 00 01 D2 3D 00 00 26 16 18 24 00 97 19 00 3D 28 00 00 0B 00 FD 44 00 00 00 1B E5 0E 00 00 00 00 00 00 25 16 25 16 16 19 00 3D 28 00 00 0D 00 00 00 00 00 00 1B BE 16 00 00 00 00 00 00 24 02 4A 16 07 D7 04 98 19 00 3D 28 00 00 0B 00 FD 44 00 00 00 1B E5 0E 00 00 00 00 00 00 25 16 25 16 0F 00 3B 28 00 00 2E 71 FE FF FF 19 19 2E 94 FE FF FF 12 20 FD FE FF FF 0A 00 3A FB FF FF 00 1C 91 FD FF FF 16 09 00 09 FB FF FF 00 01 09 FB FF FF 13 00 A4 FA FF FF 00 1B B6 0D 00 00 00 00 00 00 1F 58 47 50 61 72 61 6D 00 16 0F 19 00 3B 28 00 00 09 00 2B FC FF FF 00 01 2B FC FF FF 19 19 1B 69 0E 00 00 00 00 00 00 16 09 00 8F 2F 00 00 00 01 8F 2F 00 00 0A 00 CB 25 00 00 00 1B F1 0E 00 00 00 00 00 00 16 0F 19 00 3B 28 00 00 09 00 2A FC FF FF 00 01 2A FC FF FF 19 19 1B 69 0E 00 00 00 00 00 00 16 09 00 8F 2F 00 00 00 01 8F 2F 00 00 0A 00 C9 25 00 00 00 1B 9D 0F 00 00 00 00 00 00 16 0F 19 00 3B 28 00 00 09 00 29 FC FF FF 00 01 29 FC FF FF 19 19 1B 69 0E 00 00 00 00 00 00 16 09 00 8F 2F 00 00 00 01 8F 2F 00 00 0A 00 C7 25 00 00 00 1B 9E 10 00 00 00 00 00 00 16 19 00 3D 28 00 00 0F 00 00 00 00 00 00 1B D3 23 00 00 00 00 00 00 2C 03 4A 4A 4A 16 0F 19 00 3D 28 00 00 09 00 E6 44 00 00 00 01 E6 44 00 00 19 00 3A 28 00 00 09 00 CE 3D 00 00 00 01 CE 3D 00 00 0F 19 00 3D 28 00 00 09 00 E5 44 00 00 00 01 E5 44 00 00 12 20 8C FE FF FF 14 00 09 FA FF FF 00 1B 39 0D 00 00 00 00 00 00 01 97 27 00 00 4A 16 55 01 AF 27 00 00 0A 00 00 3D 28 00 00 16 07 83 04 81 19 00 3D 28 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 16 07 57 04 84 19 00 3D 28 00 00 0A 00 E2 44 00 00 00 2D 01 E2 44 00 00 18 0D 00 1B A7 14 00 00 00 00 00 00 24 0E 16 16 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B B3 22 00 00 00 00 00 00 00 3D 28 00 00 16 06 80 04 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B 9D 22 00 00 00 00 00 00 00 3D 28 00 00 16 06 AC 04 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B 9D 22 00 00 00 00 00 00 00 3D 28 00 00 16 59 01 AF 27 00 00 12 00 43 84 26 00 00 00 00 00 00 00 00 00 00 16 1B E9 2B 00 00 00 00 00 00 16 06 32 05 07 0F 05 19 00 3D 28 00 00 0A 00 2C 45 00 00 00 1B 7C 14 00 00 00 00 00 00 16 1B 58 1F 00 00 00 00 00 00 00 3D 28 00 00 16 06 32 05 19 00 3D 28 00 00 0E 00 00 00 00 00 00 1B D3 23 00 00 00 00 00 00 25 4A 4A 4A 16 04 27 04 3A 3C 28 00 00 53 after:14 2D 00 39 28 00 00 28 0F 00 3A 28 00 00 19 1B FA 10 00 00 00 00 00 00 16 09 00 CE 2A 00 00 00 01 CE 2A 00 00 0F 00 38 28 00 00 25 07 C0 00 96 00 38 28 00 00 36 19 00 3A 28 00 00 09 00 D5 3D 00 00 00 01 D5 3D 00 00 16 07 B2 00 72 10 00 38 28 00 00 19 00 3A 28 00 00 09 00 D5 3D 00 00 00 01 D5 3D 00 00 00 3D 28 00 00 16 14 2D 00 39 28 00 00 27 06 C0 00 A5 00 38 28 00 00 16 06 40 00 07 F8 00 2D 00 39 28 00 00 56 19 00 3A 28 00 00 09 00 D5 3D 00 00 00 01 D5 3D 00 00 0A 00 00 3D 28 00 00 16 07 09 01 81 2D 00 39 28 00 00 16 04 27 07 D7 04 98 19 00 3D 28 00 00 0B 00 FD 44 00 00 00 1B E5 0E 00 00 00 00 00 00 25 16 25 16 0F 00 3B 28 00 00 2E 71 FE FF FF 19 19 2E 94 FE FF FF 12 20 FD FE FF FF 0A 00 3A FB FF FF 00 1C 91 FD FF FF 16 09 00 09 FB FF FF 00 01 09 FB FF FF 13 00 A4 FA FF FF 00 1B B6 0D 00 00 00 00 00 00 1F 58 47 50 61 72 61 6D 00 16 0F 19 00 3B 28 00 00 09 00 2B FC FF FF 00 01 2B FC FF FF 19 19 1B 69 0E 00 00 00 00 00 00 16 09 00 8F 2F 00 00 00 01 8F 2F 00 00 0A 00 CB 25 00 00 00 1B F1 0E 00 00 00 00 00 00 16 0F 19 00 3B 28 00 00 09 00 2A FC FF FF 00 01 2A FC FF FF 19 19 1B 69 0E 00 00 00 00 00 00 16 09 00 8F 2F 00 00 00 01 8F 2F 00 00 0A 00 C9 25 00 00 00 1B 9D 0F 00 00 00 00 00 00 16 0F 19 00 3B 28 00 00 09 00 29 FC FF FF 00 01 29 FC FF FF 19 19 1B 69 0E 00 00 00 00 00 00 16 09 00 8F 2F 00 00 00 01 8F 2F 00 00 0A 00 C7 25 00 00 00 1B 9E 10 00 00 00 00 00 00 16 19 00 3D 28 00 00 0F 00 00 00 00 00 00 1B D3 23 00 00 00 00 00 00 2C 03 4A 4A 4A 16 0F 19 00 3D 28 00 00 09 00 E6 44 00 00 00 01 E6 44 00 00 19 00 3A 28 00 00 09 00 CE 3D 00 00 00 01 CE 3D 00 00 0F 19 00 3D 28 00 00 09 00 E5 44 00 00 00 01 E5 44 00 00 12 20 8C FE FF FF 14 00 09 FA FF FF 00 1B 39 0D 00 00 00 00 00 00 01 97 27 00 00 4A 16 55 01 AF 27 00 00 0A 00 00 3D 28 00 00 16 07 83 04 84 19 00 3D 28 00 00 0A 00 E2 44 00 00 00 2D 01 E2 44 00 00 18 0D 00 1B A7 14 00 00 00 00 00 00 24 0E 16 16 07 DC 03 81 19 00 3D 28 00 00 0A 00 30 45 00 00 00 1B 1B 14 00 00 00 00 00 00 16 16 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B B3 22 00 00 00 00 00 00 00 3D 28 00 00 16 06 80 04 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B B0 22 00 00 00 00 00 00 1A 25 35 8E FB FF FF 77 FA FF FF 00 00 35 B6 F9 FF FF 7E FA FF FF 00 00 19 00 3D 28 00 00 09 00 ED 44 00 00 00 01 ED 44 00 00 4A 16 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B 9D 22 00 00 00 00 00 00 00 3D 28 00 00 16 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 06 AC 04 19 1B 23 27 00 00 00 00 00 00 16 13 00 00 00 00 00 00 1B 9D 22 00 00 00 00 00 00 00 3D 28 00 00 16 59 01 AF 27 00 00 12 00 43 84 26 00 00 00 00 00 00 00 00 00 00 16 1B E9 2B 00 00 00 00 00 00 16 06 32 05 07 0F 05 19 00 3D 28 00 00 0A 00 2C 45 00 00 00 1B 7C 14 00 00 00 00 00 00 16 1B 58 1F 00 00 00 00 00 00 00 3D 28 00 00 16 06 32 05 19 00 3D 28 00 00 0E 00 00 00 00 00 00 1B D3 23 00 00 00 00 00 00 25 4A 4A 4A 16 04 27 04 3A 3C 28 00 00 0B 0B 0B 0B 53 -------------------------------------------------------------------------------------------A.2.a and C) Move SHIV weapons to category 1, add build costs and requirementsXcomStrategyGame.upkNew version, including Sentry Gun:Before:1B 6E 04 00 00 00 00 00 00 2C 13 1D 13 01 00 00 2C 23 2C 28 2C 0F 2C 28 24 1E 4A 4A 2C 26 16 0F 01 61 35 00 00 2C 02 1B 6E 04 00 00 00 00 00 00 2C 39 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 0C 16 1B 6E 04 00 00 00 00 00 00 2C 3A 2C 19 4A 2C 0F 2C 0A 2C 0A 24 0E 4A 4A 2C 0A 16 1B 6E 04 00 00 00 00 00 00 2C 3B 2C 1E 4A 2C 0A 2C 0A 2C 0F 24 0F 4A 4A 2C 0E 16 1B 6E 04 00 00 00 00 00 00 2C 3C 2C 96 2C 0A 2C 23 2C 0A 2C 19 24 10 4A 4A 2C 0F 16 1B 6E 04 00 00 00 00 00 00 2C 3D 2C C8 2C 10 2C 1E 2C 0E 2C 23 24 12 4A 4A 2C 09 16 1B 6E 04 00 00 00 00 00 00 2C 3E 2C FA 2C 14 2C 19 2C 0E 2C 28 24 11 4A 4A 2C 0B 16 1B 6E 04 00 00 00 00 00 00 2C 3F 1D 90 01 00 00 2C 28 2C 14 2C 0A 2C 1E 24 0D 4A 4A 2C 0D 16 0F 01 61 35 00 00 2C 03 1B 6E 04 00 00 00 00 00 00 2C 66 2C 32 4A 4A 2C 0E 2C 05 4A 4A 24 01 2C 31 16 1B 6E 04 00 00 00 00 00 00 2C 67 2C 64 4A 2C 19 2C 0E 2C 0A 24 0E 4A 24 01 2C 32 16 1B 6E 04 00 00 00 00 00 00 2C 68 2C C8 2C 1E 2C 1E 2C 0E 2C 14 24 05 4A 24 01 2C 33 16 1B 6E 04 00 00 00 00 00 00 2C 69 2C 28 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 19 16 1B 6E 04 00 00 00 00 00 00 2C 6A 1D 13 01 00 00 2C 28 2C 3C 2C 15 2C 14 24 05 4A 4A 2C 15 16 1B 6E 04 00 00 00 00 00 00 2C 6B 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 42 16 1B 6E 04 00 00 00 00 00 00 2C 6C 2C 64 4A 4A 2C 14 2C 05 4A 4A 4A 2C 2E 16 1B 6E 04 00 00 00 00 00 00 2C 71 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 34 16 1B 6E 04 00 00 00 00 00 00 2C 73 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 35 16 1B 6E 04 00 00 00 00 00 00 2C 74 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 41 16 1B 6E 04 00 00 00 00 00 00 2C 75 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 31 16 After: 1B 6E 04 00 00 00 00 00 00 2C 13 1D 13 01 00 00 2C 23 2C 28 2C 0F 2C 28 24 1E 4A 4A 2C 26 16 1B 6E 04 00 00 00 00 00 00 24 71 4A 4A 4A 1D FF FF FF FF 2C 4A 4A 4A 24 34 16 1B 6E 04 00 00 00 00 00 00 24 72 2C 32 4A 4A 24 05 24 0A 4A 4A 24 10 24 34 16 1B 6E 04 00 00 00 00 00 00 24 73 24 50 4A 24 1E 24 09 24 14 4A 4A 24 06 24 35 16 1B 6E 04 00 00 00 00 00 00 24 74 1D 2C 01 00 00 24 26 24 28 24 0B 24 28 4A 4A 24 07 24 41 16 0F 01 61 35 00 00 2C 02 1B 6E 04 00 00 00 00 00 00 2C 39 4A 4A 4A 1D FF FF FF FF 2C 01 4A 4A 4A 2C 0C 16 1B 6E 04 00 00 00 00 00 00 2C 3A 2C 19 4A 2C 0F 2C 0A 2C 0A 24 0E 4A 4A 2C 0A 16 1B 6E 04 00 00 00 00 00 00 2C 3B 2C 1E 4A 2C 0A 2C 0A 2C 0F 24 0F 4A 4A 2C 0E 16 1B 6E 04 00 00 00 00 00 00 2C 3C 2C 96 2C 0A 2C 23 2C 0A 2C 19 24 10 4A 4A 2C 0F 16 1B 6E 04 00 00 00 00 00 00 2C 3D 2C C8 2C 10 2C 1E 2C 0E 2C 23 24 12 4A 4A 2C 09 16 1B 6E 04 00 00 00 00 00 00 2C 3E 2C FA 2C 14 2C 19 2C 0E 2C 28 24 11 4A 4A 2C 0B 16 1B 6E 04 00 00 00 00 00 00 2C 3F 1D 90 01 00 00 2C 28 2C 14 2C 0A 2C 1E 24 0D 4A 4A 2C 0D 16 0F 01 61 35 00 00 2C 03 1B 6E 04 00 00 00 00 00 00 2C 66 2C 32 4A 4A 2C 0E 2C 05 4A 4A 24 01 2C 31 16 1B 6E 04 00 00 00 00 00 00 2C 67 2C 64 4A 2C 19 2C 0E 2C 0A 24 0E 4A 24 01 2C 32 16 1B 6E 04 00 00 00 00 00 00 2C 68 2C C8 2C 1E 2C 1E 2C 0E 2C 14 24 05 4A 24 01 2C 33 16 1B 6E 04 00 00 00 00 00 00 2C 69 2C 28 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 19 16 1B 6E 04 00 00 00 00 00 00 2C 6A 1D 13 01 00 00 2C 28 2C 3C 2C 15 2C 14 24 05 4A 4A 2C 15 16 1B 6E 04 00 00 00 00 00 00 2C 6B 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 42 16 1B 6E 04 00 00 00 00 00 00 2C 6C 2C 64 4A 4A 2C 14 2C 05 4A 4A 4A 2C 2E 16 1B 6E 04 00 00 00 00 00 00 2C 75 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 31 16 -----------------------------------------------------------------------------------------G) Remove code in XGFacility_Engineering().OnFoundryComplete() to auto-equip SHIVs with new SHIV weaponsXcomStrategyGame.upkbefore:07 D7 03 9A 35 35 03 00 00 36 03 00 00 00 00 10 00 B0 29 00 00 01 12 29 00 00 2C 06 16 07 D4 03 9B 38 3A 19 1B 23 27 00 00 00 00 00 00 16 0A 00 8B 40 00 00 00 1B 41 10 00 00 00 00 00 00 16 38 3A 24 74 16 19 1B F4 02 00 00 00 00 00 00 16 0C 00 00 00 00 00 00 1B 1E 2C 00 00 00 00 00 00 24 73 16 06 9D 04 07 29 04 9A 35 35 03 00 00 36 03 00 00 00 00 10 00 B0 29 00 00 01 12 29 00 00 2C 07 16 19 1B F4 02 00 00 00 00 00 00 16 0C 00 00 00 00 00 00 1B 1E 2C 00 00 00 00 00 00 24 74 16 06 9D 04 after:00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 00 B0 29 00 00 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B Edited March 27, 2013 by Amineri Link to comment Share on other sites More sharing options...
Yzaxtol Posted March 20, 2013 Share Posted March 20, 2013 (edited) Can you disable the sentry gun from appearing or being available? Tempted to include this in my mod as: 1. Minor issue2. Can be designed around.3. Can be edited in the localisation files.4. .. screenshot to how bad it is?5. Can be edited, hopefully6. Hopefully will remove Sentry7. removing Sentry8. removing Sentry9. I can still rebalance them in the .ini file right? This modlet will allow me to reintroduce SHIV weapons as tactical varieties, as because you weren't given a choice I had to just make each one do a little extra damage and have no flavour. Edited March 20, 2013 by Yzaxtol Link to comment Share on other sites More sharing options...
Amineri Posted March 20, 2013 Author Share Posted March 20, 2013 Definitely able to not include the sentry gun (easier than including it, for sure). My goal in including the sentry gun was to be able to provide a 4th weapon option so that early game SHIVs could be introduced. The 6 damage of a minigun is a bit unbalancing in the first month and half (I think), so my thought on damage progression was : minigun 4 or 5 -- sentry 6 or 7 -- laser 8 or 9 -- plasma 10 to 12. Having to spend resources makes the SHIV weapons the most difficult weapons to get -- they easily have the longest research path. Requiring them to be built individually allows them to be made more powerful than the soldier weapons without rendering soldiers obsolete -- high end SHIV weapon can simply be made too expensive to be able to field too many of them. Keep in mind that the various bonuses can be split between the chassis (tank armor) and the weapon. For example, alloy shiv chassis could have 0 aim, hover shiv could have +15, shiv laser +10 aim, and shiv plasma +5 aim. The alloy shiv chassis could be given more bonus hp than the hover, but given a move penalty compared to the basic one (tough but slow). 4) Currently the item card shows up for SHIV weapons, but shows blank information. I've identified the issue, and thought I had a fix, but it caused the game to crash whenever any item card (for ANY weapon) was displayed. Issue is that creation of the item card for weapons is tied to a function ItemIsWeapon, which is hard coded to return true only if 1< iItem < 55 OR 84 < iItem < 100. The SHIV weapons are in the range 113-116, so the weapon item card function just isn't called. I have a fix for this in the works -- it decompiles okay and the game launches, but crashes when accessing item cards ... soon, hopefully. 9) Yes, you can rebalance the weapon stats in the ini file, but to change build costs requires changing the (changed) hex code in the BuildItems function. I will point out which values need to be changed. The lines for the SHIV weapons (in change below, NOT the one with Sentry) are: 1B 6E 04 00 00 00 00 00 00 24 71 1D 19 00 00 00 24 00 1D 00 00 00 00 24 05 24 0A 4A 4A 24 10 24 34 16 <--- SHIV Minigun1B 6E 04 00 00 00 00 00 00 24 73 1D 50 00 00 00 24 00 1D 1E 00 00 00 24 09 24 14 4A 4A 24 06 24 35 16 <--- SHIV Laser1B 6E 04 00 00 00 00 00 00 24 74 1D 2C 01 00 00 24 26 1D 28 00 00 00 24 0B 24 28 2C 00 4A 24 07 24 41 16 <--- SHIV Plasma BuildItem parameters are (example hex shown for SHIV plasma) : function BuildItem(1) int iItem, -- 24 742) optional int iCashCost, -- 1D 2C 01 00 003) optional int iEleriumCost, -- 24 264) optional int iAlloyCost, -- 1D 28 00 00 005) optional int iTime, -- 24 0B6) optional int iMaxEngineers, -- 24 28 7) optional XComGame.XGGameData.ETechType eTechReq, -- 2C 00 :cool: optional XComGame.XGGameData.EItemType eItemReq, -- 4A9) optional XComGame.XGGameData.EFoundryTech eFTech, -- 24 0710) optional int EImage) -- 24 41 Full integers were used for cost and alloys, so valid values are 1 < cash, alloys < 2,147,483,648Laser Cannon has null for elerium cost, so can't be given an elerium costPlasma Cannon elerium cost is valid in range 1 - 255Time and Engineers are valid in range 1-255Plasma Cannon has no current tech requirement, but there is space for one. Below is the hex code change WITHOUT sentry gun added (change is still required to move SHIV weapons from category 3 to category 1, allowing them to be selected in the loadout menu) .2.a and C) Move SHIV weapons to category 1, add build costs and requirementsXcomStrategyGame.upk Before:1B 6E 04 00 00 00 00 00 00 2C 13 1D 13 01 00 00 2C 23 2C 28 2C 0F 2C 28 24 1E 4A 4A 2C 26 16 0F 01 61 35 00 00 2C 02 1B 6E 04 00 00 00 00 00 00 2C 39 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 0C 16 1B 6E 04 00 00 00 00 00 00 2C 3A 2C 19 4A 2C 0F 2C 0A 2C 0A 24 0E 4A 4A 2C 0A 16 1B 6E 04 00 00 00 00 00 00 2C 3B 2C 1E 4A 2C 0A 2C 0A 2C 0F 24 0F 4A 4A 2C 0E 16 1B 6E 04 00 00 00 00 00 00 2C 3C 2C 96 2C 0A 2C 23 2C 0A 2C 19 24 10 4A 4A 2C 0F 16 1B 6E 04 00 00 00 00 00 00 2C 3D 2C C8 2C 10 2C 1E 2C 0E 2C 23 24 12 4A 4A 2C 09 16 1B 6E 04 00 00 00 00 00 00 2C 3E 2C FA 2C 14 2C 19 2C 0E 2C 28 24 11 4A 4A 2C 0B 16 1B 6E 04 00 00 00 00 00 00 2C 3F 1D 90 01 00 00 2C 28 2C 14 2C 0A 2C 1E 24 0D 4A 4A 2C 0D 16 0F 01 61 35 00 00 2C 03 1B 6E 04 00 00 00 00 00 00 2C 66 2C 32 4A 4A 2C 0E 2C 05 4A 4A 24 01 2C 31 16 1B 6E 04 00 00 00 00 00 00 2C 67 2C 64 4A 2C 19 2C 0E 2C 0A 24 0E 4A 24 01 2C 32 16 1B 6E 04 00 00 00 00 00 00 2C 68 2C C8 2C 1E 2C 1E 2C 0E 2C 14 24 05 4A 24 01 2C 33 16 1B 6E 04 00 00 00 00 00 00 2C 69 2C 28 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 19 16 1B 6E 04 00 00 00 00 00 00 2C 6A 1D 13 01 00 00 2C 28 2C 3C 2C 15 2C 14 24 05 4A 4A 2C 15 16 1B 6E 04 00 00 00 00 00 00 2C 6B 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 42 16 1B 6E 04 00 00 00 00 00 00 2C 6C 2C 64 4A 4A 2C 14 2C 05 4A 4A 4A 2C 2E 16 1B 6E 04 00 00 00 00 00 00 2C 71 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 34 16 1B 6E 04 00 00 00 00 00 00 2C 73 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 35 16 1B 6E 04 00 00 00 00 00 00 2C 74 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 41 16 1B 6E 04 00 00 00 00 00 00 2C 75 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 31 16 After:1B 6E 04 00 00 00 00 00 00 2C 13 1D 13 01 00 00 2C 23 2C 28 2C 0F 2C 28 24 1E 4A 4A 2C 26 16 1B 6E 04 00 00 00 00 00 00 24 71 1D 19 00 00 00 24 00 1D 00 00 00 00 24 05 24 0A 4A 4A 24 10 24 34 16 1B 6E 04 00 00 00 00 00 00 24 73 1D 50 00 00 00 24 00 1D 1E 00 00 00 24 09 24 14 4A 4A 24 06 24 35 16 1B 6E 04 00 00 00 00 00 00 24 74 1D 2C 01 00 00 24 26 1D 28 00 00 00 24 0B 24 28 2C 00 4A 24 07 24 41 16 0F 01 61 35 00 00 2C 02 1B 6E 04 00 00 00 00 00 00 2C 39 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 0C 16 1B 6E 04 00 00 00 00 00 00 2C 3A 2C 19 4A 2C 0F 2C 0A 2C 0A 24 0E 4A 4A 2C 0A 16 1B 6E 04 00 00 00 00 00 00 2C 3B 2C 1E 4A 2C 0A 2C 0A 2C 0F 24 0F 4A 4A 2C 0E 16 1B 6E 04 00 00 00 00 00 00 2C 3C 2C 96 2C 0A 2C 23 2C 0A 2C 19 24 10 4A 4A 2C 0F 16 1B 6E 04 00 00 00 00 00 00 2C 3D 2C C8 2C 10 2C 1E 2C 0E 2C 23 24 12 4A 4A 2C 09 16 1B 6E 04 00 00 00 00 00 00 2C 3E 2C FA 2C 14 2C 19 2C 0E 2C 28 24 11 4A 4A 2C 0B 16 1B 6E 04 00 00 00 00 00 00 2C 3F 1D 90 01 00 00 2C 28 2C 14 2C 0A 2C 1E 24 0D 4A 4A 2C 0D 16 0F 01 61 35 00 00 2C 03 1B 6E 04 00 00 00 00 00 00 2C 66 2C 32 4A 4A 2C 0E 2C 05 4A 4A 24 01 2C 31 16 1B 6E 04 00 00 00 00 00 00 2C 67 2C 64 4A 2C 19 2C 0E 2C 0A 24 0E 4A 24 01 2C 32 16 1B 6E 04 00 00 00 00 00 00 2C 68 2C C8 2C 1E 2C 1E 2C 0E 2C 14 24 05 4A 24 01 2C 33 16 1B 6E 04 00 00 00 00 00 00 2C 69 2C 28 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 19 16 1B 6E 04 00 00 00 00 00 00 2C 6A 1D 13 01 00 00 2C 28 2C 3C 2C 15 2C 14 24 05 4A 4A 2C 15 16 1B 6E 04 00 00 00 00 00 00 2C 6B 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 4A 2C 42 16 1B 6E 04 00 00 00 00 00 00 2C 6C 2C 64 4A 4A 2C 14 2C 05 4A 4A 4A 2C 2E 16 1B 6E 04 00 00 00 00 00 00 2C 75 1D FF FF FF FF 4A 4A 1D FF FF FF FF 1D FF FF FF FF 4A 4A 24 01 2C 31 16 Link to comment Share on other sites More sharing options...
Amineri Posted March 26, 2013 Author Share Posted March 26, 2013 Update:I appear to have worked out how to display the stats for the SHIV weapons. There is no localisation text for any of the SHIV weapons, so I had to add it myself. Damage, crit damage and crit chance are all pulled from the in-game data, same as any other weapon, though. http://wiki.tesnexus.com/images/7/79/2013-03-26_SHIV_Weapon_Loadout_small.jpg Link to comment Share on other sites More sharing options...
Amineri Posted March 26, 2013 Author Share Posted March 26, 2013 Here are the hex code changes to fix the weapon item cards for SHIVs. Unfortunately it is a bunch of little changes, as the ItemIsWeapon() call didn't have enough space to include SHIVs. I ended up swapping the logic in ItemIsWeapon() and ItemIsAccessory(). ItemIsAccessory was sloppily written, so had plenty of space. This then required patching up the calls to the functions (meaning three separate changes). In all, there are five separate hex code changes necessary to fix up the item cards. Also included at the end is the text to be added to XComGame.int (localization file) so that the item card shows the "flavor text" -- feel free to modify as you like. Finally, a big THANK YOU to anUser for pointing out that the optimization tokens have to be included ... this was what was previously causing my code to crash. H) SHIV Weapon ItemCards are not being filled out -- need to be filled out (XGItemCards())XcomStrategyGame.upkIn XGSoldierUI.GetItemCardFromOptionswap ItemIsWeapon call to ItemIsAccessorybefore:15 00 51 FF FF FF 00 1B 14 15 00 00 00 00 00 00 38after:15 00 51 FF FF FF 00 1B 12 15 00 00 00 00 00 00 38 swap ItemIsAccessory call to ItemIsWeaponbefore:15 00 52 FF FF FF 00 1B 12 15 00 00 00 00 00 00 38after:15 00 52 FF FF FF 00 1B 14 15 00 00 00 00 00 00 38 XcomGame.upkReplace "guts" of XGTacticalGameCore.ItemIsAccessory function with weapon item logicbefore: (135 bytes) (0xAF = 175 virtual bytes)07 A2 00 84 84 84 84 84 84 84 84 9A 00 EE 77 00 00 2C 4C 16 18 0E 00 9A 00 EE 77 00 00 2C 50 16 16 18 0E 00 9A 00 EE 77 00 00 2C 58 16 16 18 0E 00 9A 00 EE 77 00 00 2C 55 16 16 18 0E 00 9A 00 EE 77 00 00 2C 4F 16 16 18 0E 00 9A 00 EE 77 00 00 2C 4D 16 16 18 0E 00 9A 00 EE 77 00 00 2C 52 16 16 18 0E 00 9A 00 EE 77 00 00 2C 51 16 16 18 0E 00 9A 00 EE 77 00 00 2C 4E 16 16 04 27 04 28 04 3A ED 77 00 00 53 after: (86 bytes) (0xAF = 175 virtual bytes) 04 84 84 82 97 00 EE 77 00 00 26 16 18 0E 00 96 00 EE 77 00 00 2C 37 16 16 18 20 00 82 97 00 EE 77 00 00 2C 54 16 18 0E 00 96 00 EE 77 00 00 2C 64 16 16 16 18 20 00 82 97 00 EE 77 00 00 2C 70 16 18 0E 00 96 00 EE 77 00 00 2C 75 16 16 16 04 3A F0 77 00 00 00 EE 77 00 00 00 EE 77 00 00 00 EE 77 00 00 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 0B 53 Replace "guts" of XGTacticalCore.ItemIsWeapon function with accessory item logicbefore: (58 bytes) (0x4E = 78 virtual bytes)04 84 82 97 00 F1 77 00 00 26 16 18 0E 00 96 00 F1 77 00 00 2C 37 16 16 18 20 00 82 97 00 F1 77 00 00 2C 54 16 18 0E 00 96 00 F1 77 00 00 2C 64 16 16 16 04 3A F0 77 00 00 53 after : (44 bytes) (0x4E = 78 virtual bytes)04 84 84 82 99 00 F1 77 00 00 2C 4C 16 18 0E 00 98 00 F1 77 00 00 2C 52 16 16 18 0E 00 9A 00 F1 77 00 00 2C 55 16 16 18 0E 00 9A 00 F1 77 00 00 2C 58 16 16 00 F1 77 00 00 53 swap ItemIsWeapon call to ItemIsAccessory in XGItemCards.BuildItemCardHex changes:before:1B F9 3E 00 00 00 00 00 00 38after:1B F6 3E 00 00 00 00 00 00 38 XComGame.int (localization file)Add the following three (or four if Sentry Gun is added) lines to the file:m_aItemTacticalText[eItem_ShivMinigun]="<Bullet/> SHIV Weapon\n<Bullet/> The Minigun is such a large weapon that it can only be mounted on a SHIV platform"m_aItemTacticalText[eItem_ShivSentry]="<Bullet/> SHIV Weapon\n<Bullet/> The Sentry Gun boasts an improved rate of fire over the Minigun"m_aItemTacticalText[eItem_ShivLaser]="<Bullet/> SHIV Weapon\n<Bullet/> More powerful version of infantry Heavy Laser\n<Bullet/> The cooling feeds and power requirements of this weapon require it to be mounted on a SHIV"m_aItemTacticalText[eItem_ShivPlasma]="<Bullet/> SHIV Weapon\n<Bullet/> More powerful version of infantry Heavy Plasma\n<Bullet/> The cooling feeds and power requirements of this weapon require it to be mounted on a SHIV" Link to comment Share on other sites More sharing options...
Amineri Posted March 27, 2013 Author Share Posted March 27, 2013 A couple of last localisation file changes to pretty things up: 1) When in Loadout screen, message "The Loadout of a S.H.I.V. cannot be edited." appears. In XcomStategyGame.int, changem_strNoEditSHIV="The Loadout of a S.H.I.V. cannot be edited."to:m_strNoEditSHIV="Choose the weapon that this S.H.I.V will take into combat." 2) Both SHIV and Interceptor weapons have the same names (i.e. "Laser Cannon") In XcomGame.int, changebefore:m_aItemNames[eItem_ShivMinigun]="Minigun"m_aItemNames[eItem_ShivSentry]="Sentry"m_aItemNames[eItem_ShivLaser]="Laser Cannon"m_aItemNames[eItem_ShivPlasma]="Plasma Cannon" after:m_aItemNames[eItem_ShivMinigun]="Minigun"m_aItemNames[eItem_ShivSentry]="Sentry"m_aItemNames[eItem_ShivLaser]="Super Heavy Laser"m_aItemNames[eItem_ShivPlasma]="Super Heavy Plasma"or some other names, if you prefer. Link to comment Share on other sites More sharing options...
anUser Posted March 28, 2013 Share Posted March 28, 2013 I'm glad my research was helpful. I wanna try this mod myself, and I'll eventualy do it, but man, I've gotta plan it well, this one is a dirty mod... :p Link to comment Share on other sites More sharing options...
Recommended Posts