Yes its another XP system to replace the default Bioware XP engine, the difference is that it has some unique features that can be adjusted or switched off if neccesary and this system is much more simple to use for non scripters than most XP systems on here.
Features:
o My own personal XP calculations
o Set the minimum possible XP reward
o Set the maximum possible XP reward for every character level
o Optional GP rewards per kill as well as XP
o Set the maximum distance for each party member to be rewarded
o Optional floating text displaying the XP/GP rewarded for each player (as you may have seen on some servers)
o Set bonus reward for the party member who deals the death blow
o Set bonus reward for amount of party members
o Set max level gap between the highest and lowest party members to stop powerleveling
o Set the XP penalty amount for each summon/familiar/henchman in the party
o Set if you want to have the XP divided between the PCs in the party
SETTING UP:
Firstly go into your module properties advanced tab and set the XP slider to 0.
Now you need to Import and select overwrite the "nw_c2_default7" script and the "sf_xp" script if you are updating from an older version.
Alternatively,
If you do not want to overwrite your "nw_c2_default7" script then just make sure that the "sf_xp" script IS in your module then open your "nw_c2_default7" script and add this line:
ExecuteScript("sf_xp", OBJECT_SELF);
somewhere after the void main()
So the "nw_c2_defailt7" script should look something like this
// The rest of the nw_c2_default7 script will already be here
}
You can adjust the "sf_xp" script constants for more control over the XP/GP rewarded.
o UPDATES o
Fixed small bug with penalties for XP being take even when party members were in different areas.
Added the option for party rewards based on party size as requested.
Changed the system so that only players in a party will get the killer reward.
Fixed the issue with the "DIVIDED BY ZERO" error message.
Fixed the problem caused by my last update, where summons/familiars were taking too much XP.
Fixed the small bug where summoning creatures would give players way too much XP, this was caused by including summons in calcularing the average party level.
Added a new function to get the players level calculated by the players XP instead of hit dice to avoid exploiting.
o Last Updated 13th Oct 06 o
Fixed a bug where the amoubt given was different to the amount displayed.
Posted by fallenone at 2009-09-06 04:13:33 Voted 9.00 on 09/06/09
this is a awesome system but i cant figure something out.
how did you calculate the xp rewards?it doesnt seem to matter what a creature's lvl or cr is,the xp reward seems to be the same plus or minus a couple of xp pts.
Posted by Cernunnos at 2009-07-16 19:14:04 Voted 10.00 on 07/16/09
Seriously, this is so great man!!! Easy to configure, easy to implement, totally effective, and precisely what we were looking for on our PW. Your script saved us tons of time.
Can't believe I didn't vote on this earlier.
"10" _________________________ World of Abred Forums: Link
"'Don't you want to join us?' I was recently asked by an acquaintance when he ran across me alone after midnight in a coffeehouse that was already almost deserted. 'No, I don't," I said. - Kafka
Posted by Sterrr at 2009-04-10 07:11:07 Voted 10.00 on 04/10/09
Good Work
Posted by Inayity at 2009-02-22 20:55:25 Voted 10.00 on 02/22/09
Surprised I didn't apparently vote on this a long time ago when I was going through the scripts. Great work!
Posted by IllusiveMind at 2009-02-15 03:56:24 Voted 10.00 on 02/15/09
Great script, flexible, easy install. A great addition to any modules and a must have in your collection.
Posted by rathm at 2009-02-10 00:38:45 Voted 10.00 on 02/10/09
Posted by The Amethyst Dragon at 2009-02-01 13:24:19 Voted 10.00 on 02/01/09
Very nice script, and well-commented. I'm going to use a modified version of this for my PW. Thanks, Scarface! _________________________ World of Aenea (Hall of Fame PW and the origin of all my works)
Vault Entries: The Complete List (50+ entries, including 17 Hall of Fame awards)
Self-Promotional Honesty: If you have opinions on stuff I've made, or if you use any of it (as a player or builder), I like comments/votes/feedback...so do other content makers and builders. Keep us motivated. :)
Posted by Xylou at 2008-08-24 14:21:08 Voted 10.00 on 08/24/08
Like what scarface has written : "Another xp system"... but a very cool one!
Customizing it is very easy and seeing the xp earned in a floaty message is nicer than in the combat console
Posted by kalbaern at 2008-08-15 23:20:34 Voted 10.00 on 07/07/08
Found one flaw recently, but only one. PCs don't get the XP if they use a trap to kill a creature. It was easilly resolved though and I still can't recomend this script enough, especially for PWs. Anyone else needing the "fix" to give XP for trap kills is welcome to PM me too. _________________________ The Savage Frontier and Surrounds - NWN PW based in the Forgotten Realms: Link
Posted by kalbaern at 2008-07-07 08:55:01 Voted 10.00 on 07/07/08
Awsome script. I've loved that you can set a Max XP per level too. Setting it up at 10 times the players level as max XP has allowed me to help control speed leveling of low level players grouping with higher level ones in a PW setting. _________________________ The Savage Frontier and Surrounds - NWN PW based in the Forgotten Realms: Link
Posted by Jimmy_Buffit at 2008-04-21 13:29:26 Voted 10.00 on 04/21/08
I love this system! It is so easy to use and customize:)
Thanks Scarface. _________________________ Currently stalking the dungeons of ForkWest.com
Posted by jjsparks at 2008-01-27 13:50:00 Voted 10.00 on 01/21/08
Blasco,
Yes. The PC_DIVIDE_XP is TRUE.
Posted by Blasco-Yang at 2008-01-26 18:30:16 Voted 10.00 on 09/25/07
jjsparks:
Did you set the:
const int PC_DIVIDE_XP
to TRUE?
Scarface:
I was never able to resolve my situation with the killer getting far more than the 10 percent killer bonus when the max xp was reached.
I ended up just disabling the killer bonus for now.
Just for my own clarification: Am I misunderstanding how this is supposed to work?
Other than that, I am well pleased with this script. It does everything I needed and is more readily understandable to me than most other xp systems I've seen out there.
Thanks again for one of my very favorite scripts.
Posted by jjsparks at 2008-01-21 11:40:34 Voted 10.00 on 01/21/08
Scarface, I use a few of your systems in my mod, and I really appreciate the work you have done. I am having a bit of trouble with this one. It is not dividing the XP between the party members. It is giving the bonuses, but every PC is receiving full XP for each kill no matter the party size. I recompiled the mod with no errors, checked the nw_c2_default7 to make sure the sf_xp is there and it is. What else should I be looking for?
Posted by frudillao at 2008-01-16 06:49:47 Voted 10.00 on 01/16/08
There are no bus in this version, the only thing mentioned is not a bug and in fact how the system is supposed to work, and I'd love to see you do better. _________________________ §çà®Fãçë�
Posted by mobiusrit at 2007-10-08 02:29:57 Voted 9.50 on 10/08/07
@Scarface:
I have updated this code for NWN2 (ECL Consideration on your GetLevelFromXP function). I added a few functions from XP scripts I worked on in order to accomplish the goal.
Also, as Marconus Thurlantyre posted, I too fixed the problem of XP still being rewarded to party members even if their level gap was too much.
If you are interested in getting a copy of the sf_xp script with the changes/updates, I would be MORE than happy to send it to you. I suspect you could streamline what I've done and post it here for everyone. If not, you could just post it here anyways :)
Thanks for everything.
MobiuS
Posted by Blasco-Yang at 2007-09-25 22:31:09 Voted 10.00 on 09/25/07
Actually, I've discovered upon further testing that it's not really a 50 percent bonus. It's dependant on the level of the killer or the average party level perhaps.
But it is certainely above the max XP limit by quite a bit. I was getting 900 or better with one test.
I kept leveling my character to test it with a Party member and the higher my PC's level was, the lower the killer's bonus became.
I've been getting some advice and input from Sir Elric over on the scripting forum on this issue and he also suggested I should contact you.
Thanks Scarface.
Posted by Blasco-Yang at 2007-09-25 17:49:34 Voted 10.00 on 09/25/07
Hey Scarface. Great system. I find it easier to understand than most anything else I've found.
The same is true for most of your scripts.
I do have one issue though. It seems that anytime a party member kills a creature that maxes out the xp (600 max currently) the killer actually gets a 50percent bonus rather than the 10percent it is set up for.
As long as the xp gain remains below the max allowed it will give the 10 percent.
I can't seem to figure out what I'm doing wrong. Any advice?
I voted a 10 in spite of this issue because:
1) It really is an easy to implement system.
2) I want to believe the issue I'm having is really me and not the script itself.
3)I've been using this and a couple of other systems designed by you for some time now and (I am ashamed to say) I have failed to vote.
Tracked down the issue with the party gap not working properly, was in your GiveXP function under the "Reward other party members" part. Once I added in the first two max/min xp checks under the "Reward the killer with bonus if specified in consts" as well the party gap check (changing it from "oKiller == oParty && nPlayer > 1" to just "nPlayer > 1" did the trick nicely.
Also went through the GetLevelFromXP function and added in and retuned it to the lvl 23 xp cap (well, technically 23 anyhow for the ecl races) and elaborated on it a bit to set the appropriate actual levels for the ecl races. And with that changed the GetMaxXP function constants for level xp max's to be 23 as well. Can send you the changes if you like, just drop me a line at [email protected] _________________________ Never contribute to malice that which can be explained by stupidity.
Quite possibly in the near future, however my spare time is usually working on my own projects at the moment, as well as running and modifying a popular PW so my time is limited so I can't say when. _________________________ §çà®Fãçë�
Any chance of this getting an update for nwn2? I had loaded on a mod and began testing to find it had some unexpected results in regards to level gap. While it held true giving the minimum xp to the higher level player (not including the party xp bonus and killer xp bonus awards will are still rewarded) the lower level player was awarded the full xp they would have recieved if they were within rage of the party gap (in addition to any party xp bonus).
Any insight as to what would be causing that would be greatly appreciated since I was quite fond of the system in nwn1. _________________________ Never contribute to malice that which can be explained by stupidity.
Posted by Frador at 2007-08-06 14:37:51 Voted 10.00 on 08/06/07
full 10.00 from me. That was exactly what i needed. ^^
Posted by Cackfiend at 2007-06-28 11:28:24 Voted 10.00 on 06/28/07
Another awesome Script by Scarface.
One question...
If I wanted to control how much XP my players were given based on their level compared to the monster, is there a simple way to do this with your script?
Here's what im looking for:
Effortless gives 10 XP
Easy gives 25
Moderate gives 50
Challenging gives 100
Very Difficult gives 200 XP
Overpowering gives 300 XP
Impossible gives 400 XP
Now I can edit that 10 xp is the least you'll ever get from a monster with your script, any way to do the others? Or will I have to edit the xp 2da file?