GTFO-Modding / ExtraEnemyCustomization

Add more Enemy Customization for DataBlock editing
0 stars 1 forks source link

Ability/ScoutScreamingCustom - And Slight change on FogSphereCustom #13

Closed Flowaria closed 2 years ago

Flowaria commented 2 years ago

Ability/ScoutScreamingCustom

    "ScoutScreamingCustom": [
        {
            "Enabled": true,
            "DebugName": "For Scout",
            "Target": {
                "Mode": "CategoryAny", //CategoryAll
                "persistentIDs": [],
                "nameParam": "",
                "nameIgnoreCase": true,
                "categories": [
                    "Scout"
                ]
            },
            "ChargeupColor": "red",
            "FogColor": "red",
            "FogIntensity": 1.0,
            "EffectVolume": {
                "Enabled": true,
                "Contents": "Infection",
                "Modification": "Inflict",
                "Scale": 0.1
            }
        }
    ]

Old FogSphere Config

"FogSphereCustom": [
        {
            "Enabled": true, //You can check first item of Model.json if you have no idea with this formatting
            "DebugName": "BirtherFog_InfectionWave",
            "Target": {
......
            },
......
            "EffectEnabled": true,
            "EffectContents": "Infection",
            "EffectModification": "Inflict",
            "EffectScale": 0.1
        }
    ],

New FogSphere Config

    "FogSphereCustom": [
        {
            "Enabled": true, //You can check first item of Model.json if you have no idea with this formatting
            "DebugName": "BirtherFog_InfectionWave",
            "Target": {
.......
            },
.......
            "EffectVolume": {
                "Enabled": true,
                "Contents": "Infection",
                "Modification": "Inflict",
                "Scale": 0.1
            }

        }
    ],

This PR also allows ColorConverter a new format:

"Color": "(1.0, 1.0, 0.0, 1.0)"
"Color": "1.0, 1.0, 0.0, 1.0"
"Color": "(1.0 , 1.0 , 0.0 , 1.0)" //Anything you want