Since no posts have been made on the NWVaults page, http://nwvault.ign.c....Detail&id=2827, in years I figured I'd be better off asking here.
In my original post (http://social.biowar...4836/1#13275072) I had asked about removing the XP penalty for using a summon. Scarface's script looked like it would work fine. I managed to import them into the OC. All seems to work fine, except for 2 issues:
1.)I'm getting more XP than I should. Vanilla, I'm getting 7 XP for one kill and 19XP for another. I install the the script and now I'm getting a second increase of 5XP for each kill in addition to the XP I should be getting.
2.) I set SUMMON_PENALTY to 0.0 and nothing changed. I still had about 80% reduced XP. I tried changing it to 0.01, but I still had about 80% reduced XP.
Anyone have an idea what's up?
Scarface's XP/GP System
Débuté par
Einzbern
, juil. 26 2012 12:22
#1
Posté 26 juillet 2012 - 12:22
#2
Posté 26 juillet 2012 - 03:18
Is your XP slider (under "edit" -> "module properties" -> "advanced" tab -> XP scale) set to zero? The hard-code will always be triggered to give XP; this amount cannot be changed. XP systems (like Scarface's) accomplish alternate XP by coding the entire XP system themselves, and setting the slider to zero (disabling the hard-coded rewards).
To disable multi-class and party-size penalty you cannot use GiveXPToCreature(). Instead you will manually get the XP (GetXP()), add in the increase, and then set the XP at the increased value (SetXP()).
To disable multi-class and party-size penalty you cannot use GiveXPToCreature(). Instead you will manually get the XP (GetXP()), add in the increase, and then set the XP at the increased value (SetXP()).
Modifié par WhiZard, 26 juillet 2012 - 03:22 .
#3
Posté 26 juillet 2012 - 04:20
Yeah, slider is at 0 all the OC/SoU/HoTU modules.
No idea how to do scripting, so no idea what or where I would put those. Thanks for the suggestion, though.
No idea how to do scripting, so no idea what or where I would put those. Thanks for the suggestion, though.
#4
Posté 26 juillet 2012 - 04:24
Also forgot to mention I have the NWN PRC+OC fix installed.
Don't imagine that would cause any issues, but I figured I should mention it just incase.
Don't imagine that would cause any issues, but I figured I should mention it just incase.
#5
Posté 26 juillet 2012 - 06:05
Einzbern wrote...
Also forgot to mention I have the NWN PRC+OC fix installed.
Don't imagine that would cause any issues, but I figured I should mention it just incase.
Three possibilities for why you are getting two XP rewards:
1) Since you are using the standard modules, you may not have had your setting saved. In order for this to work you must "build module" and use the built module.
2) The module may use the script command SetModuleXPScale(). This command can change the XP slider in-game.
3) The PRC with OC fix may have its own XP system.
#6
Posté 26 juillet 2012 - 09:07
1) Maybe. All I did was save the module, so I never messed with the build menu. The settings seem to be saved, as when I reopened them numerous times the sliders were still at 0.
2) Does the OC use that?
3) A possibility, but I have no idea.
2) Does the OC use that?
3) A possibility, but I have no idea.
#7
Posté 28 juillet 2012 - 03:36
Using build doesn't seem to have fixed it, either.
#8
Posté 29 juillet 2012 - 04:17
Post any ondeath script. Since you get xp from killing monsters should be clear what is causing the problem. Like any executes that refer to other scripting systems.





Retour en haut






