The Forums Are Now Closed!

The content will remain as a historical reference, thank you.

data file parsing - Armor Type Damage Tables

By on May 3, 2009 3:07:58 PM from Demigod Forums Demigod Forums

i was browsing through the LUA files and found something I think might be particularly useful to know. here it is, exactly as it appears in the data files.  there appears to be 2 definitions, one of which is currently active (the one appearing first), and the second of which appears to be disabled (its commented out). draw your own conclusions.

 

--------------

 

#****************************************************************************

#**

#**  File     :  /lua/common/ArmorTypes.lua

#**  Copyright © 2008 Gas Powered Games, Inc.  All rights reserved.

#****************************************************************************

#

# Armor Type Definitions

#

ArmorTypes = {

    Unarmored = {

        Normal = 1.0,

        Hero = 1.0,

        SpellFire = 1.0,

        Spell = 1.0,

        Light = 1.0,

        Arrow = 1.0,

        Artillery = 1.0,

    },

    Normal = {

        Normal = 1.0,

        Hero = 1.0,

        SpellFire = 1.0,

        Spell = 1.0,

        Light = 1.0,

        Arrow = 1.0,

        Artillery = 1.0,

    },

    Heavy = {

        Normal = 1.0,

        Hero = 1.0,

        SpellFire = 1.0,

        Spell = 1.0,

        Light = 1.0,

        Arrow = 1.0,

        Artillery = 1.0,

    },

    Structure = {

        Normal = 1.0,

        Hero = 1.0,

        SpellFire = 1.0,

        Spell = 1.0,

        Light = 1.0,

        Arrow = 1.0,

        Artillery = 2.0,

    },

    Demigod = {

        Normal = 1.0,

        Hero = 1.0,

        SpellFire = 1.0,

        Spell = 1.0,

        Light = 1.0,

        Arrow = 1.0,

        Artillery = 1.0,

    },

}

#ArmorTypes = {

#    Unarmored = {

#        Normal = 1.0,

#        Hero = 1.0,

#        SpellFire = 1.0,

#        Spell = 1.0,

#        Light = 1.0,

#        Arrow = 1.25,

#        Artillery = 1.0,

#    },

#    Normal = {

#        Normal = 1.25,

#        Hero = 1.0,

#        SpellFire = 1.0,

#        Spell = 1.0,

#        Light = 1.0,

#        Arrow = 1.0,

#        Artillery = 1.0,

#    },

#    Heavy = {

#        Normal = 1.0,

#        Hero = 1.0,

#        SpellFire = 1.0,

#        Spell = 1.0,

#        Light = 2.0,

#        Arrow = 0.5,

#        Artillery = 2.0,

#    },

#    Structure = {

#        Normal = 0.75,

#        Hero = 1.0,

#        SpellFire = 1.5,

#        Spell = 1.5,

#        Light = 1.0,

#        Arrow = 1.0,

#        Artillery = 2.0,

#    },

#    Demigod = {

#        Normal = 1.0,

#        Hero = 1.0,

#        SpellFire = 1.0,

#        Spell = 1.0,

#        Light = 1.0,

#        Arrow = 0.5,

#        Artillery = 1.0,

#    },

#}

 

+66 Karma | 2 Replies
May 3, 2009 5:15:52 PM from Demigod Forums Demigod Forums

So spells do more damage to buildings then via normal attacks. HMMMMM

May 3, 2009 5:52:12 PM from Demigod Forums Demigod Forums

at the moment i don't think they do. notice that in the first definition, the one that's not commented out, the Structure category has a SpellFire = 1.0 value. it seems that only Artillery does extra damage to buildings in the first definition.

 

what this looks like to me is that GPG had been expirimenting with a much more detailed and differentiated armor type system but they disabled it for the release build in favor of a much more straight forward one. 

 

in the active definition almost everything is set to 1.0. the only thing that's not is that Structures take double damage from Artillery. i think that Trebuchets and Catapultasaurii count as Artillery, not sure about other stuff. 

Stardock Forums v1.0.0.0    #108435  walnut2   Server Load Time: 00:00:00.0000094   Page Render Time:

Stardock Magazine | Register | Online Privacy Policy | Terms of Use

Copyright ?? 2012 Stardock Entertainment and Gas Powered Games. Demigod is a trademark of Gas Powered Games. All rights reserved. All other trademarks and copyrights are the properties of their respective owners. Windows, the Windows Vista Start button and Xbox 360 are trademarks of the Microsoft group of companies, and 'Games for Windows' and the Windows Vista Start button logo are used under license from Microsoft. ?? 2012 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc.