Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

[Good Stuffs] Functions Shift From NPatch

Open Daiki9527 opened this issue 3 years ago • 0 comments

First check

  • [ ] The suggestion is NOT related to functionality of Ares, HAres, Kratos or any other YR engine extension.
  • [X] The suggested feature / enhancement is NOT implemented in Ares/Phobos yet and the existing possibilites are not viable or good enough to achieve the wanted result.
  • [X] I agree to elaborate the details if requested and provide thorough testing if the feature is implemented.
  • [X] I added a very descriptive title to this issue.
  • [X] I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • [X] I thought out how the feature / enhancement should work and described it in the most detailed and clear way.

Description

There are many good functions in NPatch, though it has bugs.

A very good function is that upgrade TechnoTypes through Superweapons. Maybe you can add them to Ares's AE Types. As far as i know, I've seen SPEED/ARMOR/FIREPOWER/CLOAK, but i would like to add more upgradable abilities, More details are as following:

Upgrade.Type===================Upgrade.Value VETERAN======================Range:-2,-1,0,1,2(integer only) SPEED========================Multiply this Value to unit's speed ARMOR=======================Multiply this Value to unit's armor FIREPOWER=====================Multiply this Value to unit's firepower CLOAK========================Any number above 0 means True, any number below 0 means False SCATTER=======================Any number above 0 means True, any number below 0 means False ROF=========================Multiply this Value to unit's ROF in its weapons SIGHT========================Multiply this Value to unit's Sight TIBERIUM_PROOF================Any number above 0 means True, any number below 0 means False VEIN_PROOF===================Any number above 0 means True, any number below 0 means False SELF_HEAL====================Any number above 0 means True, any number below 0 means False EXPLODES=====================Any number above 0 means True, any number below 0 means False RADAR_INVISIBLE================Any number above 0 means True, any number below 0 means False SENSORS=====================Any number above 0 means True, any number below 0 means False, then multiply this Value to unit's SensorsSight, if no SensorsSight exits in unit's code, Upgrade.Value becomes the value of SensorsSight. FEARLESS(no effect for Vehicles)=======Any number above 0 means True, any number below 0 means False C4(no effect for Vehicles)===========Any number above 0 means True, any number below 0 means False TIBERIUM_HEAL=================Any number above 0 means True, any number below 0 means False GUARD_AREA==================Any number above 0 means True, any number below 0 means False, causes unit to automatically enter a guard mission when idle CRUSHER(no effect for Infantries)======Any number above 0 means True, any number below 0 means False

Upgrade.X.ValueOverwrite X could be VETERAN/SPEED/ROF/SIGHT/SENSORS/GUARD_AREA Overwrite:unit's veteran/Speed/ROF/Sight/SensorsSight/GuardRange VETERAN:integer only

INI code

[SomeSuperWeapon]
Type=Upgrade
Upgrade.Type=VETERAN/SPEED/ARMOR/FIREPOWER/CLOAK/SCATTER/ROF/SIGHT/TIBERIUM_PROOF/VEIN_PROOF/SELF_HEAL/EXPLODES/RADAR_INVISIBLE/SENSORS/FEARLESS/C4/TIBERIUM_HEAL/GUARD_AREA/CRUSHER
Upgrade.Radius=number
Upgrade.Value=number
Upgrade.ConsiderAir=boolean
Upgrade.Cumulative=boolean
Upgrade.Duration=boolean
Upgrade.X.ValueOverwrite=integer

Additional context

No response

Daiki9527 avatar May 12 '22 15:05 Daiki9527