Jump to content


Photo

Editing monthly costs?


  • Please log in to reply
8 replies to this topic

#1 Sorrow

Sorrow

    Captain

  • Forum Members
  • PipPipPipPip
  • 283 posts

Posted 12 November 2012 - 05:48 PM

Is it possible?

#2 NKF

NKF

    Commander

  • [Global Moderators]
  • PipPipPipPipPipPip
  • 4,798 posts

Posted 13 November 2012 - 01:25 AM

For facilities, the facil.dat structure has the answers. You can either edit the base costs stored in the geoscape.exe executable so that it generates a facil.dat with these values for every new game created, or if you want it to be different from save to save, you can generate or edit your own facil.dat file and drop it into the save file of choice.

Hired troops, scientists, engineers and aircraft I think are a simple percentage of their purchase cost.

- NKF
Lord High Generalissimo Ruler Supreme of Norm's Anti Pedant Society (NAPS).

Number of members: 1

#3 Sorrow

Sorrow

    Captain

  • Forum Members
  • PipPipPipPip
  • 283 posts

Posted 13 November 2012 - 09:59 AM

I modified troop and aircraft costs and they monthly costs stayed the same.

#4 kevL's

kevL's

    Sergeant

  • Forum Members
  • PipPipPip
  • 27 posts

Posted 14 November 2012 - 12:20 PM

i think it depends whether you edited Geoscape/Tactical.exe or one of the savegame, local data files.

If the latter, changes take place immediately; but if an .Exe is altered, *sometimes* (depending on what yer altering) a new game has to be started,



[edit] oh, i see what yer saying ...

Edited by kevL's, 14 November 2012 - 12:29 PM.


#5 Sorrow

Sorrow

    Captain

  • Forum Members
  • PipPipPipPip
  • 283 posts

Posted 14 November 2012 - 06:07 PM

I guess I'll have to search for these values in Geoscape.exe, then.

#6 Sorrow

Sorrow

    Captain

  • Forum Members
  • PipPipPipPip
  • 283 posts

Posted 14 November 2012 - 06:59 PM

1.4 Geoscape offset for:

Interceptors:
0x2b5ca
Soldiers
0x2b6f4

The problem is that summed costs ignore these values and pretend that there's still the standard value :/ .

#7 kevL's

kevL's

    Sergeant

  • Forum Members
  • PipPipPip
  • 27 posts

Posted 14 November 2012 - 07:20 PM

ack, perhaps those aren't a percentage then, and still have their own values somewhere ...

:hmmm: :hmmm: :hmmm: :hmmm: :hmmm: :hmmm:

#8 Sorrow

Sorrow

    Captain

  • Forum Members
  • PipPipPipPip
  • 283 posts

Posted 16 November 2012 - 02:33 PM

I mean that they change the monthly cost. It's just that the sum of monthly costs is calculated from yet another entry.

#9 kevL's

kevL's

    Sergeant

  • Forum Members
  • PipPipPip
  • 27 posts

Posted 17 November 2012 - 01:21 PM

oh, that's good to hear

The 'sum of costs' table has a known bug(s) and probably requires source code to fix .... /my guess