Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Arulco Special Division
Re: New feature: Arulco Special Division[message #346114 is a reply to message #345995]
|
Wed, 06 July 2016 04:31
|
|
RunAwayScientist |
|
Messages:84
Registered:September 2001 |
|
|
Hey Flug,
Just a quick code edit request. Based on play-testing, I was wondering if it would be possible to raise the maximum value for the ASD helicopter fuel resupply to a LONG INT value or equivalent (9999).
This request comes about after being pummeled in the early game by elite drops. At max refuel value, the queen can still send two elite drops per day on a location. I would like to limit air-drops to once per week which could be achieved by increasing the resupply arrival time of fuel for the ASD helicopters. Specifically, the following .INI setting:
; time to repair 1 HP at the home base in minutes, valid from 1 to 10
ENEMYHELI_FUEL_REFUELTIME = 201
I'll look over the code on my end and see if the value can be raised. If so, I'll copy-pasta it here.
EDIT: Got it, in GameSettings.cpp. Since I can't commit to the SVN, I'll submit this to you, Seven/Dep/Flug.
Modified Line:
"Modified Line" gGameExternalOptions.gEnemyHeliTimePerFuelRefuel = iniReader.ReadInteger( "Enemy Helicopter Settings", "ENEMYHELI_FUEL_REFUELTIME", 3, 1, 255 );
Full Modified Code (GameSettings.cpp):
http://pastebin.com/KxEgxVz0
Since I'm unsure if it's an INT or FLOAT/DOUBLE, I simply set it to 255. Upon testing, this edit works as intended.
I noticed something interesting during testing. Previously, two helicopters would 'stack' on a single sector; doing simultaneous drops. Now, the drops are spread out and the Queen attacks two sectors over a period of hours. Most likely due to the added delay, the code discounts a sector with elites already in it. Much more effective.
[Updated on: Wed, 06 July 2016 05:33] Report message to a moderator
|
|
|
|
|
|
New feature: Arulco Special Division
By: Flugente on Sat, 09 January 2016 21:02
|
|
|
Re: New feature: Arulco Special Division
By: grim on Sun, 10 January 2016 02:03
|
|
|
Re: New feature: Arulco Special Division
By: Flugente on Sun, 10 January 2016 16:49
|
|
|
Re: New feature: Arulco Special Division
By: buuface on Mon, 11 January 2016 06:43
|
|
|
Re: New feature: Arulco Special Division
By: Flugente on Mon, 11 January 2016 13:06
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: buuface on Tue, 12 January 2016 08:39
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Flugente on Tue, 12 January 2016 21:07
|
|
|
Re: New feature: Arulco Special Division
By: CVB on Tue, 12 January 2016 23:37
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: buuface on Wed, 13 January 2016 10:03
|
|
|
Re: New feature: Arulco Special Division
By: Flugente on Wed, 13 January 2016 13:34
|
|
|
Re: New feature: Arulco Special Division
By: Flugente on Sun, 20 March 2016 20:38
|
|
|
Re: New feature: Arulco Special Division
By: Panzer on Sun, 20 March 2016 22:31
|
|
|
Re: New feature: Arulco Special Division
By: Morbo513 on Mon, 21 March 2016 17:23
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Panzer on Tue, 22 March 2016 01:02
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Zarax on Sun, 19 June 2016 14:27
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: grim on Tue, 12 January 2016 17:48
|
|
|
Re: New feature: Arulco Special Division
By: Zarax on Mon, 20 June 2016 09:28
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: TrentL on Mon, 01 May 2017 03:42
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Kitty on Fri, 24 April 2020 23:33
|
|
|
Re: New feature: Arulco Special Division
By: Kitty on Sun, 07 June 2020 03:25
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Kitty on Sun, 07 June 2020 23:06
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Kitty on Mon, 08 June 2020 07:30
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Kitty on Mon, 08 June 2020 16:56
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
|
|
|
Re: New feature: Arulco Special Division
By: Kitty on Sat, 20 June 2020 23:34
|
|
|
Re: New feature: Arulco Special Division
By: rftr on Sat, 03 April 2021 20:11
|
Goto Forum:
Current Time: Sun Dec 01 07:00:35 GMT+2 2024
Total time taken to generate the page: 0.01337 seconds
|