Jump to content

Bertilsson

Members
  • Posts

    443
  • Joined

  • Last visited

Everything posted by Bertilsson

  1. As it turns out Notepad++ can make it simple enough. 1. Right-click on the file-tab --> Clone to other view. 2. View --> Synchronize Vertical Scrolling. 3. Double-click on words of interest and select Style token. After doing that it is very easy to overview and modify any part of interest.
  2. Ok thank you. I'll do some googling and if I can't find any tool to make it less "relaxing" I will probably make my own... It is probably an excellent oportunity to figure out how regexp works :)
  3. Yes, but I haven't found any text-editing features beyond notepad in there... Let's say that I want to modify iEnvironmentDamage for all plasma weapons. Manually looking for relevant lines and side-scrolling in a text-editor is very teadious to say the very least. Weapons=(iType=eItem_PlasmaLightRifle,ABILITIES[0]=eAbility_ShotStandard,ABILITIES[1]=eAbility_NONE,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_Overwatch,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_Rifle,Properties[1]=eWP_None,Properties[2]=eWP_None,Properties[3]=eWP_None,Properties[4]=eWP_None,Properties[5]=eWP_None,iDamage=5,iEnvironmentDamage=125,iRange=27,iReactionRange=-1,iReactionAngle=200,iRadius=0,iCritical=10,iOffenseBonus=10,iSuppression=0,iSize=eItemSize_Large,iHPBonus=0,iWillBonus=0)
  4. Is there any tool existing which makes modifying DefaultGameCore.ini a less boring task? While some modders like Yzaxtol can probably update the entire thing using nothing but notepad in less than 30 seconds, it is more like a 30 minutes process for me.
  5. I have calculated the offsets for the Enhanced Perk Tree mod using below formula: for (var i = 1; i <= highestLevel; i++) { for (var j = 0; j <= highestPerk; j++) { baseOffset + 48 + (22*i) + 11 + j); } } Sniper baseOffset: 7169316 //highestLevel=11, highestPerk=3 Heavy baseOffset: 7169770 //highestLevel=11, highestPerk=3 Assault baseOffset: 7170224 //highestLevel=11, highestPerk=3 Support baseOffset: 7170678 //highestLevel=11, highestPerk=3 PSI baseOffset: 7169000 //highestLevel=4, highestPerk=3 Important: Not respecting highestLevel=4 for PSI-class makes XComGame.upk very sad.
  6. Thank you, I have now added an inspirational menu where you can select the following perk trees: Standard XCom by Firaxis Merciless mod v1.2 by Yzaxtol If anyone wants to add more trees to that menu, let's say for example something leaner and meaner then before;) just let me know the link to it.
  7. One feature worth highlighting is that the tool autogenerates a link with the current seed for any changes so that it can be shared with others or "saved" for future editing. An example where Merciless v1.2 setup has been recreated: http://hem.bredband.net/bertrich/XCOM/ExtendedPerkGen.htm?seed=00,03,00,00,1f,08,0b,00,09,0f,2f,00,02,23,0a,00,5b,35,27,00,05,10,11,00,0d,00,36,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,12,00,00,2f,21,18,00,20,0f,0b,00,1a,13,16,00,5b,35,19,00,0e,11,27,00,5e,00,5d,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,06,00,00,20,18,21,00,22,0b,25,00,27,1f,23,00,29,35,28,00,2b,5b,05,00,24,00,0e,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,2c,00,00,08,2f,30,00,13,02,25,00,5c,0a,38,00,34,35,33,00,2b,36,11,00,24,00,37,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,45,00,00,00,47,46,00,00,49,48,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, (hopefully Yzaxtol doesn't mind, please let me know otherwise!) Also keep in mind that it still requires Amineris perk tree mod to be installed before installing any mod which is the result of the tool. And you still need toolboks to implement the resulting mods.
  8. I'm thinking about making a new version of the obsolete perk tree mod generator. The benefit compared to using the native perk editor in toolboks would be: * Overview of all classes to make planing a bit easier * Possibility to import (and modify) perk trees created by other users bokauk Do you have any short term plans which will make those features redundant? Amineri Do you have any short term plans to increase the number of supported levels or perks per level beyond the current 7x3? I know that you initially planned for 11*4...
  9. Did you try running the file "Warspace Extension vX.XX Setup.exe" ? After that you probably want to do this as well: 1. Open %systemroot%\system32\drivers\etc\hosts with notepad 2. Add the following lines in the bottom and save # Prevent XCOM Phone Home 127.0.0.1 prod.xcom.firaxis.com 127.0.0.1 65.118.245.165
  10. In the spoiler in post #37 in this thread. http://forums.nexusmods.com/index.php?/topic/937059-xcom-modding-need-of-a-centralized-source-of-information/?p=7591905
  11. I personally prefer very little damage to the environment, so if it was up to me to decide I would go for DamageAmount = Rand(DamageAmount). But then again I can just decrease the environmental damage from the weapons via ini.file, so it really shouldn't be up to me to decide :) However talking about the amount of damage explosives does to environment... If it was possible to modify the amount of soldier/alien-damage explosives does then I would be something like 30.000 times more interested. Grenades dealing exactly the same amount of damage to anyone inside the blast area regardless of cover, distance to the center of explosion and no randomness or anything makes me sad every time I see a grenade in the game... which is a lot since I have to throw them all the time in early game...
  12. I have put together a little html file for reverse lookup of all enums in XComGame.exe here: http://hem.bredband.net/bertrich/XCOM/ReverseLookup.htm I didn't realize that anUser had already created a similar tool until this one was almost complete. On the positive side it should be a bit more user-friendly as it requires no input-files and allows for some filters to be used. Also it should be very easy to adapt to other games which use unreal engine if anyone has a need for it.
  13. 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...
  14. You could just save below to a text file and load it as a custom mod in Toolboks... Given that the information from johnnylump is correct regarding what changing the total of 3 bytes does. MOD_NAME=Stunfest AUTHOR=johnnylump DESCRIPTION=ToolBoks Stunfest UPK_FILE=XComGame.upk OFFSET=7641567 {org value C8} [MODDED_HEX] 48 UPK_FILE=XComGame.upk OFFSET=7873180 {org value 09} [MODDED_HEX] 24 UPK_FILE=XComGame.upk OFFSET=9353093 {org value 02} [MODDED_HEX] 0a A little warning: If you are not running the latest version it will probably make the game unplayable instead since it will change 3 bytes that may be needed for something else...
  15. Hmm... Using functions to fetch information and make generally structured and well written code... What kind of strange magic is that? :blink: I have been using more of a quick and dirty approach depending on a big array and a single function for everything. So yes, as previously stated I will probably need to redesign the entire thing to be a bit more dynamic which would in turn probably be easier if I used some of that strange magic. :cool: But, perhaps we can continue this discussion in a new thread related to the tool or your upcoming mod? I think we are getting pretty far from topic right now.
  16. I wouldn't mind at all. Would it be very impolite of me to ask if you could do it for me? I would probably spend the better part of a day figuring out how to do it and where to do it :) I don't think it is possible to embed the tool directly in the wiki since it uses javascript. Almost everything, including logic, in the tool is based on the principle that there is exactly 48 abilities and the code is very far from well structured and update friendly. So I would probably have to rewrite more or less the entire tool to make the changes required... Challange accepted. Just give me a few days to redesign how output is handled before I begin redesigning the entire thing :cool: Same question to you... Would you mind helping me create the tool page? Or possibly give me a few hints how to do it? I am completely new to the site and would be grateful for any assistance.
  17. Now that time has passed there are a few things that have changed on this topic: 1. The offset for different abilities have changed (updated values below). 2. Inspired by the Visual Perks Editor I and this thread I decided to create a tool of my own that handles offset. The primary purpose was a user-friendly tool which makes it simple to visualize and create custom ability trees that can be installed with the ToolBoks mod. Ironically on the very same day as the tool was created the Toolboks author anounced that he is including support for moding the abiltity trees directly in the ToolBoks mod... But I guess it can still be used for reference or support when creating your very own distributable custom mods. The tool is found here: http://hem.bredband.net/bertrich/XCOM/PerkGen.htm Current updated offset and default values are as follows: Hex_Offset Decimal_Offset Perk_Value (Class_Rank Perk_Name) 6d6561 7169377 02 (Sniper_Squaddie: Headshot) 6d657e 7169406 03 (Sniper_Corporal_A: Squadsight) 6d658f 7169423 10 (Sniper_Corporal_B: Snap Shot) 6d65ac 7169452 0f (Sniper_Sergeant_A: Damn Good Ground) 6d65bd 7169469 5f (Sniper_Sergeant_B: Gunslinger) 6d65da 7169498 08 (Sniper_Lieutenant_A: Battle Scanner) 6d65eb 7169515 09 (Sniper_Lieutenant_B: Disabling Shot) 6d6608 7169544 0a (Sniper_Captain_A: Opportunist) 6d6619 7169561 0b (Sniper_Captain_B: Executioner) 6d662b 7169579 05 (Sniper_Major: Low Profile) 6d6648 7169608 0d (Sniper_Colonel_A: Double Tap) 6d6659 7169625 0e (Sniper_Colonel_B: In the Zone) 6d6727 7169831 12 (Heavy_Squaddie: Fire Rocket) 6d6744 7169860 13 (Heavy_Corporal_A: Holo Targeting) 6d6755 7169877 1a (Heavy_Corporal_B: Bullet Swarm) 6d6772 7169906 15 (Heavy_Sergeant_A: Suppression) 6d6783 7169923 16 (Heavy_Sergeant_B: Shredder Rocket) 6d67a0 7169952 17 (Heavy_Lieutenant_A: Rapid Reaction) 6d67b1 7169969 5b (Heavy_Lieutenant_B: HEAT Ammo) 6d67ce 7169998 19 (Heavy_Captain_A: Danger Zone) 6d67df 7170015 18 (Heavy_Captain_B: Grenadier) 6d67f1 7170033 11 (Heavy_Major: Will to Survive) 6d680e 7170062 5e (Heavy_Colonel_A: Mayhem) 6d681f 7170079 5d (Heavy_Colonel_B: Rocketeer) 6d68ed 7170285 06 (Assault_Squaddie: Run & Gun) 6d690a 7170314 20 (Assault_Corporal_A: Aggression) 6d691b 7170331 21 (Assault_Corporal_B: Tactical Sense) 6d6938 7170360 22 (Assault_Sergeant_A: Close and Personal) 6d6949 7170377 23 (Assault_Sergeant_B: Lightning Reflexes) 6d6966 7170406 24 (Assault_Lieutenant_A: Rapid Fire) 6d6977 7170423 25 (Assault_Lieutenant_B: Flush) 6d6994 7170452 27 (Assault_Captain_A: Bring em On) 6d69a5 7170469 28 (Assault_Captain_B: Close Combat) 6d69b7 7170487 1b (Assault_Major: Extra Conditioning) 6d69d4 7170516 29 (Assault_Colonel_A: Killer Instinct) 6d69e5 7170533 2b (Assault_Colonel_B: Resilience) 6d6ab3 7170739 2c (Support_Squaddie: Smoke Grenade) 6d6ad0 7170768 2f (Support_Corporal_A: Covering Fire) 6d6ae1 7170785 1f (Support_Corporal_B: Sprinter) 6d6afe 7170814 5c (Support_Sergeant_A: Smoke and Mirrors) 6d6b0f 7170831 30 (Support_Sergeant_B: Field Medic) 6d6b2c 7170860 31 (Support_Lieutenant_A: Rifle Suppression) 6d6b3d 7170877 38 (Support_Lieutenant_B: Revive) 6d6b5a 7170906 33 (Support_Captain_A: Combat Drugs) 6d6b6b 7170923 34 (Support_Captain_B: Dense Smoke) 6d6b7d 7170941 35 (Support_Major: Deep Pockets) 6d6b9a 7170970 36 (Support_Colonel_A: Sentinel) 6d6bab 7170987 37 (Support_Colonel_B: Savior)
×
×
  • Create New...