Skip to content

Commit

Permalink
Revised initial Kreia cutscene script in the Peragus morgue to hide h…
Browse files Browse the repository at this point in the history
…er disappearing body. Fixes #32
  • Loading branch information
DarthParametric committed Sep 14, 2019
1 parent 3af379d commit 95c537a
Show file tree
Hide file tree
Showing 7 changed files with 277 additions and 201 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
* Added a fix for one of Mandalore's lines missing the helmet filter (ported from the Xbox version)
* Added a fix for War Droid racetex variants having their blaster texture overridden by the body texture by swapping out integrated blaster mesh for external reference
* Added a fix for right eyeball/eyelid clipping issues with PFHA04
* Revised the script that starts the initial cutscene with Kreia in the Peragus Administration Level morgue to hide her disappearing body

### Changes
* Cleaned up changes.ini, removing extraneous editor data and orphaned entries (removed ~500 lines)
* Edited readme and info RTFs, altering formatting and adding updated mod contributions
* Edited readme and info RTFs, altering formatting and adding updated mod contributions
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Given the complexity of this mod, a clean install of KOTOR II is recommended. Ho
* The Bumani Exchange Corp. module lacked a skybox/starscape (reported by JCarter426) [ISSUE #6](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/6)
* Mandalore is missing the helmet filter effect on one of his lines (reported by Sniggles) [ISSUE #8](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/8)
* War Droid texture variants didn't properly display the blaster texture (Reported by Sith Holocron) [ISSUE #10](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/10)
* When Kreia first wakes up in the Peragus Administration Level morgue, it's possible to briefly see her body disappear [ISSUE #32](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/32)

### JCarter426:
* Various issues: [JC's Minor Fixes for K2 1.5](https://deadlystream.com/files/file/1215-jcs-minor-fixes-for-k2/)
Expand Down
210 changes: 109 additions & 101 deletions Readme.rtf

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions Source/a_setkrespwn.nss
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
////////////////////////////////////////////////////////////////////////////////
/* KOTOR2 Community Patch
Fired by g_tresgencorp004.utp in 101PER (Peragus Administration Level).
This is the OnClosed script for the corpse placeable that has the plasma
torch in the Peragus morgue. It fires the cutscene showing Kreia waking up
and walking towards the player. The scene starts with the initial "dead"
Kreia placeable, then that is destroyed and a stunt Kreia creature is
spawned showing the waking up animations, then that is destroyed and the
party Kreia creature is spawned to begin the conversation. The initial
swap between the placeable and stunt Kreias is done by this script. In
the vanilla version, there is no delay on the destroy function, so if the
camera is faced towards Kreia's body, it will be seen disappearing just
before the fade to black. A delay has been added so that the swap is now
properly covered by the fade to black.
Issue #32:
https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/32
DP 2019-09-14 */
////////////////////////////////////////////////////////////////////////////////

void KreiaSwap() {

object oPC = GetFirstPC();
object oKreiaCorpse = GetObjectByTag("kreia_corpse", 0);
location lBed = GetLocation(GetObjectByTag("WP_KREIA_SPAWN1", 0));
object oKreiaStunt = CreateObject(OBJECT_TYPE_CREATURE, "p_kreia002", lBed);

DestroyObject(oKreiaCorpse, 0.0, TRUE);

AssignCommand(oPC, ClearAllActions());
AssignCommand(oKreiaStunt, ClearAllActions());

AssignCommand(oKreiaStunt, ActionStartConversation(oPC, "101kreia"));
}

void main() {

int nGlobal = GetGlobalNumber("101PER_Kreia_Spawn");

if (nGlobal == 0)
{
object oPC = GetFirstPC();
object oKreiaCorpse = GetObjectByTag("kreia_corpse", 0);

SetGlobalFadeOut(0.0, 1.0);
SetFadeUntilScript();

SetGlobalNumber("101PER_Kreia_Spawn", 2);

DelayCommand(1.0, KreiaSwap());
}
}
55 changes: 28 additions & 27 deletions Tier Organization.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,52 @@
# Tier 1

## Bug Fixes
These are the most critical fixes. If a bug is on this list, it isn't just a minor annoyance, but actually prevents you from playing the game the way it was meant to be played - restricting access to content, making it impossible to complete quests, and so on.
These are the most critical fixes. If a bug is on this list, it isn't just a minor annoyance, but actually prevents you from playing the game the way it was meant to be played * restricting access to content, making it impossible to complete quests, and so on.


## Developer Oversight
These are fixes for other issues that were likely unintended. They don't break the game, but they are obvious things to fix.
- A number of items have wrong descriptions or properties: [Marauder Fix Pack 1.0.3](https://deadlystream.com/files/file/942-marauder-fix-pack/)
- Boma beasts have black between their teeth: [Boma Beast Teeth Fix 1.0](https://deadlystream.com/files/file/338-boma-beast-teeth-fix/)
- It's possible to not be able to get a starport visa if you let a bounty hunter go: [Bounty Hunter Starport Visa Fix 1.0](https://deadlystream.com/files/file/1196-bounty-hunter-starport-visa-fix/)
- Mandalore is missing the helmet filter effect on one of his lines (reported by Sniggles) [ISSUE #8](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/8)
- One of the player heads wasn't able to blink or move his eyes: [PMHC06 Fixed for TSL](https://deadlystream.com/files/file/1154-pmhc06-fixed-for-tsl/)
- PMHH01 has some issues: [PMHH01 Fixed](https://deadlystream.com/files/file/439-pmhh01-fixed/)
- The broken item icon, and Grenn's case icon are incorrect
- The Bumani Exchange Corp. module lacked a skybox/starscape (reported by JCarter426) [ISSUE #6](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/6)
- The Ebon Hawk has a couple panels with bad models: [Ebon Hawk Model Fixes 2.0](https://deadlystream.com/files/file/1033-ebon-hawk-model-fixes/)
- The female player head PFHA04 has some clipping issues with the right eyeball and eyelid (reported by Soka) [ISSUE #11](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/11)
- The female player head PFHA05 has incorrect UVs for the upper teeth, causing them to be flesh-coloured (reported by ebmar)
- The male Jedi Master robes (PMBNM) had an incorrect OdysseyBase name
- The Serocco guard has a VO that used the wrong actor: [Serroco Guard VO Fix 1.0](https://deadlystream.com/files/file/1107-serocco-guard-vo-fix/)
- There are multiple issues with the Harbinger level geometry: [Harbinger Hull Fixes 1.1](https://deadlystream.com/files/file/1374-harbinger-hull-fixes/)
- There are some minor level geometry issues in the Peragus Administration Level: [Peragus Administration Level Room Model Fixes 1.0](https://deadlystream.com/files/file/1275-peragus-administration-level-room-model-fixes/)
- War Droid texture variants didn't properly display the blaster texture (Reported by Sith Holocron) [ISSUE #10](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/10)
* A number of items have wrong descriptions or properties: [Marauder Fix Pack 1.0.3](https://deadlystream.com/files/file/942-marauder-fix-pack/)
* Boma beasts have black between their teeth: [Boma Beast Teeth Fix 1.0](https://deadlystream.com/files/file/338-boma-beast-teeth-fix/)
* It's possible to not be able to get a starport visa if you let a bounty hunter go: [Bounty Hunter Starport Visa Fix 1.0](https://deadlystream.com/files/file/1196-bounty-hunter-starport-visa-fix/)
* Mandalore is missing the helmet filter effect on one of his lines (reported by Sniggles) [ISSUE #8](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/8)
* One of the player heads wasn't able to blink or move his eyes: [PMHC06 Fixed for TSL](https://deadlystream.com/files/file/1154-pmhc06-fixed-for-tsl/)
* PMHH01 has some issues: [PMHH01 Fixed](https://deadlystream.com/files/file/439-pmhh01-fixed/)
* The broken item icon, and Grenn's case icon are incorrect
* The Bumani Exchange Corp. module lacked a skybox/starscape (reported by JCarter426) [ISSUE #6](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/6)
* The Ebon Hawk has a couple panels with bad models: [Ebon Hawk Model Fixes 2.0](https://deadlystream.com/files/file/1033-ebon-hawk-model-fixes/)
* The female player head PFHA04 has some clipping issues with the right eyeball and eyelid (reported by Soka) [ISSUE #11](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/11)
* The female player head PFHA05 has incorrect UVs for the upper teeth, causing them to be flesh-coloured (reported by ebmar)
* The male Jedi Master robes (PMBNM) had an incorrect OdysseyBase name
* The Serocco guard has a VO that used the wrong actor: [Serroco Guard VO Fix 1.0](https://deadlystream.com/files/file/1107-serocco-guard-vo-fix/)
* There are multiple issues with the Harbinger level geometry: [Harbinger Hull Fixes 1.1](https://deadlystream.com/files/file/1374-harbinger-hull-fixes/)
* There are some minor level geometry issues in the Peragus Administration Level: [Peragus Administration Level Room Model Fixes 1.0](https://deadlystream.com/files/file/1275-peragus-administration-level-room-model-fixes/)
* War Droid texture variants didn't properly display the blaster texture (Reported by Sith Holocron) [ISSUE #10](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/10)
* When Kreia first wakes up in the Peragus Administration Level morgue, it's possible to briefly see her body disappear [ISSUE #32](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/32)

# Tier 2
## Atmospheric/Lore/Logical Changes
The issues these address aren't exactly problems, but they still bothered people. Changes in this category go a bit beyond developer intent, basically player/modder interpretation of how things should have been.
- A number of textures don't use shaders: [Textures Improvement Project](https://deadlystream.com/files/file/462-textures-improvement-project/)
- In the prologue there are remote clones instead of sensor droids: [Prologue Sensor Droids Fix](https://deadlystream.com/files/file/430-prologue-sensor-droids-fix/)
- The head texture for Visas has a poor quality mask for its environment map and incorrectly uses her skin colour for the inside of her mouth
- The HKs and T3M4 droids don't have shaders: [JC's Shader Fixes for K2 1.1](https://deadlystream.com/files/file/1284-jcs-shader-fixes-for-k2/)
- The model in the galaxy map for Paragus looks nothing like it: [Peragus Galaxy Map Change](https://deadlystream.com/files/file/336-peragus-galaxy-map-change/)
- The Zeison Sha armour for males (PMBMM) is unable to properly perform a two-handed grip during weapon animations: [Get a Grip! Zeison Sha Armour Male Model Fix 1.0](https://deadlystream.com/files/file/1362-get-a-grip-zeison-sha-armour-male-model-fix/)
- Various issues: [JC's Minor Fixes for K2 1.5](https://deadlystream.com/files/file/1215-jcs-minor-fixes-for-k2/)
* A number of textures don't use shaders: [Textures Improvement Project](https://deadlystream.com/files/file/462-textures-improvement-project/)
* In the prologue there are remote clones instead of sensor droids: [Prologue Sensor Droids Fix](https://deadlystream.com/files/file/430-prologue-sensor-droids-fix/)
* The head texture for Visas has a poor quality mask for its environment map and incorrectly uses her skin colour for the inside of her mouth
* The HKs and T3M4 droids don't have shaders: [JC's Shader Fixes for K2 1.1](https://deadlystream.com/files/file/1284-jcs-shader-fixes-for-k2/)
* The model in the galaxy map for Paragus looks nothing like it: [Peragus Galaxy Map Change](https://deadlystream.com/files/file/336-peragus-galaxy-map-change/)
* The Zeison Sha armour for males (PMBMM) is unable to properly perform a two-handed grip during weapon animations: [Get a Grip! Zeison Sha Armour Male Model Fix 1.0](https://deadlystream.com/files/file/1362-get-a-grip-zeison-sha-armour-male-model-fix/)
* Various issues: [JC's Minor Fixes for K2 1.5](https://deadlystream.com/files/file/1215-jcs-minor-fixes-for-k2/)

## Annoyance Fixes
These things annoyed players.
- Running in outer space makes you look like a squirrel injected with caffeine
* Running in outer space makes you look like a squirrel injected with caffeine

# Tier 3
## Visual Improvements
Sometimes the game assets aren't great. These changes correct problems with them, and may require modder-created assets. But the changes are minimal; they just make the game look how it ought to look.
- The walking and running animations are janky: [Movement Animation Fix for Both KOTOR and TSL](https://deadlystream.com/files/file/465-movement-animation-fix-for-both-kotor-and-tsl/)
* The walking and running animations are janky: [Movement Animation Fix for Both KOTOR and TSL](https://deadlystream.com/files/file/465-movement-animation-fix-for-both-kotor-and-tsl/)

## Ported Content
Everything here involves content ported from another game.
- The Ebon Hawk's medbay has some bad lightmaps and the camera can clip through its walls (suggested by JCarter426) [ISSUE #4](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/4)
* The Ebon Hawk's medbay has some bad lightmaps and the camera can clip through its walls (suggested by JCarter426) [ISSUE #4](https://github.com/KOTORCommunityPatches/TSL_Community_Patch/issues/4)

## Gameplay Tweaks
These changes affect the gameplay, adjusting it to function how it was intended, or at least however the KOTOR community has deemed to be fairer than what was intended.
Expand Down
5 changes: 5 additions & 0 deletions tslpatchdata/changes.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ WindowCaption=KOTOR II Community Patch
install_folder0=Modules
install_folder1=Override
install_folder2=StreamVoice\503\xaart
install_folder3=Modules\101per.mod


[2DAList]
Expand All @@ -52,6 +53,8 @@ File41=grenn_case.uti

; ===================================================================

[install_folder0]
File0=101per.mod
[install_folder1]
File0=003ebof.mdl
File1=003ebof.mdx
Expand Down Expand Up @@ -242,6 +245,8 @@ Replace0=c_drdwar.mdl
Replace1=c_drdwar.mdx
[install_folder2]
Replace0=503xaart024.wav
[install_folder3]
Replace0=a_setkrespwn.ncs
[appearance.2da]
ChangeRow0=appearance_mod_p_fem_a_sml_01_0
ChangeRow1=appearance_mod_p_fem_a_med_01_0
Expand Down
Loading

0 comments on commit 95c537a

Please sign in to comment.