by NeuralStunner » Mon Mar 22, 2010 11:51 am
I didn't think there was that low of a technical limit to how many DamageFactors can be defined. But I'm getting a startup crash, which is technically weird.
I added these to a custom Player Class:
Code: Select all
DamageFactor "Metal", 0.8 // New Type
DamageFactor "Magic", 1.0 // New Type
DamageFactor "Fire", 1.0
DamageFactor "Electric", 1.0
DamageFactor "Ice", 1.0
DamageFactor "Poison", 0.9
DamageFactor "Disintegrate", 0.9
DamageFactor "Spirit", 1.0 // New Type
DamageFactor "Light", 0.9 // New Type
"Disintegrate" was originally "Ether", but having any more
new types than this causes an access violation on startup. I don't think it's supposed to do that. (2 of them are only 1.0, and I think that is ignored in the present version, so is the "limit" actually 2?)
Does this happen to anyone else? Can you try the above code in a custom actor, but add (or change Disintegrate into) another DamageType? Doesn't matter what it's called, "TestType" or "HulkSmash" would work.
I won't be able to check in on this until much later, so hopefully that's enough to go on.

I didn't think there was that low of a technical limit to how many DamageFactors can be defined. But I'm getting a startup crash, which is technically weird.
I added these to a custom Player Class:
[code]
DamageFactor "Metal", 0.8 // New Type
DamageFactor "Magic", 1.0 // New Type
DamageFactor "Fire", 1.0
DamageFactor "Electric", 1.0
DamageFactor "Ice", 1.0
DamageFactor "Poison", 0.9
DamageFactor "Disintegrate", 0.9
DamageFactor "Spirit", 1.0 // New Type
DamageFactor "Light", 0.9 // New Type
[/code]
"Disintegrate" was originally "Ether", but having any more [i]new[/i] types than this causes an access violation on startup. I don't think it's supposed to do that. (2 of them are only 1.0, and I think that is ignored in the present version, so is the "limit" actually 2?)
Does this happen to anyone else? Can you try the above code in a custom actor, but add (or change Disintegrate into) another DamageType? Doesn't matter what it's called, "TestType" or "HulkSmash" would work.
I won't be able to check in on this until much later, so hopefully that's enough to go on. :|