Forum

> > Stranded II > General > T-rex
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch T-rex

8 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt geschlossen T-rex

Gast

Zitieren
I got to messing around with some of the models and made a T-rex. It's basicaly a raptor, but much bigger, and does ALOT of damage and has ALOT of health, but it also drops ALOT of stuff. I tested it out and it works fine but it does get stuck on tree's alot, and if you don't hit it close enough some times the spears/pebbles/whatever go right through it, but i think thats more of an added feature then a glitch becuase it's like the stuff is just bouncing off the rex's thick hide. Anyway just copy paste this into the Units txt in sys

### T-rex
id=(what ever number comes next probably 41 if you haven't done anything with this txt)
name=T-rex
icon=gfx\raptor.bmp
model=gfx\raptor.b3d
scale=2.5
colxr=15
colyr=30
behaviour=raptor
health=300
speed=2.5
turnspeed=3.0
attackrange=115
damage=50
ani_idle1=4,8,0.02
ani_move=2,3,0.06
ani_die=8,11,0.05
ani_attack=12,16,0.07
sfx=raptor
rideoffset=5
acceleration=0.08
maxdepth=35
loot=9,10
loot=94,10
loot=95,6
loot=96,4

And to make it spawn in random maps look for

################### Units

### Land
range=60,200
ratio=1
units=9(put a , then the ID number of the T-rex next to this)
range=-10,40
ratio=15
units=3,10
range=10,200
ratio=20
units=6,7,16,17,18,20,26
ratio=10
range=50,150
units=19
ratio=5
units=15

alt Re: T-rex

Gast

Zitieren
Eek! I forgot to test if you could hit it with spears rockets and stuff i only tested it with pebbles and for whatever reason they all hit it but nothing else well it just goes through it! dun add this i gotta fix it lol

alt Re: T-rex

GolemCC
User Off Offline

Zitieren
Increase the colxr and colyr properties. These determine the area that the creature can collide with objects.

alt Re: T-rex

Ringwall
User Off Offline

Zitieren
I made this thing too. You can change the T-Rex' colour to dark brown by adding in this line:

color=255,40,60

alt Re: T-rex

Gast

Zitieren
is the t-rex tamable? If no is there any way to make it tamable?

alt Re: T-rex

Gast

Zitieren
Wow... if you had waited just two months, this thing would be a year old.

*If you need to make it tamable, take the taming script from the raptor and past it onto this definition.*

alt Re: T-rex

Gast

Zitieren
i tried to copy+paste this script to the bottom of the T-Rex script:

script=start
     on:use {
          //Ride when tame!
          if (gotstate("self","tame")) {
               ride;
               freetimers "self";
               if ($tameness<15){
                    timer "self",random(5000,10000),1,"shakeoff";
               }elseif ($tameness<20){
                    timer "self",random(20000,30000),1,"shakeoff";
               }
          }     
     }

     on:shakeoff {
          if (riding()==current_id()){
               getoff;
               damage "unit", 1,random(5,10);
               msg "Ouch ...",3;
               msg "He dropped me!",3;
          }
     }

     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

But i threw like 40 meat at the T-Rex and he just ate it all wihtout getting tamed.

alt Re: T-rex

Gast

Zitieren
Sorry...
You also need to add the T-Rex's ID to the taming script in the definitions for the meat.
(I'd forgotten that the taming script was there - I had thought it was in the raptor's definition.)

alt Re: T-rex

Flying Lizard
User Off Offline

Zitieren
wth?

You should never change the inf's for something like this, it just creates odd bugs when you're exchanging maps with people etc etc

however, if you don't want to belief this you can put this into your game, but I'll close this now.

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