Jump to content
⚠ Known Issue: Media on User Profiles ×

Kaldreth88

Members
  • Posts

    17
  • Joined

  • Last visited

Nexus Mods Profile

About Kaldreth88

Kaldreth88's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I've run into this same problem when swapping out weapon models and I narrowed it down to this. How do I go about modifying the array? I understand it's through hex edits but what's the process? *EDIT* Nevermind, I found your instructions in a much older post: http://forums.nexusmods.com/index.php?/topic/1177417-how-to-edit-defaultproperties/ Thanks!
  2. After poking around the XGTacticalGameCore I noticed that it's easy to change what the Arc Thrower can hack and set it to a sectopod as a test. I looked around for several hours and didn't find anything else that should affect Drone Hack. In game, I can target the Sectopod ( as usual) but I still get the "Can only hack Drones" message and a non-working OK button. There's just too many classes to dig through and find out what I missed. I'm sure it has something to do with the UI. Anyone know where to look for this type of interaction? I can't find the function that delivers a message on the UI based on the ability being used and the target it's set to. XGAbilityTree.BuildAbilities seems to hold some properties that determine what the player can target, but I don't think it determines if the player can use the ability.
  3. From what I understand, the new soldier head models in Long War are just civilian heads, or from the Easter Egg heroes.
  4. I just tried out the hex2pseudocode decompiler. It's fantastic! I rewrote an entire function in less than a minute and it came out great on UEE explorer. I just need to fix the jump offsets and it'll be perfect. Thank you so much for your hardwork , wghost81! *edit* While I can't write pseudocode I can read it just fine. Some copy and paste magic and I had the function I wanted, haha.
  5. Here it is from XcomStrategygame.upk>XGStrategySoldier.IsASpecialSoldier I'm reading through that post, atm. It's making more sense.
  6. That's a lot of information. I'm at a loss on where to go from here. Pseudo-code seems to be the easiest way but I don't know how it works, and I don't want to rewrite the entire function. I'm only looking to insert a line and expanding the function size. If that involves rewriting the entire function in psuedo-code that sounds impossible to me, at the moment. I'd probably have an easier time testing out my changes in hex code, but I still don't understand how I "set memory size manually". And how do I calculate the memory size of the original and the modified version? is it by adding this line to the file? EXPAND_FUNCTION=XGStrategyAI.GetPossibleAliens:5828
  7. PatcherGui. I never got around to figuring out UPKModder.
  8. I've been looking into changing how the game flags special soldiers and I found the function XGStrategySoldier.IsASpecialSoldier in XComStrategyGame.upk. I understand how it flags Zhang, Annette, and Van Doorn so I don't want to change that. What I would like to do is add another condition that flags the Easter Egg heroes as special soldiers, too. There just doesn't seem to be enough space left for that. I noticed this function in Long War is bigger compared to the vanilla function. How do I go about increasing the size of the function, and what are some practices to determine the correct byte and virtual memory size? From reading through the forums, I have a vague understanding of how this is done. The wiki doesn't provide enough information on how this works or what the downsides are. In XGStrategySoldier.IsASuperSoldier , m_eEasterEggChar has the values for each Super Soldier. I rewrote that function so it doesn't flag the easter egg heroes as super soldiers. I figured in XGStrategySoldier.IsASpecialSoldier I would just add a line that states if m_eEasterEggChar is greater than 0 it would should be a Special Soldier. I haven't figured out exactly how I'll write that script out since I'm still learning how unreal script works, but I'll get around to it. If there's an alternative (easier) way to go about this, I wouldn't mind doing that instead. Thanks in advance.
  9. Awesome. I've got it to work, although it does look messy. Thank you wghost81 and tracktwo! I really appreciate the help. It's not obvious to me if this will create issues, but I'm going to test it out some more.
  10. Thanks! That explains a lot. I understand what's wrong now, but I'm still not sure what you mean by injecting index references into the replacement code. I learn best by example and reviewing the work of others, so do you happen to have something similar I could look over?
  11. tracktwo, I tried to change it to an integer but it seems to screw up the offsets. I'm sure it's something to do with the way I'm replacing the hex code. In this particular line, this is what I changed. to UEE reads it fine, but then I noticed all the offsets afterwards are broken for each case. I'm sure I'm misunderstanding something in hex editing. I poured through several documents and topics in the past couple days but I can't figure out what exactly I should change it to.
  12. edit* Thank you wGhost81. I'll continue looking into this in it's own topic.
  13. wghost81 , I've been making simple hex changes to the XComStrategygame.UPK file and I've come across a bit of code I can't change correctly. More specifically the function he function CreateEasterEggCharacter under the XGCustomizeUi branch. I just want to designate a female voice to the character ( I almost don't care if it's random, or a specific voice). I changed everything else to make this a female character already. "GetNextFemaleVoice" doesn't seem to be in the XComStrategygame.UPK at all so I haven't been able to figure out what hex change to make. Here's what I've changed so far, and it's pretty messy but I just wanted to play around with the options and make sure I could change things around. The above line has kept me banging my head against a wall for 3 days now. Thanks!
  14. Hi, I'm trying to get use your program, PatcherGUI or UPK Utils to solve an issue I've run into while hex editing. This line has "GetNextMaleVoice" in the XcomStrategyGame.UPK, but the alternative "GetNextFemaleVoice" is not in the same UPK file so I can't do a simple hex swap to get it to change. I noticed "GetNextFemaleVoice" is used in XcomGame.UPK and I was wondering if there's a way I can export that line and apply it here. *****EDIT**** I'm not sure what the terminology for this would be* Also, I'm having issues figuring out how to use UPK Utils. I can't get these programs to do anything, it's like a puzzle to me at the moment. I've never had to use programs like these so I don't understand some of the directions in the read me file. They come off as extremely vague. Like.... where do I type in this command? Command Prompt? ExtractNameLists.exe XComStrategyGame.upk > XComStrategyGame.txt Do I have to create the txt file beforehand, and if so where do I put it? I tried just dragging XComStrategyGame.UPK to the ExtractNameList.exe and it seemed to do something. The command prompt window came up and then it disappeared after flying through with some data. I appreciate the help.
  15. That was a really good read. I'm going to dig into it a little further and see I can figure out a solution. Thank you.
×
×
  • Create New...