Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Players choose stats at creation of character

Players choose stats at creation of character

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Cirus   (22 posts)  Bio
Date Mon 11 Apr 2005 03:21 AM (UTC)
Message
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

CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #1 on Mon 11 Apr 2005 04:04 AM (UTC)
Message
What do you mean, choose stats? I've done a point-buy type stat system before, which wasn't complicated.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Cirus   (22 posts)  Bio
Date Reply #2 on Mon 11 Apr 2005 04:16 AM (UTC)
Message
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

CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net
Top

Posted by Cirus   (22 posts)  Bio
Date Reply #3 on Mon 11 Apr 2005 05:03 AM (UTC)
Message
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

CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #4 on Mon 11 Apr 2005 05:40 AM (UTC)
Message
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 :)

~Nick Cash
http://www.nick-cash.com
Top

Posted by Gatewaysysop2   USA  (146 posts)  Bio
Date Reply #5 on Wed 27 Apr 2005 07:18 AM (UTC)
Message
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!

"The world of men is dreaming, it has gone mad in its sleep, and a snake is strangling it, but it can't wake up." -D.H. Lawrence
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,774 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.