.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #1  
Old July 3rd, 2007, 08:07 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default 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.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #2  
Old July 3rd, 2007, 08:14 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old July 3rd, 2007, 08:18 PM
Saulot's Avatar

Saulot Saulot is offline
Sergeant
 
Join Date: Dec 2003
Location: New York City
Posts: 340
Thanks: 0
Thanked 3 Times in 3 Posts
Saulot is on a distinguished road
Default 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.
Reply With Quote
  #4  
Old July 3rd, 2007, 08:20 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default 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.
Reply With Quote
  #5  
Old July 3rd, 2007, 08:31 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default 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*
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #6  
Old July 5th, 2007, 02:50 PM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: Losing magic in second form

Are you sure you want to use #secondtmpshape and not #secondshape?



7.75 #secondshape &#8220;<monster name>&#8221; |
<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 &#8220;<monster name>&#8221;
| <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.
Reply With Quote
  #7  
Old July 5th, 2007, 07:59 PM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default 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.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.