However, I've run into a snag concerning adding Void Magic... there is this bit of code inside of Utils.bs in the source Engine folder:
Quote:
Public Function MagicSchoolToSkillId(ByVal iMagicSchool As Integer) As Long
Dim lRet As Long
Select Case iMagicSchool
Case SCHOOL_CREATURE
lRet = eSkillCreatureEnchantment
Case SCHOOL_ITEM
lRet = eSkillItemEnchantment
Case SCHOOL_WAR
lRet = eSkillWarMagic
Case SCHOOL_LIFE
lRet = eSkillLifeMagic
Case SCHOOL_VOID
lRet = eSkillVoidMagic
Case Else
PrintErrorMessage "MagicSchoolToSkillId: unknown magic school " & iMagicSchool
lRet = eSkillCreatureEnchantment
End Select
MagicSchoolToSkillId = lRet
End Function
Public Function MagicSchoolToSkillId(ByVal iMagicSchool As Integer) As Long
Dim lRet As Long
Select Case iMagicSchool
Case SCHOOL_CREATURE
lRet = eSkillCreatureEnchantment
Case SCHOOL_ITEM
lRet = eSkillItemEnchantment
Case SCHOOL_WAR
lRet = eSkillWarMagic
Case SCHOOL_LIFE
lRet = eSkillLifeMagic
Case SCHOOL_VOID
lRet = eSkillVoidMagic
Case Else
PrintErrorMessage "MagicSchoolToSkillId: unknown magic school " & iMagicSchool
lRet = eSkillCreatureEnchantment
End Select
MagicSchoolToSkillId = lRet
End Function
Sorry for the loss of formatting... anyways, on compile, I get a 'variable not defined' error for eSkillVoidMagic, so I tried back-tracing any of the other schools to see where they are defined. There is nothing, and I'm using a very robust text search utility. I'm stumped. = |
There is a LTEngine_Compatibility.dll file (and similar compatibility dll's in the other source folders), and they are required references for each compile job. Could these eSkillxxx variables be defined in there? What are these compatibility files? Googling isn't getting me much <3...
halp?


