Dungeons of Dredmor

Dungeons of Dredmor

A indústria de mods dos anões precisa de você!
Crie e compartilhe novos itens, salas, habilidades, magias, monstros e mais! Clique aqui para aprender como.
Shazbot 29/set./2013 às 23:44
A quick question about modding
So I'm working on my first mod for the game and I ran into a bit of an issue while working through some new skill trees.

I have a handful of skills that I want to tie into existing effects in Dredmor, much like how Bankster checks for Egyptian Magic glyphs when seeing if it should proc Pyramid Scheme.

Is there any way for me to edit an existing effect in the game without having to edit the core spells XML file? I'm trying to avoid that as it may horrendously break compatability with other mods, won't survive steam validation, and have other, unforseen consequences.
< >
Exibindo comentários 13 de 3
# 2 30/set./2013 às 3:15 
Maybe you can try to re-write the same effect, it's possible that it'll overwrite the core XML file, not sure.
# 2 30/set./2013 às 3:17 
Anyway, if you want to add effects, just create a spell which is cast while the other one is casted, with the effects that you're looking to add / remove.

Not sure if you see what I mean:

The spell "X" add 3 to stat Y. So, I make a Spell Z which is casted at 100% when X is used, Z effect is remove 3 to stat Y.
Shazbot 30/set./2013 às 4:32 
Escrito originalmente por Vehemens:
Anyway, if you want to add effects, just create a spell which is cast while the other one is casted, with the effects that you're looking to add / remove.

Not sure if you see what I mean:

The spell "X" add 3 to stat Y. So, I make a Spell Z which is casted at 100% when X is used, Z effect is remove 3 to stat Y.

I'd love to do that, but as far as I know the only way to detect non-buff spells is with the <triggerOnCast> tag. But that goes off after *every* spell cast, not just the one I'm looking for.

Or is there some secret method to make it do exactly that?

And for now, I'll rewrite the effect and see if it pulls the XML from the mod files. I'm imagining that it'll likely just crash to desktop though.
Última edição por Shazbot; 30/set./2013 às 4:34
< >
Exibindo comentários 13 de 3
Por página: 1530 50