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 ➜ remove/change languages

remove/change languages

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


Posted by Yetro   (40 posts)  Bio
Date Fri 03 May 2002 09:30 PM (UTC)
Message
Well, hi everybody.

Here is my problem, What code i have to remove change to remove a languague?

I want that playeres cant practice a language of an unavaible race.

The mobs will speak common so it doesnt matter if the npc_race doesnt have a language.

I hope somebody helpme.

Ehh.. Sorry for me english

Greetings
Top

Posted by Nick Gammon   Australia  (23,166 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 04 May 2002 12:01 AM (UTC)
Message
A couple of days ago there was a post by Vaelarin about languages. Did that not help?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Vaelarin   USA  (8 posts)  Bio
Date Reply #2 on Sat 04 May 2002 01:04 PM (UTC)
Message
I think Yetro just wants to make a particular language unavailable to players? If so, go into the class files and remove the skill from their list.

For example, open Mage.class, and go to the bottom of the skill list, just before the titles. There you'll see entries for all the languages they can learn. If you don't want anyone to know pixie, for example, just delete the line that says = Skill 'pixie' 1 99 . Then save Mage.class, and do the same in all of the other class files.
Top

Posted by Yetro   (40 posts)  Bio
Date Reply #3 on Sat 04 May 2002 07:40 PM (UTC)
Message
thanks to both, that help
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.


15,256 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.