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 Go to previous messageGo to previous message
RunAwayScientist is currently offline 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"


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

Corporal 1st Class
 
Read Message bar10.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message thumbs26.png
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: Intel
Next Topic: New feature: militia resources
Goto Forum:
  


Current Time: Sun Dec 01 07:00:35 GMT+2 2024

Total time taken to generate the page: 0.01337 seconds