Jump to content

ZenLOSER

Premium Member
  • Posts

    2
  • Joined

  • Last visited

Nexus Mods Profile

About ZenLOSER

Profile Fields

  • Country
    None

ZenLOSER's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Thanks for the reply! Sadly I have that in there as it was created by default: [Engine.ScriptPackages]+NonNativePackages=SimpleHack As well in the editor ini:[ModPackages]+ModPackages=SimpleHack And that is the name of the folder. I also see in the SDK script directory:SimpleHack.u The mystery continues :(.
  2. So I feel like I must be doing something wrong but that it may be something simple...I'm new to modding but not new to programming. I tried to follow what was in the "Example Class Override" though it didn't seem to have as many comments as the other examples. Goal - Make hack rewards easier to get. Here is what I have done: - New->default mod - Added to Engine ini: [Engine.Engine] +ModClassOverrides=(BaseGameClass="X2AbilityToHitCalc_Hacking", ModClass="X2AbilityToHitCalc_Hacking_HS")- Removed the XComGame ini as I dont think I need it (I dont think this needs a first time load thing?)- Created a uc file: X2AbilityToHitCalc_Hacking_HS.ucclass X2AbilityToHitCalc_Hacking_HS extends X2AbilityToHitCalc_Hacking config(GameCore); I then copied the whole function GetHackAttackForUnit from the X2AbilityToHitCalc_Hacking source file and added a simple line: HackAttack += 100;after the lineHackAttack = Hacker.GetCurrentStat(eStat_Hacking); The 100 isn't likely the final number I would stick with but I wanted something large so that I knew it worked. Ok so, build solution, start game, I see my mod there, check it on. I loaded up a game where I was right next to a hacking object and pressed hack...but nothing seemed to have changed. From what I can tell the UI code calls this function to determine HackOffense which then determines chances...but everything was exactly the same even though it should have added 100. Any clue what I am doing wrong?
×
×
  • Create New...