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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

Reply
 
Thread Tools Display Modes
  #1  
Old February 15th, 2005, 07:14 AM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default 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

__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #2  
Old February 15th, 2005, 11:49 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default 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.
Reply With Quote
  #3  
Old February 15th, 2005, 12:23 PM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default 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.
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #4  
Old February 15th, 2005, 07:04 PM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default 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.
Reply With Quote
  #5  
Old February 15th, 2005, 07:15 PM
Thilock_Dominus's Avatar

Thilock_Dominus Thilock_Dominus is offline
Second Lieutenant
 
Join Date: Jan 2004
Location: Denmark
Posts: 471
Thanks: 23
Thanked 28 Times in 16 Posts
Thilock_Dominus is on a distinguished road
Default Re: What\'s wrong with this script?

Yep, the werewolves have this ability and the command plus description is in the mod manual.
__________________
| Ubuntu Linux 12.04 64-bit |

Nosophoros: The Vampire Lords - v1.02
Conquest of Elysium 3 GUI mods
Reply With Quote
  #6  
Old February 15th, 2005, 08:11 PM
bone_daddy's Avatar

bone_daddy bone_daddy is offline
Private
 
Join Date: Jan 2005
Location: Indiana, USA
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
bone_daddy is on a distinguished road
Default Re: What\'s wrong with this script?

Perhaps the #shapechange command also required to enable the ability.
Reply With Quote
  #7  
Old February 15th, 2005, 10:48 PM

Duncanish Duncanish is offline
Corporal
 
Join Date: Mar 2004
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
Duncanish is on a distinguished road
Default 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.
Reply With Quote
  #8  
Old February 16th, 2005, 06:43 AM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default 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.
__________________
www.illwinter.com
Reply With Quote
  #9  
Old February 16th, 2005, 10:13 AM

Oversway Oversway is offline
First Lieutenant
 
Join Date: Feb 2005
Posts: 693
Thanks: 0
Thanked 0 Times in 0 Posts
Oversway is on a distinguished road
Default 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?
Reply With Quote
  #10  
Old February 16th, 2005, 06:29 PM
Kristoffer O's Avatar

Kristoffer O Kristoffer O is offline
General
 
Join Date: Aug 2003
Location: Sweden
Posts: 4,463
Thanks: 25
Thanked 92 Times in 43 Posts
Kristoffer O is on a distinguished road
Default Re: What\'s wrong with this script?

Ahh, but then it would turn into a dead human
__________________
www.illwinter.com
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 01:22 AM.


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