Forum

> > Stranded II > Mods > Bat pet
ForenübersichtStranded II-Übersicht Mods-ÜbersichtEinloggen, um zu antworten

Englisch Bat pet

9 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Bat pet

Neutron10586
User Off Offline

Zitieren
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

alt Re: Bat pet

Assassin moder
User Off Offline

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

alt Re: Bat pet

hindustani
User Off Offline

Zitieren
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

alt Re: Bat pet

Neutron10586
User Off Offline

Zitieren
Ok, I'll try

EDIT: Die animation now work perfect, but it's still doesn't move its wings.
1× editiert, zuletzt 13.05.12 13:54:28

alt Re: Bat pet

Assassin moder
User Off Offline

Zitieren
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"

alt Re: Bat pet

hindustani
User Off Offline

Zitieren
what 3d programm do you use i opened it with milkshape but i dont think you use milkshape
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Mods-ÜbersichtStranded II-ÜbersichtForenübersicht