A Few Questions

Discussion about Helbreath Server Files.
Post Reply
madcan
just visiting
Posts: 9
Joined: Wed Sep 07, 2005 10:32 am

Post by madcan »

Meh, i've been away for around a year on the helbreath development/server scene. I have come back to find a ton of things have changed i have forgotten how to change things in a server, being the retard that i am.

Anyway here are my questions:

1) If i wanted to put a stat limitation on a weapon, say i wanted to put the limitation of the giant sword to 90CHR instead of 130str how would i go about doing this? Is it even possible?

2) This is probably more of a coding question, but how would i introduce new classes, learned through manuals or something like that? Is there a HGserver i can download which already has these classes implemented?


Thank you for your time and assistance.

Madcan :)
<img src='http://www.2and2.net/Uploads/Images/noobs.gif' border='0' alt='user posted image' /><br><br>FATHER!<br>FATHER!<br>FATHER!
Spawn
Regular
Posts: 82
Joined: Thu Nov 20, 2003 8:29 am
Location: Melbourne, Australia

Post by Spawn »

1) ok you need to change the ETvalues in the item.cfg files. look at items like "knight hauberk" or "wizard robe" to see what the value is for CHR. just look for wizard robe and find the part in the ETValue that says 100 and to it's left will be the stat code (i hope this all makes sense)

eg
Item = 681 WizardHauberk(M) 1 3 2 12 12 0 14 100 0 1000 0 7 1 2400 1200 2 0 90 1 -3 -3 0 6 11

14 = MAG
100 = 100 MAG required

Item = 687 KnightHauberk(M) 1 3 2 12 12 0 11 100 0 1000 0 7 1 2400 1200 2 0 70 1 -3 -3 0 6 11

11 = dex
100 = 100 dex needed

2) requires editing the source, but i dont think HB allows for many new classes unless you want to recode the whole thing from scratch.
<img src='http://img139.imageshack.us/img139/8760 ... opy7og.jpg' border='0' alt='user posted image' />
madcan
just visiting
Posts: 9
Joined: Wed Sep 07, 2005 10:32 am

Post by madcan »

ah, thanks for the reply mate!

I got a futher question,

If i want to make the devlin like the shop keeper, so it sells stuff, is that possible via editing the npc.cfg?

Thank you!

Kev
<img src='http://www.2and2.net/Uploads/Images/noobs.gif' border='0' alt='user posted image' /><br><br>FATHER!<br>FATHER!<br>FATHER!
Spawn
Regular
Posts: 82
Joined: Thu Nov 20, 2003 8:29 am
Location: Melbourne, Australia

Post by Spawn »

i think that is a source thing again.. i know that u cant do it through the npc.cfg... i think that if u want to do it u have to edit it through the source code.
<img src='http://img139.imageshack.us/img139/8760 ... opy7og.jpg' border='0' alt='user posted image' />
Post Reply