Pro-Swapper / Plugins-Json

Pro Swapper's Plugins Tutorial
1 stars 1 forks source link

[Proswapper Plugins] Proswapper says "converted" but it doesn't change in game #2

Closed Matteoki closed 3 years ago

Matteoki commented 3 years ago

im using this:

{
    "SwapsFrom": "Scar",
    "SwapsTo": "Zapotron",
    "FromImage": "zmpyc8x.png",
    "ToImage": "WyDkv0V.png",
    "Note": "This is a note",
    "Asset": [
        {
            "Search": [
                "/Game/Weapons/FORT_Rifles/Mesh/SK_SCAR.SK_SCAR"
            ],
            "Replace": [
                "/Game/Weapons/FORT_Rifles/Mesh/SK_AMR.SK_AMR"
            ],
            "AssetPath": "/Game/Weapons/FORT_Rifles/Mesh/SK_SCAR.uasset",
            "UcasFile": "pakchunk10_s4-WindowsClient.ucas"
        }
    ]
}

Im sure the weapons are in the right pak (the zapotron is in another pack tho)

But it have many problems: 1) The pak Fmodel displays is .utoc not .ucas 2) I have no idea what AssetPath means, but if i input that it works (the guide doesn't explain a lot) 3) After Swapping the model doesn't change Swap Don't mind the swap icons

Help would be appreciated :)

KyeOnDiscord commented 3 years ago

You cannot swap the weapon mesh itself in the AssetPath you have to put the class of the weapon in the AssetPath aka the WID File

Matteoki commented 3 years ago

You cannot swap the weapon mesh itself in the AssetPath you have to put the class of the weapon in the AssetPath aka the WID File

Thank you kye, i finally found the wid, and it works great. Now i have another issue, how do i swap weapons? I've got the meshes, I've got the pak, but even if the assetpath seems ok, it doesn't change in game

{
    "SwapsFrom": "Epic/Legendary Pump",
    "SwapsTo": "A save the world pump",
    "FromImage": "zmpyc8x.png",
    "ToImage": "WyDkv0V.png",
    "Note": "This is a note",
    "Asset": [
        {
            "Search": [
                "/Game/Weapons/FORT_Shotguns/Mesh/SK_Shotgun_Combat.SK_Shotgun_Combat"
            ],
            "Replace": [
                "/Game/Weapons/FORT_Shotguns/Mesh/SK_Shotgun_01_.SK_Shotgun_01_"
            ],
            "AssetPath": "/Game/Athena/Items/Weapons/WID_Shotgun_Standard_Athena_SR_Ore_T03",
            "UcasFile": "pakchunk100_s4-WindowsClient.ucas"
        }
    ]
}   

If you don't want to explain stuff to me, you can send the code for the og pump swap, so that i know what i did wrong

Absolutely best swapper!

KyeOnDiscord commented 3 years ago

This is the OG Pump Swap:


{
            "SwapsFrom": "Pump Shotgun",
            "SwapsTo": "OG Pump",
            "FromImage": "FUuSg5K.png",
            "ToImage": "fcBOC3I.png",
            "Asset": [
                {
                    "Search": [
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Pump_Shotgun_Mark_II_Base",
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Pump_Shotgun_Mark_II_Base.SK_Pump_Shotgun_Mark_II_Base",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-PumpShotgunMark2Base",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-PumpShotgunMark2Base.T-Icon-Weapons-PumpShotgunMark2Base"
                    ],
                    "Replace": [
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader",
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader.SK_Crusader",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-SK-Crusader",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-SK-Crusader.T-Icon-Weapons-SK-Crusader"
                    ],
                    "AssetPath": "/Game/Athena/Items/Weapons/WID_Shotgun_Standard_Athena_Common",
                    "UcasFile": "pakchunk10_s4-WindowsClient.ucas"
                },
                {
                    "Search": [
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Pump_Shotgun_Mark_II_Base",
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Pump_Shotgun_Mark_II_Base.SK_Pump_Shotgun_Mark_II_Base",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-PumpShotgunMark2Base",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-PumpShotgunMark2Base.T-Icon-Weapons-PumpShotgunMark2Base"
                    ],
                    "Replace": [
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader",
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader.SK_Crusader",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-SK-Crusader",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-SK-Crusader.T-Icon-Weapons-SK-Crusader"
                    ],
                    "AssetPath": "/Game/Athena/Items/Weapons/WID_Shotgun_Standard_Athena_UC_Ore_T03",
                    "UcasFile": "pakchunk10_s4-WindowsClient.ucas"
                },
                {
                    "Search": [
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Pump_Shotgun_Mark_II_Base",
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Pump_Shotgun_Mark_II_Base.SK_Pump_Shotgun_Mark_II_Base",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-PumpShotgunMark2Base",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-PumpShotgunMark2Base.T-Icon-Weapons-PumpShotgunMark2Base"
                    ],
                    "Replace": [
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader",
                        "/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader.SK_Crusader",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-SK-Crusader",
                        "/Game/UI/Foundation/Textures/Icons/Weapons/Items/T-Icon-Weapons-SK-Crusader.T-Icon-Weapons-SK-Crusader"
                    ],
                    "AssetPath": "/Game/Athena/Items/Weapons/WID_Shotgun_Standard_Athena_C_Ore_T03",
                    "UcasFile": "pakchunk10_s3-WindowsClient.ucas"
                }
            ]
        }

I'm not sure if you have to put the doubled strings or not but I just put them anyway, see if that works : )

What I mean by doubled strings is this:

"/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader"   <--- Same string as below but remove the text after the '.'
"/Game/Weapons/FORT_Shotguns/Mesh/SK_Crusader.SK_Crusader"
Matteoki commented 3 years ago

Thanks kye, it works and i was able to swap the old smg and the zapotron model, but i ran into an issue once again Here's the codes:

Zapotron: https://pastebin.com/CG4TiXn8 Smg: https://pastebin.com/Yn0CwUzf

Basically the icons don't work, the zapotron doesn't swap and the smg is invisible image Do you know whats the problem?

KyeOnDiscord commented 3 years ago

Thanks kye, it works and i was able to swap the old smg and the zapotron model, but i ran into an issue once again Here's the codes:

Zapotron: https://pastebin.com/CG4TiXn8 Smg: https://pastebin.com/Yn0CwUzf

Basically the icons don't work, the zapotron doesn't swap and the smg is invisible image Do you know whats the problem?

Weapons have 2 icons, a small and large, you need to swap the -L icon as well