English Bat pet

9 replies
Goto Page
To the start Previous 1 Next To the start
13.05.12 03:29:07 am
Up
Neutron10586
User
Offline Off
Hi,
I'm working on a bat pet.
It's following player all over the map (except water), and it collects worms by night. It would be succesfull, but animations doesn't work, and i don't know why. Here's the code:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
### Bat
id=197
name=Bat pet
group=animal
icon=gfx\bat.bmp
model=gfx\bat.3ds
colxr=18
colyr=14
scale=0.20
behaviour=monkey
health=5000000
speed=2
turnspeed=2
ani_move=1,30,0.10
ani_die=1,2,0.11
script=start
on:start { if (health("self")>0){ ai_mode "self","goto","unit","1"; ai_center;  }
script=end
Avenged Sevenfold \m/
13.05.12 10:22:22 am
Up
Assassin moder
User
Offline Off
Firstly we need yours model and did that bat havn't too much health? change bahaviour to "landskybird"
13.05.12 01:25:00 pm
Up
hindustani
User
Offline Off
how can the die animation be in the same seconds like move ani ???
and ani die only 2 frames long ?
these makes not realy sense.
and change behaviour to a bird ,)

ps: sry for bad english
13.05.12 01:42:33 pm
Up
Neutron10586
User
Offline Off
Ok, I'll try

EDIT: Die animation now work perfect, but it's still doesn't move its wings.
edited 1×, last 13.05.12 01:54:28 pm
Avenged Sevenfold \m/
13.05.12 04:12:55 pm
Up
Assassin moder
User
Offline Off
Hmm I hel you!
Code:
1
2
ani_move=1,30,0.10
"1" is starting anim frame | "30" is ending anim frame | "0.10" is speed of anim

if you anim is starting on "1" frame and ending on "30" frame here is problem: Too long! Try to make that anim from "1" frame to "10" frame and die anim from "11" to "16"
13.05.12 09:22:37 pm
Up
Neutron10586
User
Offline Off
Thank you, but it's still doesn't work.
Avenged Sevenfold \m/
15.05.12 12:26:07 pm
Up
Assassin moder
User
Offline Off
You need to make that animation in these frames
16.05.12 08:54:45 pm
Up
Neutron10586
User
Offline Off
I know I already did it.... but no effects
Avenged Sevenfold \m/
16.05.12 10:04:47 pm
Up
hindustani
User
Offline Off
what 3d programm do you use i opened it with milkshape but i dont think you use milkshape
17.05.12 10:40:56 am
Up
hacked
User
Offline Off
@user hindustani: Open it with this program.
To the start Previous 1 Next To the start