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, confirm your email, resolve issues, 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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ Languages + snippets

Languages + snippets

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


Posted by USER007   (124 posts)  Bio
Date Fri 17 Oct 2003 12:42 AM (UTC)
Message
How do you remove all the languages from the code and make the stats reach a max of 100 instead of 16? And I have a couple of snippets and I was wondering how I could add these to the code?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Fri 17 Oct 2003 01:05 AM (UTC)
Message
Most snippets are cut and paste. If they're not, you may not want to go down that path if you don't know how to code. There's no general answer to 'how to add a snippet'. Most of them come with instructions that should be pretty clear.

Do note, however, that the more you change and add, the less likely snippets are to work 'out of the box' since your version of the game is no longer out of the box, either. So that's another thing to keep in mind.

For increasing stat maxes, look at the functions in handler.c - get_curr_str etc. However, if you play with those, you may well seriously mess up your game's balance, since you're making changes that have ripple effects.

To remove languages, the easy way is to prevent the scramble function from going. You can do this by either having the scramble function return what is passed in, or by simply not calling it. All that should be in act_info.c.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


11,858 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.