Aller au contenu

Photo

Here's a thorny one - adding new damage types


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

#1
Loki_999

Loki_999
  • Members
  • 430 messages

I'm pretty sure this is hardcoded, but anyone know, is it possible to add new damage types directly to the game?

 

I know its possible to fake it with on-hit or spell effects and VFX, but are there some 2das which can be messed with to provide, for example, Bonus Damage (Water) along with Bonus Damage (Fire) - and lightning, cold, acid.

 

As i was discussing on our forums, elemental damages are not really that. We have 1 elemental damage type, 1 para-elemental, 1 quasi-elemental, and one that isn't even an elemental type.

 



#2
Morbane

Morbane
  • Members
  • 1 883 messages

i saw a while back, some code that directly referenced 2da row(s) - i think it had a lot to do with bitwise logic

 

my direction points to editing the relevant 2da and pointing your control script to the needed data in the hardcoded 2da(s)

 

seeing as though bitwise logic scrambles my synapses, i cannot offer much past that - but if the right finesse is crammed into your scripting, it may be possible to make sense of a new damage type

 

i can imaging lots of includes to clean up the control script e.g. column management and row referencing.

 

or, i may be completely insane  :blink:


  • Loki_999 aime ceci

#3
Morbane

Morbane
  • Members
  • 1 883 messages

perhaps referencing/forum searching for some of the lost community members:

 

knightmare

painofdungeoneternal

masterchanger

m reider

 

and the like

might help

 

...yes it was a while back



#4
Psionic-Entity

Psionic-Entity
  • Members
  • 195 messages

By editing iprp_damagetype, iprp_dmgtypes, and damagehitvisual 2das I've been able to change the names of certain damage types (but not the color that shows up) and also the VFX that appears. I don't know what would happen if you added more rows to the former two.



#5
Loki_999

Loki_999
  • Members
  • 430 messages

Hmm... could be worth playing with anyway. See what happens.