Tamino
Registered-
Content Count
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Forum & Tracker Requests
Downloads
Gallery
Store
Calendar
Everything posted by Tamino
-
Swoop race bug in TSL and a failed attempt to fix
Tamino replied to Tamino's topic in General Kotor/TSL Modding
I couldn't file the cause of the error (I think it's an error in the source code, not in the scripts) but I did came out with an workaround, if anyone is curious, here is what I did: on the jump file (onjump.ncs), the script checks if the player is already fying, if he is, it returns 0, what I did was changing that behavior to simply accelerate the player downwards. The issue with that is that a player can cheat that way, as in, interrupting the jump earlier, but, I'd rather not use it that way, and be able to race when it bugs. IF there is interest, I can polish it and publish a mod of that (or even a better solution) -
Swoop race bug in TSL and a failed attempt to fix
Tamino replied to Tamino's topic in General Kotor/TSL Modding
Thanks, that worked, I will read the code and try to find a fix! -
Swoop race bug in TSL and a failed attempt to fix
Tamino posted a topic in General Kotor/TSL Modding
There is a pretty well known bug with no known solution on The Sith Lord, the one when at the start of the race, the swoop bike goes to the sky and stays there, I've looked around and no recommendations worked, so I tried to look at the game files themselves to see if a fix is possible, however, I had some issues with the tools, and certain files I couldn't open, so here are some details what I found out: I would guess that the file responsible for that bug is the "onaccelerate.ncs" found in every module that have a swooprace (that is, 207tel_s.rim, 371nar_s.rim, 510ond_s.rim), however, I can't open that file with neither Kotor Tool or DeNCS (Kotor Tools gives the "Error launching nwnnsscomp, Is it installed in the same directory as this program?" error, and deNCS gives "partial-byte code does not match, however, I can open other files without issues), given those errors, I assume those files can't be decompiled. Assuming that I'm correct, I though about a workaround, as in, writing a script else where to fix it, looking at those files, I see that I can open "onjump.ncs" without a issue.So maybe I thought I could use some function to force the bike down, with "SWMG_SetPlayerOffset" or with "SWMG_SetJumpSpeed", the problem I encountered with that, is that I can't compile any .ncs file (gives that same error, error launching nwnnsscomp). So, my question is, would such "workaround" even work, or is there something else preventing such scripts to work? Some additional details: I did a test and decided to switch the "onaccelerate.ncs" of the narshadda module with the "onaccelerate.ncs" of the Telos module (as I don't have issues in the Telos race), it didn't work, however, the behavior did change (the bugged bike was even higher now), giving me more evidence that the issue is on that script