Page 1 of 1

tank script ehlp ;-)

Posted: Tue Feb 15, 2005 10:33 am
by knuko
Hi, help me please, i want to put a tank in the middle of stalingrad MP, can someone help me with the script, TY!
:roll: :shock: :roll:

Posted: Tue Feb 15, 2005 1:54 pm
by Rookie One.pl
Search the forums, been asked a thousand times.

Posted: Tue Feb 15, 2005 2:30 pm
by Green Beret
well,i cant make it drivable,but i can tell you how to spawn one.
plus u can spawn waypoints to make the tank drive to the waypoint.
go to the spot were u want the tank,type coord in console.it will tell you the location.
then put this in your mohdm6.scr after level waittill spawn

Code: Select all

                              level waittill spawn

//tank--------------------------------------------------------------------
local.tnk = spawn script_model targetname tank1
local.tnk model "models/vehicles/tigertank.tik" //tank model
local.tnk.origin = ( xxx xxx xxx )  //<---numbers what u got from coord
local.tnk.angles = ( 0 0 0 )
local.tnk solid
end

Posted: Tue Feb 15, 2005 3:40 pm
by knuko
thank you so much :) :roll: :roll:

Posted: Mon Feb 21, 2005 12:44 am
by Cobra {sfx}
A drivable tank in the middle of stalingrad? Where is it going to drive to? :?

Posted: Mon Feb 21, 2005 1:14 am
by Master-Of-Fungus-Foo-D
the wall :wink: :roll:

Posted: Mon Feb 21, 2005 9:31 am
by Bjarne BZR

Posted: Mon Feb 21, 2005 3:03 pm
by Green Beret
the only real bad thing bout that script is,if you accidently get out in a bad spot youll get stuck in the view as if ur in the tank,but you can see you shoot and in one instance i even seen my dude running around,but my view still as if im in the tank.other than that,its great.
(plus i drove one off the bridge in obj/team_obj4)
went into the water,and i was able to drive through the minefiled the tank blew up,but it only took me to 1 health at the lowest,but i was behind the minefield and go pretty far back :?