Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

TechnoType conversion warhead

Open MortonPL opened this issue 4 years ago • 4 comments

Convert TechnoType on impact

  • Warheads can now change TechnoTypes of affected units to other Types in the same category (infantry to infantry, vehicles to vehicles, aircraft to aircraft). This feature has the same limitations as Ares' Type Conversion. This feature does not support BuildingTypes.
    • Convert.From specifies which TechnoTypes are valid for conversion. This entry can have many types listed, meanging that many types will be converted at once.
    • Convert.To specifies which TechnoTypes are the result of converion. This entry should have the same length as Convert.From, as every listed type can convert separately.

This feature requires Ares 3.0 or higher to function!

In rulesmd.ini:

[SOMEWARHEAD]
Convert.From=          ; list of tehnoTypes
Convert.To=            ; list of TechnoTypes

MortonPL avatar Sep 18 '21 17:09 MortonPL

Nightly build for this pull request:

github-actions[bot] avatar Sep 18 '21 18:09 github-actions[bot]

This solves everything for me.I know ,here is not the place for making these kind of conversations, but I think, even this supreme product comes closer to its upper limits. I can't think even what can be made for a 21 years old 2,5D game engine...Finally ,we might use global upgrade system like C&C Generals(ZH), C&C3 (KW) and RA3(UpR) uses...

Falaka21 avatar Sep 18 '21 19:09 Falaka21

Works like a charm finally we can have a proper upgrade system

CommanderNour avatar Nov 13 '21 13:11 CommanderNour

Converting to draft again, as I want to add mass conversion on SW launch. For that I need changes from #760.

MortonPL avatar Oct 01 '22 19:10 MortonPL

Latest version of this PR causes crashes when something is converted, both with SW and Warhead versions. Was working on a previous version with the same code but I'm not sure which.

brsajo avatar Oct 31 '22 09:10 brsajo

Hi, It would be very useful for the developer if you zip the crash folder (if you didn't have more crashes its the one with the most recent date, inside the debug folder) and upload it in Google Drive or similar service.

FS-21 avatar Oct 31 '22 11:10 FS-21

Latest version of this PR causes crashes when something is converted, both with SW and Warhead versions. Was working on a previous version with the same code but I'm not sure which.

The last build has a merge conflict with the develop branch because I reverted several commits. I already updated this PR, you can check if the problem still exists

chaserli avatar Oct 31 '22 11:10 chaserli