Jump to content

justinas91

Members
  • Posts

    18
  • Joined

  • Last visited

Everything posted by justinas91

  1. I am trying to resize the ingame weapons to be more realistic (xcom enemy within) I have searched the forums and found that there was a mod to increase female weapons and reduce male weapons at the same time here http://forums.nexusmods.com/index.php?/topic/1499688-big-guns-for-girls/ The problem is its for enemy unknown and does not work for me because the hex code is different in enemy within then i tryed to create a patcher gui using the code from (long war xcomgame.upk) mixing it with the code i found UPK_FILE=XComGame.upk OBJECT=XComUnitPawn.AttachItem //slightly scale down ridiculously large weapons on male pawns [BEFORE_HEX] //if(bIsFemale && !AllObjects('XComMecPawn')) 07 C9 00 82 2D 01 26 3D 00 00 18 0E 00 81 C5 21 C0 7F 00 00 00 00 00 00 16 16 16 //MeshComp.SetScale(0.80) 19 00 46 3E 00 00 0F 00 00 00 00 00 00 1B FE 6D 00 00 00 00 00 00 1E CD CC 4C 3F 16 //Mesh.AttachComponentToSocket(MeshComp, SocketName) 19 01 4C FD FF FF 1C 00 00 00 00 00 00 1C 72 FA FF FF 00 46 3E 00 00 00 49 3E 00 00 16 //kFoundMeshComponent = MeshComp 0F 48 47 3E 00 00 00 46 3E 00 00 //MeshComp.SetLightEnvironment(LightEnvironment) 19 00 46 3E 00 00 13 00 00 00 00 00 00 1C A8 FA FF FF 01 36 3D 00 00 16 //MeshComp.SetShadowParent(Mesh) 19 00 46 3E 00 00 13 00 00 00 00 00 00 1C 9F FA FF FF 01 4C FD FF FF 16 //MeshComp.CastShadow = false 14 19 00 46 3E 00 00 0A 00 F3 FE FF FF 00 2D 01 F3 FE FF FF 28 //MeshComp.PrestreamTextures(1.0, true) 19 00 46 3E 00 00 11 00 00 00 00 00 00 1C 86 FB FF FF 1E 00 00 80 3F 27 4A 16 //0b [/BEFORE_HEX] [AFTER_HEX] //start 0x86 //if(!AllObjects('XComMecPawn')) 07 CE 00 81 C5 21 E3 80 00 00 00 00 00 00 16 16 //MeshComp.SetScale(((bIsFemale) ? 0.750 : 0.850)) 19 00 71 3E 00 00 18 00 00 00 00 00 00 1B EC 6E 00 00 00 00 00 00 45 2D 01 51 3D 00 00 05 00 1E 00 00 40 3F 05 00 1E 9A 99 59 3F 16 // null ops 00 71 3E 00 00 00 71 3E 00 00 00 71 3E 00 00 0B //Mesh.AttachComponentToSocket(MeshComp, SocketName) 19 01 4C FD FF FF 1C 00 00 00 00 00 00 1C 72 FA FF FF 00 46 3E 00 00 00 49 3E 00 00 16 //kFoundMeshComponent = MeshComp 0F 48 47 3E 00 00 00 46 3E 00 00 //MeshComp.SetLightEnvironment(LightEnvironment) 19 00 46 3E 00 00 13 00 00 00 00 00 00 1C A8 FA FF FF 01 36 3D 00 00 16 //MeshComp.SetShadowParent(Mesh) 19 00 46 3E 00 00 13 00 00 00 00 00 00 1C 9F FA FF FF 01 4C FD FF FF 16 //MeshComp.PrestreamTextures(1.0, true) 19 00 46 3E 00 00 11 00 00 00 00 00 00 1C 86 FB FF FF 1E 00 00 80 3F 27 4A 16 //0b [/AFTER_HEX] I almost got it working but it crashes as soon as a soldier model has to load I am not good at this Maybe can someone help me out or done this already? Ty all
  2. Ty got it working
  3. Hi I have a problem and maybe someone knows whats hapening. The problems is if i make any hex editing (even changing one number 58 to 57 for making the game read .ini files) on the game Executable files ex. ( XComEW.exe ) when launching the game it crashes with error XcomEW.exe Application error The application was unable to start corectly (0xc0000142) If i edit any hex changes back to what it was it starts to works again. Ty
×
×
  • Create New...