Bertilsson Posted November 16, 2013 Share Posted November 16, 2013 Since there are multiple spawn spots, maybe you could spawn 6 in one area and another 6 in a different area? Could this save you guys some trouble?Unfortunatey I don't think there are multiple XCom spawn areas on all maps. And even if there were, they are probably too far apart for it to be a good solution. I am pretty sure this thread is for E.U. not the Expansion.In the expansion i just played with 7 soldiers but it was an extraction mission.AFAIK there is 8 soldiers that are playable using the Long war mod. Since they are able to do so it would probably be best to ask them how.For Enemy within, I can't even get resource hacker to mod the script, I'm gonna play with it some more :smile:Unfortunately both Toolboks and Longwar utilize the mod created in this thread to increase the number of soldiers, so; no :smile: Basically there are 3 things that needs fixing:Spawn locationsWas solved in EU by re-using the same locations as soldier 1-6 for soldier 7-12. In later versions an 1-tile offset was added to avoid forcing soldiers to stand inside each-other.I'm fairly optimistic that this strategy is still valid, but all the new maps and alternative spawn locations will make it a real pain testing to make sure no-one ends up inside walls or objects on any map on any start location. If soldiers end up inside objects in a limited number of maps, we can move the individual spawn "tiles" on each map, but it takes ~30 minutes per map just to re-define a single spawn tile.Worst case alternative is to implement the oldest strategy where soldier 7-12 stands inside soldier 1-6. It takes < 10 minutes to implement and requires no map testing, but it looks really weird.DebriefingOnly soldier 1-6 is shown in the de-briefing list after mission.Not really deal-breaking if not solved, but for EU XMarksTheSpot went the extra mile and implemented a scrollbar for soldier 7+Loadout screenAll soldiers after the 6:th stacks on top of soldier 6 making it difficult to equip those soldiers and impossible to select who they are.For EU XMarksTheSpot was able to increase the number of soldier slots and also to add rotation buttons for selecting which 6 of up to 12 slots to view.I think for Enemy Within it may be worth exploring a shortcut to only have 6 slots and use buttons for re-organizing the soldiers in unreal script only.In theory this allows for less work and less bugs related to the increased number of slots.I intend to deal with the spawn locations shortly, both for latest version of EU and within. But until we have access to developer shell or developer console it will not be feasible to make any map testing. So it will be quantum physical re-usage of spawn locations to begin with for EW. Link to comment Share on other sites More sharing options...
wildnfree Posted November 16, 2013 Share Posted November 16, 2013 (edited) Spawn Locations "If soldiers end up inside objects in a limited number of maps, we can move the individual spawn "tiles" on each map, but it takes ~30min" - I can help you with that but I don't know how. If you show me the basic steps, I don't mind doing a few maps a day to help the community out. - You're absolutely right, lets not stack our soldiers on top of each other, it does look very weird and you don't know who you're selecting before moving. DebriefingOnly soldier 1-6 is shown in the de-briefing list after mission.Not really deal-breaking if not solved, but for EU XMarksTheSpot went the extra mile and implemented a scrollbar for soldier 7+- I don't think it's a big deal either but if we could get a scrollbar for soldier 7+ than let's do it!! It's always great to the results after the mission. Loadout screenFor EU XMarksTheSpot was able to increase the number of soldier slots and also to add rotation buttons for selecting which 6 of up to 12 slots to view. - Is it possible to get this function in EW as well? I've seen most of the maps so far and the spawn sites seem very open with not a lot of objects in the way. If you need help with anything please let me know, I'll try to help as much as I can if its within my limits. Also thanks you so much for doing this! Looking forward to your response. Edited November 16, 2013 by wildnfree Link to comment Share on other sites More sharing options...
Bertilsson Posted November 16, 2013 Share Posted November 16, 2013 @WildnfreeThank you very much for offering to help. But I have to agree that the new maps actually seem very open around the spawn locations, so I'm guessing they are probably fine, with possible exception for one or two maps we haven't noticed yet, which is then probably quicker if I fix on my own if/when discovered. However I plan to create a very small mod which will move the spawn location for soldier 1-6 instead of moving it for soldier 7-12. That way you or anyone else who wants to help, can actually do it during normal game play. As long as no soldier gets stuck on spawn it means that the alternative spawn locations are OK. I will post the mod and instructions how to install as soon as I get around to creating it. Link to comment Share on other sites More sharing options...
wildnfree Posted November 16, 2013 Share Posted November 16, 2013 (edited) That's pretty awesome and creative as well too, I like the ideal! I'll definitely try it out and provide feedback. Where you able to talk to XMarksTheSpot? Regarding this issue? "Increase the number of soldier slots and also to add rotation buttons for selecting which 6 of up to 12 slots to view" for EW as well? Could you take XMarksTheSpots the old coding from EU and implement it to EW? Edited November 16, 2013 by wildnfree Link to comment Share on other sites More sharing options...
Bertilsson Posted November 16, 2013 Share Posted November 16, 2013 (edited) EDIT: Code is now corrected and properly tested for Enemy withinSpawnlocation fix for enemy within(test version with alternate spawn locations for soldier 1-6 instead of 7-12) XGPlayer.LoadSquad() (XComGame.upk, decimal offset 9763094 ) Replace this: AE A5 00 00 76 5F 00 00 00 00 00 00 8A A5 00 00 00 00 00 00 00 00 00 00 97 A5 00 00 00 00 00 00 BE 03 00 00 04 80 00 00 56 05 00 00 8A 03 00 00 0F 00 91 A5 00 00 36 00 97 A5 00 00 0F 01 D2 A4 00 00 1C 1B FC FF FF 20 7C C0 00 00 4A 4A 4A 4A 4A 4A 01 AA FE FF FF 16 0F 19 01 D2 A4 00 00 09 00 85 BF 00 00 00 01 85 BF 00 00 17 0F 01 BC A4 00 00 00 96 A5 00 00 55 00 95 A5 00 00 0C 00 10 25 00 95 A5 00 00 16 40 00 95 A5 00 00 25 26 16 0F 00 90 A5 00 00 25 07 53 05 96 00 90 A5 00 00 00 91 A5 00 00 16 0F 00 8F A5 00 00 10 00 90 A5 00 00 00 95 A5 00 00 07 B7 01 82 9B 38 3A 19 01 B2 F9 FF FF 09 00 90 FE FF FF 00 01 90 FE FF FF 38 3A 24 00 16 18 33 00 12 20 C6 00 00 00 1D 00 69 00 00 00 00 1B E6 43 00 00 00 00 00 00 10 00 90 A5 00 00 00 94 A5 00 00 16 16 0F 00 93 A5 00 00 1C 1B FC FF FF 1B BB 03 00 00 00 00 00 00 10 00 90 A5 00 00 00 94 A5 00 00 16 4A 4A 4A 4A 4A 4A 4A 16 19 00 93 A5 00 00 30 00 00 00 00 00 00 1B 5D 6E 00 00 00 00 00 00 35 2B 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 16 06 DE 02 0F 00 93 A5 00 00 1C 1B FC FF FF 20 F4 B6 00 00 4A 4A 4A 4A 4A 4A 4A 16 19 2E F4 B6 00 00 00 93 A5 00 00 30 00 00 00 00 00 00 1B 7B 6E 00 00 00 00 00 00 35 2A 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 16 19 00 93 A5 00 00 30 00 00 00 00 00 00 1B 5D 6E 00 00 00 00 00 00 35 2B 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 16 07 DE 02 9B 38 3A 19 01 B2 F9 FF FF 09 00 90 FE FF FF 00 01 90 FE FF FF 38 3A 24 00 16 19 2E F4 B6 00 00 00 93 A5 00 00 0A 00 00 00 00 00 00 1B 6F 7B 00 00 00 00 00 00 16 19 00 93 A5 00 00 0A 00 00 00 00 00 00 1B 77 68 00 00 00 00 00 00 16 0F 19 00 93 A5 00 00 09 00 DC B5 00 00 00 01 DC B5 00 00 10 00 90 A5 00 00 00 94 A5 00 00 0F 00 92 A5 00 00 1B 72 72 00 00 00 00 00 00 20 22 CC 00 00 01 8C A4 00 00 19 00 8F A5 00 00 09 00 9E F8 FF FF 00 01 9E F8 FF FF 19 00 8F A5 00 00 09 00 9B F8 FF FF 00 01 9B F8 FF FF 00 93 A5 00 00 01 D2 A4 00 00 4A 00 8F A5 00 00 4A 4A 16 0F 19 00 92 A5 00 00 09 00 AE C2 00 00 00 01 AE C2 00 00 35 26 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 19 00 92 A5 00 00 31 00 00 00 00 00 00 1B A9 02 00 00 00 00 00 00 35 29 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 4A 16 07 2D 04 72 00 92 A5 00 00 2A 16 06 45 05 07 DE 04 9A 35 56 0F 00 00 58 0F 00 00 00 00 19 00 93 A5 00 00 09 00 E8 B5 00 00 00 01 E8 B5 00 00 2C 02 16 19 2E AF 50 00 00 19 00 92 A5 00 00 0A 00 E0 37 00 00 00 1B 45 3A 00 00 00 00 00 00 16 45 00 00 00 00 00 00 1B 6A 6C 00 00 00 00 00 00 35 8E 0F 00 00 99 0F 00 00 00 01 19 2E F4 B6 00 00 00 93 A5 00 00 09 00 B9 B6 00 00 00 01 B9 B6 00 00 4A 16 12 20 06 BC 00 00 14 00 00 00 00 00 00 1B 73 04 00 00 00 00 00 00 00 92 A5 00 00 4A 16 19 00 92 A5 00 00 0A 00 00 00 00 00 00 1B 43 7B 00 00 00 00 00 00 16 19 00 92 A5 00 00 0A 00 00 00 00 00 00 1B A8 7A 00 00 00 00 00 00 16 A5 00 90 A5 00 00 16 06 A3 00 04 0B 53 00 00 00 02 00 02 00 23 4C 00 00 00 00 00 00 With this: AE A5 00 00 76 5F 00 00 00 00 00 00 8A A5 00 00 00 00 00 00 00 00 00 00 97 A5 00 00 00 00 00 00 BE 03 00 00 04 80 00 00 AC 04 00 00 8A 03 00 00 0F 00 91 A5 00 00 36 00 97 A5 00 00 0F 01 D2 A4 00 00 1C 1B FC FF FF 20 7C C0 00 00 4A 4A 4A 4A 4A 4A 01 AA FE FF FF 16 0F 19 01 D2 A4 00 00 09 00 85 BF 00 00 00 01 85 BF 00 00 17 0F 01 BC A4 00 00 00 96 A5 00 00 55 00 95 A5 00 00 0C 00 10 25 00 95 A5 00 00 16 40 00 95 A5 00 00 25 26 16 0F 00 90 A5 00 00 25 07 A9 04 96 00 90 A5 00 00 00 91 A5 00 00 16 0F 00 8F A5 00 00 10 FD 00 90 A5 00 00 2C 06 16 00 95 A5 00 00 0F 00 93 A5 00 00 1C 1B FC FF FF 20 F4 B6 00 00 4A 4A 4A 4A 4A 4A 4A 16 19 2E F4 B6 00 00 00 93 A5 00 00 30 00 00 00 00 00 00 1B 7B 6E 00 00 00 00 00 00 35 2A 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 16 19 00 93 A5 00 00 30 00 00 00 00 00 00 1B 5D 6E 00 00 00 00 00 00 35 2B 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 16 0F 19 00 93 A5 00 00 09 00 DC B5 00 00 00 01 DC B5 00 00 10 00 90 A5 00 00 00 94 A5 00 00 07 66 02 98 00 90 A5 00 00 2C 05 16 0F 00 92 A5 00 00 1B 72 72 00 00 00 00 00 00 20 22 CC 00 00 01 8C A4 00 00 D7 19 00 8F A5 00 00 09 00 9E F8 FF FF 00 01 9E F8 FF FF 23 00 00 00 00 00 00 C0 C2 00 00 00 00 16 19 00 8F A5 00 00 09 00 9B F8 FF FF 00 01 9B F8 FF FF 00 93 A5 00 00 01 D2 A4 00 00 4A 00 8F A5 00 00 4A 4A 16 06 E6 02 0F 00 92 A5 00 00 1B 72 72 00 00 00 00 00 00 20 22 CC 00 00 01 8C A4 00 00 19 00 8F A5 00 00 09 00 9E F8 FF FF 00 01 9E F8 FF FF 19 00 8F A5 00 00 09 00 9B F8 FF FF 00 01 9B F8 FF FF 00 93 A5 00 00 01 D2 A4 00 00 4A 00 8F A5 00 00 4A 4A 16 0F 19 00 92 A5 00 00 09 00 AE C2 00 00 00 01 AE C2 00 00 35 26 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 19 00 92 A5 00 00 31 00 00 00 00 00 00 1B A9 02 00 00 00 00 00 00 35 29 4E 00 00 2C 4E 00 00 00 00 10 00 90 A5 00 00 00 97 A5 00 00 4A 16 07 83 03 72 00 92 A5 00 00 2A 16 06 9B 04 07 34 04 9A 35 56 0F 00 00 58 0F 00 00 00 00 19 00 93 A5 00 00 09 00 E8 B5 00 00 00 01 E8 B5 00 00 2C 02 16 19 2E AF 50 00 00 19 00 92 A5 00 00 0A 00 E0 37 00 00 00 1B 45 3A 00 00 00 00 00 00 16 45 00 00 00 00 00 00 1B 6A 6C 00 00 00 00 00 00 35 8E 0F 00 00 99 0F 00 00 00 01 19 2E F4 B6 00 00 00 93 A5 00 00 09 00 B9 B6 00 00 00 01 B9 B6 00 00 4A 16 12 20 06 BC 00 00 14 00 00 00 00 00 00 1B 73 04 00 00 00 00 00 00 00 92 A5 00 00 4A 16 19 00 92 A5 00 00 0A 00 00 00 00 00 00 1B 43 7B 00 00 00 00 00 00 16 19 00 92 A5 00 00 0A 00 00 00 00 00 00 1B A8 7A 00 00 00 00 00 00 16 A5 00 90 A5 00 00 16 06 A3 00 04 0B 53 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 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 00 00 02 00 02 00 23 4C 00 00 00 00 00 00 Installation instruction Decompress .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\XComGame.upk Open XComGame.upk in HxD (or any other HEX editor) Search and Replace the hex values in the spoiler above (make sure to select Datatype: Hex-values when searching)Instruction how to decompress XComGame.upkDownload Gildors Unreal Package Decompressor tool http://www.gildor.org/downloads to C:\Temp Drag and drop .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\XComGame.upk on top of decompress.exe Replace original .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\XComGame.upk with the new decompressed copy found in .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\Unpacked\ Delete .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\Unpacked\ Delete .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\XComGame.upk.uncompressed_size Known bug: The harbor(pier) reversed escort map is expected to place soldier 1 inside a box. Just leave him there during entire mission or throw a grenade at him to set him free (yes he will be wounded if you do that). For very tolerant players it is now possible to play EW with any number of soldiers chosen in .ini-file, as long as player is fine with not getting debriefing for soldier 7+ and is OK with not being able to select who are soldiers 6+ (they will just be picked top down from the barracks). But before turning on the Batman sky-light, in attempt to lure in someone like XMarksTheSpot who is competent enough to do all the hard work related to soldier selection, I plan to investigate the possibility to do it a bit different and hopefully less complex than before. Edited November 18, 2013 by Bertilsson Link to comment Share on other sites More sharing options...
wildnfree Posted November 16, 2013 Share Posted November 16, 2013 Thank you for clear instructions and I was able to get it working perfectly. I got soldiers 6+ stacking on top of each other in a starting location away from the original 6 but it works. :smile: I'm gonna test out some of the maps and provide some feed back soon. Once again thanks! Link to comment Share on other sites More sharing options...
Bertilsson Posted November 16, 2013 Share Posted November 16, 2013 ehrm... ehrr.... uhm....I may accidentally have edited Enemy unknown instead of Enemy Within :facepalm: :wallbash: Which actually makes it very surprising that the game was able to start at all... Soldiers stacking on top of each other is sign of nothing happening.Did you by any chance edit .\common\XCom-Enemy-Unknown\XEW\XComGame\CookedPCConsole\XComGame.upk ? Link to comment Share on other sites More sharing options...
wildnfree Posted November 17, 2013 Share Posted November 17, 2013 (edited) I just followed your instructions and then I used resource hacker to increase the "Sky Ranger capacity" to 12. All the 6+ soldiers were stacking lol. Is there a proper way to spawn all 12? Edited November 17, 2013 by wildnfree Link to comment Share on other sites More sharing options...
Bertilsson Posted November 17, 2013 Share Posted November 17, 2013 (edited) See previous post containing my personal Darwin award... Recreating it for EW right now :smile: Edit: Code fixed. Sorry for most likely destroying your Enemy Unknown installation, send me PM if you need help restoring it. Edit 2: You must also start a new game in order for updated skyranger max capacity to take effect. Edited November 17, 2013 by Bertilsson Link to comment Share on other sites More sharing options...
Bertilsson Posted November 17, 2013 Share Posted November 17, 2013 (edited) On a positive note I'm fairly certain that the un-equip all button can be re-purposed to test the concept of rotating the soldiers in loadout screen via unreal script only. If it is successful the functionality can later be connected to dedicated buttons when/if someone is able to add them. In any case it will probably take significant time to implement, so realistically speaking I'm guessing it will take a few weeks minimum before I have time to do it. Edited November 17, 2013 by Bertilsson Link to comment Share on other sites More sharing options...
Recommended Posts