Jump to content

Possible to create new damage types?


Recommended Posts

Hi,

Returning to modding and as per the title, is it possible to add in new damage types to the already existing: Acid, Fire, Magic etc?

I had wanted to create some new items and spells which utilise this but I am unsure if it is possible to do?

Thank you

Link to comment
On 8/10/2024 at 8:28 AM, lynx said:

Why not just try it? Just pick a value that's not used yet.

Could you elaborate how I could go about it? For all the modding I have done so far I have only used NI for everything, but looking at the current damage types which are there, I cant see any other values. 

Link to comment

You just input another value, not select one from the dropdown. As was noted, dying from exotic damage types can crash the game. Maybe other places would misbehave, but just try it.

Depending on the engine that might be the next one after stunning or the next one after iwd(2)'s disease (0x4000). Or anything bigger like 0x10000, since I doubt it's stored anywhere as a short.

Link to comment
4 hours ago, Moonboy187 said:

Could you elaborate how I could go about it? For all the modding I have done so far I have only used NI for everything, but looking at the current damage types which are there, I cant see any other values. 

Opcode 12... say you want to change a fire damage spell to do this new type of damage, you jsut alter the opcode 12 damage type... in near infinity, you just type the new number.
Say, in fireball, in all the spell abilities, bacause all those are different level onesfireballscrare.jpg. And then push the "Update value". And then exit from the spell and it will ask if you want to save the changes to which you answer yes... this is just one way. That will likely crash your game... :D

Edited by Jarno Mikkola
Link to comment

All non-default values do damage that ignores damage resistances, will display as "fire" damage without the dark-orange coloring in the combat log, and causes an "Acid Death" if it overkills.

They can be individually detected and blocked with 7EYES.2da.

They can be individually detected with the "HitBy()" trigger.

Link to comment

The idea I was going for was to add Divine/Holy damage into the game and have some spells and abilities utilise it, it would also share the same yellowish colour Magic damage as when you are hit by it, although having it a golden colour would have been better - not sure if that can be changed. 

I've hardly come across any Magic Fire/Cold types of damage in vanilla game and with mods, would it be easier to change one of those damage types instead?

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...