![]() |
Moding a Goneberserk Unit..
How can I create a unit that has goneberserk from the start of battle?
Is there a unit I can copy stats from? |
Re: Moding a Goneberserk Unit..
You can't and no, there isn't.
Gone berserk only manifests is a berserker is wounded or through certain items (Sun Sword, Flesh Eater, the wolf pelt armor) |
Re: Moding a Goneberserk Unit..
You could probably give a commander a #onebattle spell that casts touch of madness. I believe that one of Burnsaber's pretenders (Grungi?) does this in his dwarf mod.
|
Re: Moding a Goneberserk Unit..
Quote:
|
Re: Moding a Goneberserk Unit..
All the slayer commanders in that mod cast a berserk spell at the start of combat. It seems that when they've got things near them it won't always get the commander too. It usually does though.
|
Re: Moding a Goneberserk Unit..
I see... There must be a way to do it. There is an item that gives you the goneberserk skill upon equipment. Would there be a way to script it into a commander or unit through that item perhaps?
|
Re: Moding a Goneberserk Unit..
Only by giving it to the commander in a map file. Not doable through mod.
|
Re: Moding a Goneberserk Unit..
maybe, create a new spell with #copyspell "touch of madness" and setting aoe/range 0, that should give a single target "touch" on yourself only; maybe.
|
Re: Moding a Goneberserk Unit..
Quote:
|
Re: Moding a Goneberserk Unit..
Quote:
You #copyspell an existing spell to a custom slot, then overwrite the original. For example I used this code in my Rohan mod: -------------One Battle Spell for King of Rohan--------------- #newspell #copyspell 166 #end #selectspell 166 #clear #school -1 #researchlevel 0 #damage 2321 #nreff 4 #range 1 #effect 1 #end --------------------------------------------------- The end result was that the original spell in slot 166 worked fine and I was able to use #onebattlespell to spawn a group of royal guards for the King of Rohan. |
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:
|
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.
|
All times are GMT -4. The time now is 02:31 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.