-
Notifications
You must be signed in to change notification settings - Fork 8
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
Atho West - Faulty series of scripts in one dialogue #342
Comments
What is the knock-on effect of these changes, given they are global scripts? There's no point changing them to fix one inconsequential background peon if that breaks something more important. |
Well, the problem with these scripts is in this: (GetGlobalNumber("MAN_RANDOM") == (1 || 2)) With 1 || 2 replaced by 3 and 4, 5 and 6, 7 and 8 in three other scripts. It compiles but it is wrong coding. It is never true. If you are worried about the scripts being global you can just add them to the Atho West module. I will keep an eye out for more instances of these scripts in other Manaan area. |
Doing a cursory hex search through the Manaan modules, it seems like that DLG is the only one that uses those specific scripts. Which makes it odd that they are global. Interestingly if you compile and decompile, then try to recompile DeNCS's output that doesn't compile. NWNSSCOMP spits out What about k_pman_random17/18/19/20? Seems like they probably have the same issue. |
Yikes. The "not all paths return a value" error is probably the compiler being finicky. Looks like 17-20 have the same problem, yeah. |
So 02-05 should be of the form
rather than just
no? Edit: Ah, brackets. |
I'm not entirely sure because I don't know what it's checking, but 02 looks like it should be:
|
There are four global scripts that need replacing because they are wrong causing four entries in man26_merc01.dlg to be never spoken.
We need to replace them with the following:
k_pman_random02
k_pman_random03
k_pman_random04
k_pman_random05
It would also be appropriate to change the position of the mercenary using this .dlg file because he is currently talking with the Iridonian Mercenary and one of the lines say:
"You notice that Iridorian over there in the corner? Don't stare! It's bad enough he's here in the bar. I don't want him coming over or anything!"
The text was updated successfully, but these errors were encountered: