tk102 Posted April 28, 2005 Share Posted April 28, 2005 Cross reference Obsidian forum: here On Nar Shadaa, Ratrin has a conversation with you and claims that the Ebon Hawk is his. If ask him to describe it, he mentions a secret compartment. This is supposed to spawn a secret compartment on the Ebon Hawk in the far corner of Visas' room. However the original script does work due to something like this never evaluating TRUE if (GetFirstPC()==GetEnteringObject()) { Fixed .ncs attached. Edit tk102: Reuploaded bug fix, v1.1, this time without the GetLoadFromSaveGame() condition. hidden_compartement_fix1.1.zip Link to comment Share on other sites More sharing options...
Emperor Devon Posted April 28, 2005 Share Posted April 28, 2005 I've never had this problem before, but the mod looks handy to have. By the way, what happened to the secret compartment for KOTOR 1? Ratrin says there's one in the cargo hold. Link to comment Share on other sites More sharing options...
T7nowhere Posted April 28, 2005 Share Posted April 28, 2005 I was wondering why I couldn't find the compartment in my last game(which was the first time I found out about that). Thanks man. Link to comment Share on other sites More sharing options...
Achilles Posted April 28, 2005 Share Posted April 28, 2005 I'm so glad you finally decided to play . I can tell what planet you're on based on which bugs are fixed. Not to take away from the contributions of others though. It's nice to see all the patched files that people have been releasing. Link to comment Share on other sites More sharing options...
Colma Adawin Posted April 28, 2005 Share Posted April 28, 2005 Well, to be honest, i havent been to Nar Shardaa, so i never knew about the conversation, i've been waiting for mods, fixes and patches, so when i play, i'll have the full excitement of the game. Thanx for the attachment TK!! MattCole Link to comment Share on other sites More sharing options...
ChAiNz.2da Posted April 28, 2005 Share Posted April 28, 2005 Originally posted by Achilles I'm so glad you finally decided to play . I can tell what planet you're on based on which bugs are fixed. Not to take away from the contributions of others though. It's nice to see all the patched files that people have been releasing. Took the words right out of my mouth This happened to me on my second playthrough and me and my brilliant-ness didn't have a savegame even remotely close I had to replay it over in order for the compartment to spawn.. thanks tk! Link to comment Share on other sites More sharing options...
stoffe Posted April 28, 2005 Share Posted April 28, 2005 Originally posted by tk102 However the original script does work due to something like this never evaluating TRUE if (GetFirstPC()==GetEnteringObject()) { Fixed .ncs attached. Yes, using GetFirstPC() in an OnModuleLoad script would be fairly unreliable since the player isn't guaranteed to have been spawned in the area yet when that script is running, and GetFirstPC() will not return a valid object if that's the case. Another potential problem is that the value for GetEnteringObject() isn't set specifically for the OnModuleLoad event. If the player recently has been the last entering object triggering another event that sets that the value returned from the function it could remain from that event, but otherwise it would likely return an invalid object. (At least that's my guess why the container spawns sometimes. Out of 3 games with an "unfixed" script, the secret container was spawned in the first and last of them but never showed up in the second.) Not to be annoying, but if I may, a tiny bugfix for the bugfix. You changed the script to only run if the first conditional (GetLoadFromSaveGame) returns TRUE, while the original script only runs if it's false. With your fix the container would theoretically only spawn whenever you reload a savegame on board the Ebon Hawk. Link to comment Share on other sites More sharing options...
tk102 Posted April 28, 2005 Author Share Posted April 28, 2005 That's not tiny. I had tested it with 2 savegames, one where I was on the EH, and one where I was not. On the latter, I did notice the game did a "Saving" followed by "Loading" when I entered the EH. The placeable spawned correctly. Nonetheless, I think that is a useless condition anyway and will remove and reattach the fixed fix. Thanks for the info/theories on the GetEnteringObject and GetFirstPC and for checking the byte code! Link to comment Share on other sites More sharing options...
Darth333 Posted April 28, 2005 Share Posted April 28, 2005 lol once you finish playing hte game you'll have to make a compilation of the fixes you made Link to comment Share on other sites More sharing options...
Emperor Devon Posted April 28, 2005 Share Posted April 28, 2005 Originally posted by ChAiNz.2da This happened to me on my second playthrough and me and my brilliant-ness didn't have a savegame even remotely close I "Brilliantness" isn't a word. Link to comment Share on other sites More sharing options...
ChAiNz.2da Posted April 28, 2005 Share Posted April 28, 2005 Originally posted by Emperor Devon "Brilliantness" isn't a word. http://dictionary.reference.com/search?q=brilliantness google is your friend Link to comment Share on other sites More sharing options...
Darkkender Posted April 28, 2005 Share Posted April 28, 2005 Originally posted by ChAiNz.2da http://dictionary.reference.com/search?q=brilliantness google is your friend yeah we can tell who has google setup as a part of his browser now don't we. By the Way TK I'm with our Mistress of Pain above I mean our Lady Darth333 I will eagerly await TK's Patch 1.0c. Link to comment Share on other sites More sharing options...
Lorden Darkblade Posted April 28, 2005 Share Posted April 28, 2005 I had that in all my games so far. It got fixed when I re-loaded tho, but this will fix it Thanks tk Link to comment Share on other sites More sharing options...
Shimaon Posted April 28, 2005 Share Posted April 28, 2005 Aha! I've never been able to find it, many thanks TK! Link to comment Share on other sites More sharing options...
Keiko Posted April 28, 2005 Share Posted April 28, 2005 Thanks Tk! Link to comment Share on other sites More sharing options...
RedHawke Posted April 29, 2005 Share Posted April 29, 2005 Nice bug fix tk! I always wondered about that guy... Originally posted by Darth333 lol once you finish playing the game you'll have to make a compilation of the fixes you made I agree! Link to comment Share on other sites More sharing options...
Bob Lion54 Posted April 29, 2005 Share Posted April 29, 2005 Thanks tk102. Im not at a point at my current game to utilize this, but when I get there, I will be very happy. Nice mod. Link to comment Share on other sites More sharing options...
ChAiNz.2da Posted April 29, 2005 Share Posted April 29, 2005 Originally posted by tk102 That's not tiny. I had tested it with 2 savegames, one where I was on the EH, and one where I was not. On the latter, I did notice the game did a "Saving" followed by "Loading" when I entered the EH. The placeable spawned correctly. Nonetheless, I think that is a useless condition anyway and will remove and reattach the fixed fix. Thanks for the info/theories on the GetEnteringObject and GetFirstPC and for checking the byte code! Hey tk, just wondering... I downloaded the 1.1 fix, but the filename (.zip) doesn't have a 1.1 extension to it.. Is it still the fixed version with the old archive filename or is the link still pointing to the original old version? Just wanting to make sure Link to comment Share on other sites More sharing options...
Prime Posted April 29, 2005 Share Posted April 29, 2005 Very nice. Link to comment Share on other sites More sharing options...
tk102 Posted April 29, 2005 Author Share Posted April 29, 2005 Chainz, you might want to clear your browser's cache and try again. The timestamp of the v1.1 .ncs file should be April 28, 2005 whereas v1.0 was April 27, 2005 Link to comment Share on other sites More sharing options...
Darth Aleera Posted May 1, 2005 Share Posted May 1, 2005 I find the secret compartment a time only, when I spoke with Ratrin before I reached the DS points amount that makes Visas spawn, and the compartment was correctly visible. Every time Visas cutscene happened before I spoke to Ratrin, the secret compartment wasn't visible. I'm glad to see that another bug (one of the many), has been corrected. Tanks tk! Link to comment Share on other sites More sharing options...
Jennaida Posted May 5, 2005 Share Posted May 5, 2005 Glad to hear that a real fix for this is being done. The only times I'd ever seen the compartment work right were when the game bugged up because with NS as planet 1, Visas intro and the Red Eclipse pirates tried to spawn on top of one another. And for that, you were trapped on the Hawk and couldn't get off. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.