Forum

> > Stranded II > General > New Question, My Shark won't show up.
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch New Question, My Shark won't show up.

8 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt New Question, My Shark won't show up.

Gast

Zitieren
I copied the shark and scaled it to 14 (2x size), I gave it an ID of 45, right after giant spider, but it's not showing up in my editor. Anyone have a clue why?

### Shark
id=13
name=Shark
group=animal
icon=gfx\shark.bmp
model=gfx\shark.b3d
scale=7
colxr=50
colyr=20
behaviour=predatorfish
health=80
speed=2.5
turnspeed=1.7
damage=15
ani_move=2,3,0.03
ani_die=4,5,0.01
ani_attack=2,3,0.05
attackrange=80
loot=9,3
loot=94,10
script=start
     on:ai_attack {
          if (random(8)==1){
               if (gotstate("unit",1,17)==0){
                    if (random(5)<2){
                         addstate "unit",1,1;     
                    }else{
                         addstate "unit",1,7;
                    }
               }
          }
     }

     on:kill {
          event "iskill_hunt","global";
     }
script=end

alt Re: New Question, My Shark won't show up.

Gast

Zitieren
Wow, I feel special.

### Giant Shark
id=45
name=Giant Shark
group=animal
icon=gfx\shark.bmp
model=gfx\shark.b3d
scale=7
colxr=50
colyr=20
behaviour=predatorfish
health=100
speed=2.5
turnspeed=1.7
damage=30
ani_move=2,3,0.03
ani_die=4,5,0.01
ani_attack=2,3,0.05
attackrange=80
loot=9,3
loot=94,10
script=start
     on:ai_attack {
          if (random(8)==1){
               if (gotstate("unit",1,17)==0){
                    if (random(5)<2){
                         addstate "unit",1,1;     
                    }else{
                         addstate "unit",1,7;
                    }
               }
          }
     }

     on:kill {
          event "iskill_hunt","global";
     }
script=end

alt Re: New Question, My Shark won't show up.

Satis
User Off Offline

Zitieren
in what inf file did you make this extra shark ??

I know of experience that a unit allways need to be in a units_***.inf file or the units.inf file it self

//Satis
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht