[Mod Idea]Dwarven Defender - Help Required
mars0124
Member Posts: 180
Lets be honest here, a Dwarven Defenders ability to block attacks at a reduced speed is NOT magical. It is training. That being said, should a Dwarven Defender not be able to STOP defending at his own whim? That's the idea behind this mod. It doesn't exist yet, I don't have the know how yet, but by George I'm going to make it happen.
So. Are there any here that could point me in the right direction? I imagine I need to edit the abilities of the Defensive Stance ability to add a temporary ability to 'dispell' Dwarven Stance....
Here I go! If you have ideas on HOW to do this, just throw them in. They could be better than the n00b level coding that is available to me.
So. Are there any here that could point me in the right direction? I imagine I need to edit the abilities of the Defensive Stance ability to add a temporary ability to 'dispell' Dwarven Stance....
Here I go! If you have ideas on HOW to do this, just throw them in. They could be better than the n00b level coding that is available to me.
Post edited by mars0124 on
0
Comments
So the problem is as follows. When I cast defensive stance, I immediately cast the remove defensive stance ability. Any ideas how I would turn the second effect of defensive stance into a ability waiting to be cast? Also, can I set that ability to expire after 1 turn (at the same time as defensive stance), given it was not previously cast?
I've unfortunately discovered that this modding forum is more a plan to put down a modding idea and have it critiqued, and not a place to ask for help and learn. Maybe sometime I'll find such a forum.
But I absolutely agree IchigoRXC, it would be nice to have these things softcover.
It sometimes takes a couple days before someone with the know-how stumbles over your forum post. There's no full-time employee of any company I'm aware of tasked with helping forum users make their own mods, for any game. Patience is a virtue as they say. But a few of us do actually like to help others learn....
That said, you were on to the right idea with an innate ability. Best we got to work with. It will appear in the GUI this way, selectable. But you have to do a couple other things first.
1) The original spell needs some additions. It needs a custom Secondary School Type. These are added in MSECTYPE.2da
2) It needs a Learn Spell (Innate) effect (147). Perhaps Give Innate Ability (171) effect will do the job (try both, see which does the job better). The innate they learn when 'casting' is a custom, of course.
3) The Learn Spell effect should have a duration equal to the original. If this doesn't get rid of it at the end, try RemoveSpell with a duration type Delay set to same time.
4) The learned innate should cast the effect Remove Secondary Type (221) set to the number of your custom school in MSECTYPE.2da.
If you want a working example of at least parts of this, check out the Disease Fix part of the BPSeries scripts. Disease effects assigned a special secondary school, and taking a cure (Mummy's Tea in BG2 modding, the Cleric spell, et al) removes this school. You can be pretty broad-reaching and general with this approach, as opposed to other (more specific) ways of removing spells. Because I'm thinking: if a Dwarven Defender can do this, why can't a Blade? Or a fighter with HLA's? You could use the same sec school for all these types of "melee innates".
Admittedly though, for the times I have reached out I have been helped. Thank you for that @Archaic and @Tome, not to mention @nsr and @Wowo for readily helping me test my iPad script.
I appreciate all the information @horredtheplague. Given I feel better next week (which is likely considering the extraordinarily low amount of sleep that my children have allocated to me over the past week) I will take another stab at this. And as for your thoughts on the blade or fighter HLAs I would totally agree. "WHY CAN'T I STOP SWINGING THESE SWORDS!?!? RAAAAGH!!!"
Edit: And I know you are correct on the timeframe it takes for help. It's just that normally in a day or two help does not come. And I'd like to ask you honestly, as I am interested in psychology, if I had not posted my disappointment with this community would you have posted your thoughts above (and again, thank you for that).
And I'm glad to know you are a person who would have helped regardless. Help is good.
And to the previous point of joy in self-discovery, I understand that. I was thrilled with being able to figure out and help someone with dialog in their mod. It's just a steep learning curve on your own is all. At least until you get your feet wet.
I guess that leaves me with two choices. Begrudge the lack of support as that comes from the 'old team'. Or start anew. It's been a rough week, as I previously said. Maybe next week or the week after ill be part of the new start that will help people learn.