Jump to content

atoric

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by atoric

  1. It works for classic mode too, but it is not obvious, because classic difficulty in the game is handled by BalanceMods_Hard, and impossible is handled by BalanceMods_Classic. So, you need to change BalanceMods_Hard values, if you want to play classic game. Don't know what developers thought.
  2. I had same idea today and I have already checked this and other ini files. There are 5 blocks, which are different between demo and release in this file as I remember, and that piece is the same, so you can save your time.
  3. Doing so means altering exe file, which will work for you, but won't work for others, because you need to provide modified exe-file. Better approach is to do what Langy suggested - to write a patcher, which will inject modded content into exe. Modders will distribute modded content (ini files) as well as patcher. User will need to use patcher to inject ini files into exe. Such approach avoids sharing exe file, which is good in terms of user agreement, and user friendly, because no need to replace resources manually. I can write such patcher. Question is do we actually need it? What if Firaxis will provide modding tools with next patch?
  4. That is why you need to use resource editing program instead of hex editing.
  5. It is easy to replace resource programmaticaly, so such patcher is easy job. You are welcome. Well, you can just follow these steps: 1. Mod DefaultGameCore.ini (it is the same inside exe) to whatever you like. 2. Open XComGame.exe inside Resource Hacker. 3. Find RCdata/1020/1033 in left section. 4. Right click 1033 and select "Replace Resource". You will see a new window. 5. Click button "Open file with new resource...", which you will see on new window. 6. Find file, which you modded before and select it. 7. Now fill three text boxes with such values: Resource type: RCDATA Resource name: 1020 Resource language: 1033 8. Click "Replace" button. You should see modded content to the right. If not, then something went wrong. 9. Save file using File -> Save and now game is modded.
  6. Here is a way how to mod this game. Full copy of file "DefaultGameCore.ini" is stored inside executable file ...Binaries\Win32\XComGame.exe and game uses it instead of one in folder ...\XComGame\Config\ You need to use resource editor over XComGame.exe in order to modify DefaultGameCore. You need to look inside RCData section for resource 1020, which uses language 1033. As for test I modified this line: BalanceMods_Normal=(eType=eChar_Soldier, iDamage=0, iCritHit=0,iAim=0,iDefense=0,iHP=5, iMobility=0,iWill=0) Now I have 11 HP for all my soldiers. So such modding approach works, though it is not easy. I use freeware Resource Hacker for editing resources. First you need to save 1020 resource in plain txt file. Then modify it. Then replace using such parameters: Type: RCData Name: 1020 Language: 1033 And finally save file. I hope it will satisfy your needs for a start.
×
×
  • Create New...