Change Reloading AP Cost?

Discussion in 'Fallout Tactics Modding' started by MacAoidh, Mar 22, 2019.

  1. MacAoidh

    MacAoidh First time out of the vault

    7
    Feb 18, 2019
    Hey guys. Is it possible to change the reloading cost for individual weapons? It seems silly reloading a pistol for 2 action points and reloading a machine gun for the same cost.
     
  2. nadeauhugo

    nadeauhugo Author of FOT mod THE SUM Modder

    460
    Mar 9, 2014
    I’m afraid the way the engine is made, there is no way at this moment to change reload time for specific weapon types. It is only a generic number. I changed it for 5 AP personnally, as I found it a bit stupid to spend only 2 AP to reload a gun. It should be at least as long as shooting...
     
  3. AbullSinCara

    AbullSinCara Modder&Mapper

    331
    Jul 2, 2012
    I modify the stats of the character and the weapon entity to make it go faster. But you would need the engine/game's source to do that. I would recommend IDA explorer to find the addresses then edit the values.

    For example I wanted to max the height of the map at which I could place tiles, the maximum height in game is 256 and I wanted to max it to 1526 to make really tall skyscrapers for some of my city maps. I tried once with notepad++ it didn't work.
     
  4. MacAoidh

    MacAoidh First time out of the vault

    7
    Feb 18, 2019
    How do I change the generic number?
     
  5. nadeauhugo

    nadeauhugo Author of FOT mod THE SUM Modder

    460
    Mar 9, 2014
    Hi! You can change the AP generic number, with FT Improver. Look for version 2.0.0 or something like that. Then, after installing Improver, you open Improver_data folder and modify the file APCstructure.txt.
     
  6. MacAoidh

    MacAoidh First time out of the vault

    7
    Feb 18, 2019
    Any update here? Is there a line in the code I can change to make it happen (say if I used a HEX editor)? The only reason why I can't use Fallout Improver is because I'm already modifying the game as it is and I have no idea how Improver would interact with my modifications.
     
  7. nadeauhugo

    nadeauhugo Author of FOT mod THE SUM Modder

    460
    Mar 9, 2014
    If that can reassure you, I heavily modified Tactics original .exe, also used FTScripting Engine on top of that, and everything still work flawlessly. The only bugs I noticed using Improver were :

    1. Editing a mission file with Improver make it later impossible to open that mission with the vanilla level editor.
    2. Editing the campaign file with Improver make strange bugs appear (like a wrong quartermaster items count), so I NEVER use Improver to edit the campaign.
     
  8. MacAoidh

    MacAoidh First time out of the vault

    7
    Feb 18, 2019
    You, sir, are amazing! Worked like a charm.