by HotWax » Wed Mar 26, 2008 8:34 am
Graf Zahl wrote:This is all there is:
DamageType Fire
DamageAmount 10
DamageTimeMask 31
What are the valid DamageTypes? Is there a set list or can this be any string? Does it correlate directly to the damage resistances in Decorate? Does it set the MOD to use as well?
I'm also under the assumption that DamageTimeMask is the number to bitwise-AND the current gametic by to determine when to damage the player? (e.g. if (gametic & DamageMask) DoDamage(foo); ?)
[EDIT] OK, I've made a pretty major update to the [wiki]TERRAIN[/wiki] article with the new information included. I've made a couple assumptions here and some of the other information might not be 100% accurate. If somebody could look over it and verify that it works as described, I'd appreciate it.
[quote="Graf Zahl"]This is all there is:
DamageType Fire
DamageAmount 10
DamageTimeMask 31[/quote]
What are the valid DamageTypes? Is there a set list or can this be any string? Does it correlate directly to the damage resistances in Decorate? Does it set the MOD to use as well?
I'm also under the assumption that DamageTimeMask is the number to bitwise-AND the current gametic by to determine when to damage the player? (e.g. if (gametic & DamageMask) DoDamage(foo); ?)
[EDIT] OK, I've made a pretty major update to the [wiki]TERRAIN[/wiki] article with the new information included. I've made a couple assumptions here and some of the other information might not be 100% accurate. If somebody could look over it and verify that it works as described, I'd appreciate it.