.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Moding a Goneberserk Unit.. (http://forum.shrapnelgames.com/showthread.php?t=45627)

Atreidi May 15th, 2010 12:33 PM

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?

Edi May 15th, 2010 05:47 PM

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)

Graeme Dice May 15th, 2010 08:35 PM

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.

Atreidi May 15th, 2010 10:58 PM

Re: Moding a Goneberserk Unit..
 
Quote:

Originally Posted by Graeme Dice (Post 745733)
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.

Touch of madness selfinflicts the caster?

rdonj May 15th, 2010 11:17 PM

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.

Atreidi May 16th, 2010 01:28 AM

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?

Edi May 16th, 2010 11:31 AM

Re: Moding a Goneberserk Unit..
 
Only by giving it to the commander in a map file. Not doable through mod.

Swan May 16th, 2010 12:26 PM

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.

elmokki May 16th, 2010 10:05 PM

Re: Moding a Goneberserk Unit..
 
Quote:

Originally Posted by Swan (Post 745767)
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.

You can't #onebattlespell custom spells.

Foodstamp May 16th, 2010 11:39 PM

Re: Moding a Goneberserk Unit..
 
Quote:

Originally Posted by elmokki (Post 745805)
Quote:

Originally Posted by Swan (Post 745767)
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.

You can't #onebattlespell custom spells.

Sure you can.

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.


All times are GMT -4. The time now is 06:43 PM.

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