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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- 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 September 3rd, 2009, 07:52 AM
Amonchakad's Avatar

Amonchakad Amonchakad is offline
Corporal
 
Join Date: Jan 2009
Location: Modena, Italy
Posts: 192
Thanks: 27
Thanked 21 Times in 10 Posts
Amonchakad is on a distinguished road
Default Modding auto berserk?

Hello, I've searched around here, and looked at the modding wishlist and the modding manual, but I can't find anything about a command to make the unit automatically berserk at the start of a battle. Can anyone help me?
Reply With Quote
  #2  
Old September 3rd, 2009, 08:11 AM

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: Modding auto berserk?

You can do it with a commander. See Ogre Kingdoms mod - Mawpit and Skrag the Slaughterer.

There's no mod command for it specifically. Setting morale to 99 doesn't work before someone suggests that. You have to find a workaround.

With troops, I can't think of a clean workaround. Possibly aoe 1 poison cloud + no poison res + berserk + second form without poison cloud.
Reply With Quote
The Following User Says Thank You to Sombre For This Useful Post:
  #3  
Old September 3rd, 2009, 08:53 AM
Amonchakad's Avatar

Amonchakad Amonchakad is offline
Corporal
 
Join Date: Jan 2009
Location: Modena, Italy
Posts: 192
Thanks: 27
Thanked 21 Times in 10 Posts
Amonchakad is on a distinguished road
Default Re: Modding auto berserk?

Thanks Sombre; yes, for a commander, using the #onebattlespell works, but I suppose it won't work with normal units? Or maybe would it be possible to copy a magic item that grants autoberserk, change its stats and give it as standard equipment?

And on a side note,shouldn't this request be added to the wishlist?
Reply With Quote
  #4  
Old September 3rd, 2009, 09:23 AM

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: Modding auto berserk?

Onebattlespell doesn't work with units. If you copystats the communicant guy from ma pythium you can get units to benefit from a communion master buff - in this way you could berserk all your units by using that commander. But that's far from clean.

Magic items don't work that way.

Unless another experienced modder can think of something, it can't be done.

Morale 99 = autoberserk at battle start would be good on the wishlist yeah.
Reply With Quote
  #5  
Old September 3rd, 2009, 09:59 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: Modding auto berserk?

Quote:
Originally Posted by Sombre View Post
Unless another experienced modder can think of something, it can't be done.
I have an idea. It's not clean, but should work up to a point. Don't make the units summonable or recruitable, expect as commanders. Then have that unit have a custom onebattlespell.

This custom onebattlespell will summon, say 8 of these guys and nextspell a berserking spell with nice AoE that will cover most squares around the unit, berserking him and the troops he just summoned. Because of the berserk, this solution will circumvent the normal obstacles associated with autosummoning commanders, since it will be very hard to protect the summoning commanders from harm and reuse their troops from battle to battle (since the commander will automatically join the fray).

However, this will mean that these commanders can berserk other units around them. (if the troops have a special tag, like undead, sacred, demon or magic being, you can specify the berserk spell to only target them).

If you need help getting started, Bretonnia mod takes heavy use of the commander battle summoning, you can start up the code from there. If you run up into any trouble, I can provide assistance.
__________________
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
  #6  
Old September 3rd, 2009, 12:41 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: Modding auto berserk?

See, that's the sort of workaround you have to get used to in modding. Sometimes you can't get mechanically what you're after, but the flavour can be spot on.
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 05:16 PM.


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