Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kashyyyk Lower Shadowlands - Hidden Hunters quest duplicate datapads #271

Closed
1 task done
DarthParametric opened this issue Sep 21, 2019 · 0 comments
Closed
1 task done
Labels
Minor Issue Aesthetic issue or other problem that isn't really a bug Module: Kashyyyk Issue occurs primarily on Kashyyyk Type: Scripting This issue is related specifically to a scripting bug/error Type: Template This issue is related specifically to a template like a UTC. UTI, UTP, etc.

Comments

@DarthParametric
Copy link
Contributor

DarthParametric commented Sep 21, 2019

  • Looking at the scripts and UTTs for this, the quest was originally set up to use two different triggers that each spawned different groups of Mandos. For whatever reason, this was changed and now there are two duplicate triggers that each spawn the same Mandos. This results in getting duplicate copies of two datapads that are each only supposed to spawn once. There are a couple of ways of resolving this. The least disruptive is to leave the existing triggers as they are, and resort to some UTC and script edits to ensure the datapads in question only drop once.

Edit: On further investigation, the Mando UTCs that have the datapads have OnDeath events to signal the other Mandos to destroy their datapads based on the state of global number kas_MandalorPlot. But it seems this global is not actually used in the shipping game (although it remains in globalcat.2da). There's an unused module OnHeartbeat script that referenced it to spawn the Mando commander and the swoops, and the previously mentioned cut trigger OnEnter also checked it to swap which Mando mooks it spawned. In any event, it should be possible to edit the two UserDefine scripts and switch to a check of whether or not the player has the datapads already. The Mandos in question also get flagged to use OnHeartbeat events in their OnSpawn scripts, even though they lack any OnHeartbeat events, so that would be an alternative to the OnDeath event.

@DarthParametric DarthParametric added Minor Issue Aesthetic issue or other problem that isn't really a bug Module: Kashyyyk Issue occurs primarily on Kashyyyk Type: Scripting This issue is related specifically to a scripting bug/error Type: Template This issue is related specifically to a template like a UTC. UTI, UTP, etc. labels Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor Issue Aesthetic issue or other problem that isn't really a bug Module: Kashyyyk Issue occurs primarily on Kashyyyk Type: Scripting This issue is related specifically to a scripting bug/error Type: Template This issue is related specifically to a template like a UTC. UTI, UTP, etc.
Projects
None yet
Development

No branches or pull requests

1 participant