Truck spawn position


(Pukedukem) #1

I thought all of my problems had ended, but now I can’t get my truck to be on the spline path intill the objective is in the back.

original truck spawn from goldrush
/////////////////////////////////////////////////////////////////
truck
{
spawn
{
faceangles 0 90 0 50
}
////////////////////////////////////////////////////////////////

now I will change it so it looks like this in my map
/////////////////////////////////////////////////////////////////
truck
{
spawn
{
faceangles 0 270 0 50
}
////////////////////////////////////////////////////////////////
it faces the right way but isnt on the spline path. But when i return the objective to the truck it snaps to the spline and begins its path as normal. If I change 50 to zero
nothing happens. I know what the other numbers do except that 50. crap

I also changed it so it spawned more like the tank.
/////////////////////////////////////////////////////////////////
truck
{
spawn
{
wait 400
followspline 0 tspln_1 50000 length 32 wait

	faceangles 0 0 0 0
}

////////////////////////////////////////////////////////////////

this almost works everything appers to be right except all of the trigger boxes are way off and I still get alittle snap when the truck begins its path.

Some more help would be great.

Thanks again,

:banghead:


(Pukedukem) #2

I fixed it I just made it spawn like the goldrush tank and one spline before the first run trigger.
I also had to move the capture objective trigger to where the back of the truck was going to be in game. that part was done in radiant. heres my truck spawn script.

Hope this helps someone

///////////////////////////////////////////////////////////
truck
{
spawn
{
followspline 0 tspln_0 50000 length 32 wait
}

///////////////////////////////////////////////////////////////////////////