ak2yny / Official-Character-Pack-v2-for-Ultimate-Alliance

Official Characters Pack (OCP) for Marvel Ultimate Alliance (MUA) was created to add the DLC content of the Xbox 360 verison to the original PC version ported by Beenox in 2006.
7 stars 0 forks source link

Missing optional hub mission objectives #19

Closed ak2yny closed 1 year ago

ak2yny commented 2 years ago

* Medusa appears in phase 2 regardless, whether this mission was completed or not. Doesn't break the story though, because Medusa was corrupted and most likely not at the location anymore anyway.

JordanLeich commented 1 year ago

I did some looking into this and found exactly why both of these optional hub mission objectives are missing in game. The reason why is because there are no act3_valhalla.engb or act4_attilan.engb hub files found in data/missions. What's interesting however is that there are act1_stark.engb, act2_strange.engb, and an act5_doomstark.engb hub files containing hub related objectives. The only objective I found remotely similar to the "Valhalla: Weasel asks the player to research a password." optional objective is the optional objective called Nowhere to Hide: Determine the safest place for Weasel to hide from SHIELD agents. Luckily, this optional objective is found in act2_strange.engb since its a hub related objective. So going off of this and using somewhat of that existing code, here's how the code would look like if there was a act3_valhalla.engb file in data/missions:

"OBJECTIVE": {
            "descname": "Find the password",
            "description": "Find a password for Weasel.",
            "enabled": false,
            "major": false,
            "name": "valhalla_obj20",
            "optional": true,
            "parentname": "valhalla_obj0",
            "rep": 5,
            "type": "normal",
            "zone": "valhalla2"
        },

Here's how the code would look if there was an act4_attilan.engb file in data/missions and an optional objective to find where Medusa went:

"OBJECTIVE": {
            "descname": "Locating Medusa",
            "description": "Research where Medusa went.",
            "enabled": false,
            "major": false,
            "name": "attilan_obj20",
            "optional": true,
            "parentname": "attilan_obj0",
            "rep": 5,
            "type": "normal",
            "zone": "attilan2"
        },
ak2yny commented 1 year ago

Yes, that's how this works. One would also have to add the new hub mission files to missions.xmlb, and probably packages. Do the existing hub missions have an icon? (One would have to add icons for the new ones, if yes.)

Are we ready to test the limits with them (although, the Outsider might already have found that limit).

JordanLeich commented 1 year ago

Yes, that's how this works. One would also have to add the new hub mission files to missions.xmlb, and probably packages.

Do the existing hub missions have an icon? (One would have to add icons for the new ones, if yes.)

Are we ready to test the limits with them (although, the Outsider might already have found that limit).

I would assume they already have icons for those hub objectives but if not, we can add them. Maybe it's best we ask Outsider what the limits are regarding mission objectives first.

JordanLeich commented 1 year ago

@ak2yny Here's an example of one of the optional objectives in the act 2 strange hub, you'll notice it just uses the same icon as the critical objective. So if we add the act 3 and act 4 optional objectives then we can just use the same icon used for the hub critical objective.

Game exe Screenshot 2022 10 29 - 00 02 06 32

JordanLeich commented 1 year ago

Ok I added a sample act3_valhalla.engb or act4_attilan.engb hub files found in data/missions folder. I also added act3_valhalla and act4_attilan to missions.xmlb. I'm not sure what to do with the map packages like if we want/need to add any custom scripts so I didn't touch anything packages wise except I noticed that attilan2.pkgb was already modified with ocp so I used that one instead of the vanilla file.

Here is everything I have worked on so far, please take a look when you get the chance.

Optional Objectives.zip

ak2yny commented 1 year ago

Looking good so far. A few things to mention:

JordanLeich commented 1 year ago

image

This shows where the icons are stored at to be accessed for objectives. I'm not sure what quest that is but yes we should make the BW quest similar to that since the BW quest involving Weasel starts at act1 and ends at act3.

JordanLeich commented 1 year ago

Here is what we have so far:

Issues:

Optional Objectives.zip

ak2yny commented 1 year ago

The Outsider just informed me that he made everything work, while working on the EXG. Will share/upload the files as soon as it's available.

JordanLeich commented 1 year ago

The Outsider just informed me that he made everything work, while working on the EXG. Will share/upload the files as soon as it's available.

That's great news, thanks.

JordanLeich commented 1 year ago

BETA Optional Objectives.zip

Medusa questline in act 4 Attilan is now completable, thanks to Outsider.

JordanLeich commented 1 year ago

completed in https://github.com/ak2yny/Official-Character-Pack-v2-for-Ultimate-Alliance/commit/8e37d194f2a8cccaac8e1035985b169431a28467