Players choose stats at creation of character

Posted by Cirus on Mon 11 Apr 2005 03:21 AM — 6 posts, 25,435 views.

#0
I have seen this on a few muds
but I can't find a snippet or a hint on how to do this
I am not extreamly good with c but I am ok with c++
anyone know of a snippet or how someone might code this
USA #1
What do you mean, choose stats? I've done a point-buy type stat system before, which wasn't complicated.
#2
I think thats what it is
like you have a starting stat
then you can increase each stat
until you run out of points
this is done at character creation
#3
it would help if anyone knew of at least a diku derived mud codebase that had something like this in it
I found a snippet for circle mud that I think was what I wanted but I closed the tab and I dunno where it went
USA #4
Well, I don't know of any SMAUG/AFK/SWR snippets like that, but it wouldnt be hard to port a Circle one. Oh, and Circle is diku derived. It may be your best bet if you don't want to tackle it yourself. If you have problems you could always post them here :)
USA #5
Oddly enough, I believe I've stumbled upon the snippet you were talking about (for Circle). Would this by any chance be it?

http://developer.circlemud.org/contrib/code/players/statedit.txt

There's apparently another version on the same site:

http://developer.circlemud.org/contrib/code/players/statedit-bpl21.txt

I do think the output for this looks interesting, although I'm not sure it's worth the hassle of porting over versus just using a system with random rolls. Maybe you could combine something like this with a rerolling snippet? Just an idea.

Hope this helps!