View Full Version : Need help creating Paladin Class

12-28-2009, 07:51 AM

I'm trying to create a paladin class instead of the warrior, however, I want him to use faith.

I tried using the warrior and replacing the following in the classes file:

PowerName $$Rage$$
PowerColor "1.0 0.0 0.0"
DecreasingPowerColor "1.0 0.0 0.0"

PowerGainOnHit 1.5
PowerGainOnDamage 1.0
PowerGainOnBlockOrParry 0.5
PowerRegenOutsideCombat -0.75
// PowerRegenOutsideCombat 0
CanRegenPower 0

with that of the priest, but that crashes the game.

Anyone know how I could make the warrior use faith?


12-28-2009, 11:14 AM
I wouldn't think just changing those lines to the priest equivalent would crash things. Are you sure you are using the latest version of the classes.gdb file (probably in assets03.zip) and are modding things properly?

12-28-2009, 01:41 PM
I retried, and it didn't crash my game this time (guess i changed something else aswell), however it doesn't work.

my warriorbase now looks like this:

Base BaseClass

Index 0

Name $$Warrior$$
Desc $$WarriorDesc$$
Male 1

ModelName Models/playerWarrior.mdl

PowerName $$Faith$$
PowerColor "1.0 1.0 1.0"
DecreasingPowerColor "1.0 1.0 1.0"

DamageMultPerStr 1.0
HealthPerVit 5.0
DefensePerDex 3.0
AttackPerDex 5
PowerPerInt 7
CriticalPerInt 0.1
HealthRegenPerSpr 0.0 // 1.0
PowerRegenPerSpr 0.0
ResistancePerSpr 0.1

BasePowerRegen 1.0
CombatPowerRegenMultiplier 0.25

MaxPowerOnLevelUp 1

ItemRequirement ArmorCloth
ItemRequirement ArmorLeather
ItemRequirement ArmorMail
ItemRequirement Shield

ItemRequirement WeaponDagger
ItemRequirement WeaponAxe
ItemRequirement WeaponSword
ItemRequirement WeaponSwordTwoHanded
ItemRequirement WeaponMace

MaxPower -1
PowerStart -1

UsesFaith 1

BaseOnly 1

SurfaceHead -1
SurfaceNeck -1
SurfaceShoulders -1
SurfaceBack -1
SurfaceChest 2
SurfaceWrists 5
SurfaceHands 1
SurfaceWaist -1
SurfaceLegs 3
SurfaceFeet 4
SurfaceRing1 -1
SurfaceRing2 -1
SurfaceJewelry1 -1
SurfaceJewelry2 -1
SurfaceHandPrimary -1
SurfaceHandSecondary -1
SurfaceRanged -1
SurfaceNone -1

But when I start a new warrior, it has an empty power bar which says "2/0 Faith"

PS: What does the list with Surface items mean? Non related question, just curious ^^

12-28-2009, 08:23 PM
MaxPower -1
PowerStart -1
Because you set the initial power to -1?

12-29-2009, 09:04 AM
It's like that with both priest and mage, so I presume it has to be like that if I want my warrior to use faith.
Though I don't really understand any of the code, I only copy and paste so I don't really know what I'm doing :P

12-29-2009, 10:19 AM
The MaxPower and PowerStart at -1 should be fine. -1 in both these cases basically means use the default (max is calculated and start at the max).

I actually don't see the problem. It seems like you should have some faith as long as your intelligence is not 0.

All of those surface lines tell the game which surface on the actual model corresponds to different items so when you change items like a chest armor piece I know what surface to change to a different texture.

01-23-2010, 12:08 PM
Id like to have a paladin class for the game but i dont see how its possible....:confused: