Aller au contenu

Photo

New Damage Types


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Dark_Ansem

Dark_Ansem
  • Members
  • 638 messages
Is it possible to add to the game different more types (fire, nature, spiritual etc) than the vanilla ones?

Modifié par Dark_Ansem, 29 août 2010 - 05:29 .


#2
FergusM

FergusM
  • Members
  • 460 messages
Yes. Basically you would edit the scripts that control what abilities do, or create your own (Under _Ability_Scripts). You would define a constant somewhere as a new type of damage, and then you would also define a constant somewhere as a resistance type (e.g. you could make something damage type 20). There's nothing to the damage types other than what resistances creatures happen to have to each type.



A word of warning, as suggested by my vague response, this would be quite complex to do and would require a fair deal of understanding of how the combat system in scripting works.

#3
Dark_Ansem

Dark_Ansem
  • Members
  • 638 messages
I was also worried about the GUI displaying it correctly...

I wanted to add a few more elements (corruption-taint, for example, instead of the abused spirit damage and different damages for melee, the good ol' classical blunt - blade)