Forum

> > Stranded II > Mods > Bat pet
Forums overviewStranded II overview Mods overviewLog in to reply

English Bat pet

9 replies
To the start Previous 1 Next To the start

old Bat pet

Neutron10586
User Off Offline

Quote
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:

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

old Re: Bat pet

Assassin moder
User Off Offline

Quote
Firstly we need yours model and did that bat havn't too much health? change bahaviour to "landskybird"

old Re: Bat pet

hindustani
User Off Offline

Quote
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

old Re: Bat pet

Neutron10586
User Off Offline

Quote
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

old Re: Bat pet

Assassin moder
User Off Offline

Quote
Hmm I hel you!
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"

old Re: Bat pet

hindustani
User Off Offline

Quote
what 3d programm do you use i opened it with milkshape but i dont think you use milkshape
To the start Previous 1 Next To the start
Log in to reply Mods overviewStranded II overviewForums overview