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

This Month's Specials

Raging Tiger- Save $9.00
World Supremacy- Save $9.00

   







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

Reply
 
Thread Tools Display Modes
  #11  
Old May 18th, 2010, 06:54 AM
Burnsaber's Avatar

Burnsaber Burnsaber is offline
Colonel
 
Join Date: Jun 2007
Location: Finland
Posts: 1,617
Thanks: 179
Thanked 304 Times in 123 Posts
Burnsaber is on a distinguished road
Default Re: Moding a Goneberserk Unit..

This thread is mostly on the right track about the issue. Autoberserking can't be done with units, but commanders can do it with a custom #onebattlespell. You should see the afromentioned dwarf mod for the code. The bug with the commander in the mod not always berserking himself is mostly due to me using a vanilla spell to give the berserk effect. Because the vanilla spell is not prec 100, the effect misses some times (much like a sacred thug self bless sometimes misses). You can bypass the bug by making your berserk effect be 100 prec.


Also note this data from the modding tips & tricks thread:

Quote:
- The "berserk" buff seems to incur odd AI behaviour with modded spells, most likely due to the AI changes that have been made in a recent patch to make the AI less inclined to cast the "Touch of Madness" type spells. The AI refuses to cast a spell that just gives the "berserk" buff as a #onebattlespell. You need to fool the AI with #nextspell or make the spell give some other buff too with the berserk effect to make the AI cast the spell.
__________________
I have now officially moved to the Dom3mods forums and do not actively use this account any more. You can stll contact me by PM's, since my account gives e-mail notifications on such occasions.

If you need to ask something about modding, you can contact me here.

See this thread for the latest info concerning my mods.
Reply With Quote
  #12  
Old May 18th, 2010, 07:36 PM
Foodstamp's Avatar
Foodstamp Foodstamp is offline
Major General
 
Join Date: Oct 2006
Location: Tennessee USA
Posts: 2,059
Thanks: 229
Thanked 106 Times in 71 Posts
Foodstamp is on a distinguished road
Default Re: Moding a Goneberserk Unit..

Actually it may still miss with 100 precision. I created an ethereal effect and gave it 100 precision targeting the caster and it misses sometimes. I'm guessing it will probably do the same with the berserk effect but I may be wrong.
__________________
BLAH BLAH BLAH BLAH NEXT TURN.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 10:19 AM.


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