|
|
|
|
February 15th, 2005, 07:14 AM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
|
|
What\'s wrong with this script?
I'm using one of the new script command #secondshape and #firstshape. But apparently when the dryad gets low on on hit points it doesn't shapechange.
Quote:
#newmonster 2005
#name "Forest Dryad"
#spr1 "./FOL_Animation/Units/Dryad1.tga"
#spr2 "./FOL_Animation/Units/Dryad1.tga"
#descr "Forest Dryads are tree spirits - magical beings who dwell in trees and are capable of assuming the aspects of a particular tree or even shape-shifting into the form of a tree at will. The Forest of Loren is one of the last refuges of these strange beings. Dryads do have a solid form, with flesh like pliable, green sapwood of a young tree. Their hair is like the foliage of a tree or may resemble moss and lichen.
When they appear to Elves or Men in a friendly or alluring aspect, Dryads take on the semblance of a beautiful, lithe young woman with treelike characteristics. In place of hair, a cascade of green or autumn-coloured leafy foliage flows from their head, and their complexion is green, brown or even silvery-white."
#ap 14
#mapmove 2
#hp 26
#prot 5
#size 2
#str 10
#enc 2
#att 12
#def 16
#prec 12
#mr 14
#mor 15
#gcost 160
#rcost 5
#weapon 250
#weapon 250
#ambidextrous 2
#awe 2
#female
#fireres -25
#forestsurvival
#heal
#holy
#magicbeing
#nametype 110
#neednoteat
#noitem
#regeneration 5
#stealthy 15
#secondshape 2006
#noleader
#okmagicleader
#noundeadleader
#end
#newmonster 2006
#name "Forest Dryad"
#spr1 "./FOL_Animation/Units/test.tga"
#spr2 "./FOL_Animation/Units/test.tga"
#descr "Forest Dryads are tree spirits - magical beings who dwell in trees and are capable of assuming the aspects of a particular tree or even shape-shifting into the form of a tree at will. The Forest of Loren is one of the last refuges of these strange beings. Dryads do have a solid form, with flesh like pliable, green sapwood of a young tree. Their hair is like the foliage of a tree or may resemble moss and lichen. Dryads are not small creatures, they tend to be up to about twice the height of an Elf.
When they appear to Elves or Men in a friendly or alluring aspect, Dryads take on the semblance of a beautiful, lithe young woman with treelike characteristics. In place of hair, a cascade of green or autumn-coloured leafy foliage flows from their head, and their complexion is green, brown or even silvery-white. Dryads speak with strange, eerie sonorous voices able to charm or scare the unwary. Their long fingers are usually also dangerous weapons sprouting thorns or whip-like twigs. They are extremely spiteful and vengeful if offended or if the trees they inhabit are threatened or harmed.
Wood Elves are careful to placate these spirits and often ask them for help. Dryads trust and favour Wood Elves and will help them in many ways, even by assuming awesome and savage aspects to fight alongside the Elves in battle."
#ap 14
#mapmove 1
#hp 26
#prot 15
#size 3
#str 14
#enc 3
#att 15
#def 16
#prec 12
#mr 14
#mor 15
#gcost 160
#rcost 5
#weapon 250
#weapon 250
#ambidextrous 2
#entangle
#fear 2
#female
#fireres -25
#forestsurvival
#heal
#holy
#magicbeing
#nametype 110
#neednoteat
#noitem
#regeneration 10
#stealthy 15
#firstshape 2005
#noleader
#okmagicleader
#noundeadleader
#end
|
|
February 15th, 2005, 11:49 AM
|
|
National Security Advisor
|
|
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
|
|
Re: What\'s wrong with this script?
Without analyzing that too much, do you mean that they don't transform at all, or that they don't transform until they die?
If it is the latter, then description of that command (#secondshape?) might is just confusing.
|
February 15th, 2005, 12:23 PM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
|
|
Re: What\'s wrong with this script?
It doesn't transform at all.
The first- and secondshape command should make the unit to transform when the unit gets low on hitpoints.
|
February 15th, 2005, 07:04 PM
|
General
|
|
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
|
|
Re: What\'s wrong with this script?
Are you sure the functionality is "gets low on hitpoints"? The only shapechange functions I've seen are manual (like Dragon pretenders), whenever the unit takes a non-mortal hit, and when a unit is killed.
|
February 15th, 2005, 07:15 PM
|
|
Second Lieutenant
|
|
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
|
|
Re: What\'s wrong with this script?
Yep, the werewolves have this ability and the command plus description is in the mod manual.
|
February 15th, 2005, 08:11 PM
|
|
Private
|
|
Join Date: Jan 2005
Location: Indiana, USA
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: What\'s wrong with this script?
Perhaps the #shapechange command also required to enable the ability.
|
February 15th, 2005, 10:48 PM
|
Corporal
|
|
Join Date: Mar 2004
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: What\'s wrong with this script?
Did you copy that directly from your mod file or hand type it? I'm assuming the former, but just in case, try double-checking your spelling. That gave me problems before and I felt like a complete moron when I found out what the problem was.
Other than that, I can't see anything wrong. Maybe the command is broken? Or maybe it's conflicting with something else you have?
__________________
My plans are always practical! It's the laws of physics that get in the way of my success!
I found out what zombies are weak against.
Oh?
Point blank annihilation.
|
February 16th, 2005, 06:43 AM
|
|
General
|
|
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
|
|
Re: What\'s wrong with this script?
Shapeshifters only change into forms with more hitpoints, unless they use the secondtempshape. It would be silly if a dragon was killed and turned into a human. Apart from the fact that it would loop and return to dragon form again etc.
So, just give one of the forms an additional HP.
|
February 16th, 2005, 10:13 AM
|
First Lieutenant
|
|
Join Date: Feb 2005
Posts: 693
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: What\'s wrong with this script?
Quote:
It would be silly if a dragon was killed and turned into a human.
|
What if it was originally a human, cursed into dragon form?
|
February 16th, 2005, 06:29 PM
|
|
General
|
|
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
|
|
Re: What\'s wrong with this script?
Ahh, but then it would turn into a dead human
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|