Amineri Posted May 8, 2013 Author Posted May 8, 2013 I can do that, for consistency. I didn't actually create original / new hex blocks (even in my own notes), since I knew that I'd need to be swapping out a fair number of individual bytes to change the perks. I have a difficult time finding the individual bytes to replace in the consolidated blocks. I did create a before/after set of hex for the function I prototyped (which was Support). At any rate, it won't be too difficult to get what you are looking for. I'll post them onto a separate wiki page that I'll link to the page with the ToolBoks Custom Mods.
Amineri Posted May 8, 2013 Author Posted May 8, 2013 I put the before/after hex changes onto a page here: http://wiki.tesnexus.com/index.php/GetPerkInTree_before_after_UPK_mods_Enhanced_Perk_Tree_-_XCOM:EU_2012 The hex before/after and ToolBoks Custom Mod pages link to each other, but the main page links to the ToolBoks Custom Mod version. I haven't done a search/replace with that hex code, but I copied them directly out from from installed and running upk (for the new version) and a backup upk (for the original). These are entire function hex swaps, including the complete header. Let me know if you find any problems :)
Yzaxtol Posted May 8, 2013 Posted May 8, 2013 Cheers this should be perfect for what I'm planning for my new Perk Manager
Amineri Posted May 8, 2013 Author Posted May 8, 2013 @Yzaxtol Please feel free to add any screenshots of the custom perk trees you come up with to the wiki. I love to see the creativity that people express -- I'm often surprised with how people use/combine the basic tools that I come up with.
Amineri Posted May 9, 2013 Author Posted May 9, 2013 Exactly like that! And you've completely made me feel justified in not using four abilities icons. Most of your class names wouldn't fit if there were four icons displayed :D
Amineri Posted May 9, 2013 Author Posted May 9, 2013 Okay, a full ToolBoks Custom Mod is done and posted up on the Nexus site here: http://xcom.nexusmods.com/mods/104 Requires ToolBoks 1.21 for correct installation. Includes Installer and Uninstaller, as well as Custom Mod file for each individual perk tree. Should be considered in beta until it sees more testing :)
Bertilsson Posted May 10, 2013 Posted May 10, 2013 Would it be possible to make more than 1 perk selectable per rank shown in the promotion-screen?Basically allowing for 7 promotions + 4 unofficial promotions where the soldier gets to chose an additional perk from the current (or possibly a lower) rank. Squaddie --> Squaddie --> Corporal --> Sergeant --> Sergeant...
Amineri Posted May 10, 2013 Author Posted May 10, 2013 I think it would be possible, although I didn't plan for it when doing my redesign. In the mod each rank is marked as promoted with a 1 bit flag. Bits 0-6 of XGStrategySoldier.m_iEnergy keep track of which ranks have been promoted, and bits 16-18 keep track of psi promotions. If I'd use 2 bits per rank I could have counted up to 3 possible promotions per rank allowed (although configuring how many were available per rank would be a bit tricky). Short answer -- it would be possible, but a fair bit of work. I'll keep it in the back of my mind as I plan for extensions.
Yzaxtol Posted May 11, 2013 Posted May 11, 2013 (edited) here is a screenshot of my 'sophisticated' Perk Editor that I use to easily switch entire perk trees around in a matter of minutes. After every edit, I copy the Custom and Over-write Merciless and that always leaves me : The vanilla HEX, my current HEX and something to mess around with. Edited May 11, 2013 by Yzaxtol
Recommended Posts