|
|
|
|
July 3rd, 2007, 08:07 PM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Losing magic in second form
Second impossible question of the day.
I'm trying to make a mage which, when killed, transforms into a second form. The idea is that the second form should have less magic than the first (the mage expended a lot of his powers on giving himself a second life). Possible?
I'd assumed it would be, but I hadn't realised how the magic commands seem to be ignored except for when a unit is recruited/summoned. It seems that magic levels are conserved no matter what.
Maybe I could give him "Mute". Is that possible? I guess not, I've not seen affliction modding.
|
July 3rd, 2007, 08:14 PM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: Losing magic in second form
You can give him #magicbonus -1 or whatever. It's worked for me before with a hero in the exile/avernum mod.
|
July 3rd, 2007, 08:18 PM
|
|
Sergeant
|
|
Join Date: Dec 2003
Location: New York City
Posts: 340
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
Re: Losing magic in second form
#secondtmpshape seems to work for me. I have a unit which uses that, and when it is heavily wounded/killed, I've seen a completely different unit, which retains the same name and experience of the first. I imagine the same would apply to magic levels.
If you used the #magicboost command with the desired penalties to each magic path on the second unit, that should do the trick.
|
July 3rd, 2007, 08:20 PM
|
BANNED USER
|
|
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
|
|
Re: Losing magic in second form
I believe negative #magicboost on specific paths doesn't work - while if you put it on all paths it does work. I could be wrong, but I think that's what I found out when I was modding the hero in the Avernum mod.
He's the Feline Demon in there if you want to look it up. He gains magic in one form, but loses troop summoning.
|
July 3rd, 2007, 08:31 PM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Losing magic in second form
Hooray! Thanks guys! I'd missed #magicboost entirely. It works a treat.
Actually as Sombre says it doesn't work properly for individual paths (it worked for fire but not other paths, sorcery seemed to include holy and other general dodginesses). But that was pretty much exactly what I wanted. Thanks!! *dances*
|
July 5th, 2007, 02:50 PM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: Losing magic in second form
Are you sure you want to use #secondtmpshape and not #secondshape?
7.75 #secondshape “<monster name>” |
<monster nbr>
This monster will assume another shape when it gets seriously
wounded. Remember to give the other shape the
#firstshape command if you want it to return to the primary
form when it feels better. Werewolves and elementals
use this ability.
7.76 #secondtmpshape “<monster name>”
| <monster nbr>
This monster will transform into another monster when
it is killed in battle. This other monster will be removed
after battle. Serpent Cataphracts use this ability.
|
July 5th, 2007, 07:59 PM
|
National Security Advisor
|
|
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
|
|
Re: Losing magic in second form
Yep, you're right Endo - I'm using #secondshape in fact.
Lots of progress on the Tomb Kings by the way. I will have to start posting some previews.
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|