Page 2 of 2

Re: Make a dragon...

Posted: Sun Oct 28, 2012 12:26 am
by FrEEsiD
I have an idea, you must either:

1) change the animation (I spent the day over and nothing)

2) find out how to stop the animation (I try to animation_event [anything] with OnMove [I'm doing])

If an ace-scripting has an idea ... I'm interested;)

thank you in advance

Re: Make a dragon...

Posted: Mon Oct 29, 2012 2:16 am
by Billick
This works fairly well. The "dragon" will cast a fireball normally instead of only when it bites you. Copy this code into your monsters.lua file:

Code: Select all

cloneObject
{
	name = "fire_dragon",
	baseObject = "ice_lizard",
	brain = "Ranged",
	rangedAttack = "fireball",
}
defineAnimationEvent
{
   animation = "assets/animations/monsters/ice_lizard/ice_lizard_attack.fbx",
   event = "ranged_attack",
   frame = 10,
}

Re: Make a dragon...

Posted: Mon Oct 29, 2012 9:23 am
by FrEEsiD
Thanks Billy, but have a reach to make a real dragon (last post page1) just one probleme rest animation step forward .... thanks