Author Topic: morph_skill error  (Read 1677 times)

Enigma

  • Guest
morph_skill error
« on: 5 June 2006, 07:46:06 »
Hi!

I was trying to add some extra units and buildings to glest, so I tried to make a dragon promote to a more powerful one (Fireborn's death dragon, to be precise), just trying to get the hang of it.

So what I did was copy the morph code into the dragon's xml, change it to this:
Quote
      <command>
         <type value="morph"/>
         <name value="promote_to_death_dragon"/>
         <image path="../death_dragon/images/dragon.bmp"/>
         <unit-requirements/>
         <upgrade-requirements/>
         <morph-skill value="morph_skill"/>
         <morph-unit name= "death_dragon"/>
         <discount value="0"/>
      </command>

I thought this should work but when loading, the game goes down and I get an error like "no skill morph_skill"...

Anyone know what I'm doing wrong? ^^
« Last Edit: 1 January 1970, 00:00:00 by Enigma »

@kukac@

  • Guest
topic
« Reply #1 on: 5 June 2006, 07:59:56 »
Try this:

Code: [Select]
<skill>
<type value="morph"/>
<name value="morph_skill"/>
<ep-cost value="0"/>
<speed value="500"/>
<anim-speed value="80"/>
<animation path="models/death_dragon_morphing.g3d"/>
<sound enabled="false"/>
</skill>


was i fast enough?  :O
« Last Edit: 1 January 1970, 00:00:00 by @kukac@ »

Enigma

  • Guest
(No subject)
« Reply #2 on: 5 June 2006, 08:06:26 »
13 minutes top, wow :p

i'll try it out, thanks ^^
« Last Edit: 1 January 1970, 00:00:00 by Enigma »

 

anything