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 ➜ Alist and Slist

Alist and Slist

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


Posted by USER007   (124 posts)  Bio
Date Sat 04 Oct 2003 09:15 PM (UTC)
Message
How do I remove the skills and abilities off the slist and alist and add my custom skills/abilities?
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Sat 04 Oct 2003 09:32 PM (UTC)
Message
Yo Anavel. :P
Well, Smaug doesn't come with alist, but doing through slist. Slist shows all the skills that certain class can learn, so by editing the class files in /classes folder, you can change the skills shown on slist. Here's an example:

Name        Warrior~
Class       3
Attrprime   1
Weapon      10313
Guild       3022
Skilladept  85
Thac0       18
Thac32      6
Hpmin       11
Hpmax       15
Mana        0
Expbase     1150
Skill 'aggressive style' 1 95
Skill 'aid' 6 80
Skill 'bash' 30 85
Skill 'berserk style' 10 95
Skill 'blitz' 28 80
Skill 'climb' 2 85
Skill 'cook' 1 95

As you can tell, those Skills will be shown on slist, but if you change it as

Name        Warrior~
Class       3
Attrprime   1
Weapon      10313
Guild       3022
Skilladept  85
Thac0       18
Thac32      6
Hpmin       11
Hpmax       15
Mana        0
Expbase     1150
Skill 'aid' 6 80

Then it will only have the skill aid, in slist. Gotta change all the classes though.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by USER007   (124 posts)  Bio
Date Reply #2 on Sat 04 Oct 2003 09:39 PM (UTC)
Message
Ok :D So its all in the race files? Ok now how do you open them? What program do I need? And whats the difference between a C file and a CPP file? :P
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #3 on Sat 04 Oct 2003 10:17 PM (UTC)
Message
I believe he said class files, so I wound't go messing with the races :P Umm, for programs, depending on your box, you can use pico, emacs, vi, or notepad, wordpad, or something else related. A C file is just an extention that says the file is a C file, meaning its coded on C. A CPP file is one that is coded in C++, or thats how I understand it at least. Good luck, hope that was some help.

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

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #4 on Sun 05 Oct 2003 12:23 AM (UTC)
Message
I think Anavel is using Windows. Open the files in notepad, or something. If your using Linux, I'd use pico.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by USER007   (124 posts)  Bio
Date Reply #5 on Sun 05 Oct 2003 12:32 AM (UTC)
Message
Yeah but don't I neeed to recompile them if I change them? If so I don't have the program to do it. :P
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Sun 05 Oct 2003 12:53 AM (UTC)
Message
Hrm... I don't think you need to. I'm not 100% sure though.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Greven   Canada  (835 posts)  Bio
Date Reply #7 on Sun 05 Oct 2003 10:40 PM (UTC)
Message
You shouldn't need to recompile after changing the class files, just reboot/copyover. The only time you need to recompile is if you change something in one of the .c or .h files. The rest are read in, and are semi-independant.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
Top

Posted by USER007   (124 posts)  Bio
Date Reply #8 on Sun 05 Oct 2003 10:45 PM (UTC)
Message
Oh ok thanks. :)
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.


27,577 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.