tssmods

Hosted by freeforums.org
Home Page Play games in the arcade Home Page Home Page Home Page
  Register
Login 
View unanswered posts View active topics

Delete all board cookies

All times are UTC



Welcome
Welcome to <strong>tssmods</strong>.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, <a href="/profile.php?mode=register">join our community today</a>!


Home Page Home Page  [ 2 posts ] 
  Print view
Previous topic | Next topic 
Author Message
Offline 
 Post subject: My Scripts
PostPosted: Sat Dec 01, 2007 3:57 am 
Site Admin

Joined: Wed Nov 28, 2007 8:22 pm
Posts: 44
Hey heres all the stuff i have been working on. and that work.
FreeRide.
cameras
Code:
$engine.cameras[3] = create 'TTssCam';
$engine.cameras[3].floating = false;
$engine.cameras[3].x = -0.3;
$engine.cameras[3].y = 0.9;
$engine.cameras[3].z = -0.3;
$engine.cameras[3].angle = 0.0;

$engine.cameras[4] = create 'TTssCam';
$engine.cameras[4].floating = false;
$engine.cameras[4].x = -0.2;
$engine.cameras[4].y = 0.6;
$engine.cameras[4].z = -0.1;
$engine.cameras[4].angle = 0.10*3.0;

$engine.cameras[5] = create 'TTssCam';
$engine.cameras[5].floating = false;
$engine.cameras[5].x = -0.2;
$engine.cameras[5].y = 0.5;
$engine.cameras[5].z = -0.1;
$engine.cameras[5].angle = 0.10*3.0;

$engine.cameras[6] = create 'TTssCam';
$engine.cameras[6].floating = true;
$engine.cameras[6].x = 0.0;
$engine.cameras[6].y = 0.5;
$engine.cameras[6].z = -4.5;
$engine.cameras[6].angle = 0.10*3.14;

$engine.cameras[7] = create 'TTssCam';
$engine.cameras[7].floating = true;
$engine.cameras[7].x = 0.0;
$engine.cameras[7].y = 3.0;
$engine.cameras[7].z = -6.0;
$engine.cameras[7].angle = 0.0;

and the tailer
well i got it to work but it looks to far away(like its not connected) But if i make it go closer it bumps the car so WORK IN PROGRESS
Code:
$link = create 'TTssLink';
$link.object1 = createTssObj('TTssCar', 'LandRover.obj', $startx, $starty, $startz, true);
$link.pos1z = -2.53;
$link.object2 = createTssObj('TTssCar', 'Test.obj', $startx, $starty, $startz-4.08, true);
$link.pos2z = 1.75;
$link.strength = 500.0;
$engine.links[0] = $link;

If you look in the script you will know were to put it.
Cameras after $engine.cameras[2], space it.
and the link its right under the
Code:
//createTssObj('TTssCar', 'celica.obj', $startx-4, $starty, $startz+10, true);
//createTssObj('TTssCar', 'galant1.obj', $startx+4, $starty, $startz+16, true);
//createTssObj('TTssCar', 'Test2.obj', $startx-4, $starty, $startz+16, true);
//createTssObj('TTssCar', 'rollsroyce.obj', $startx, $starty, $startz+8, true);
.


Top
 Profile  
 
Offline 
 Post subject:
PostPosted: Sun Aug 24, 2008 8:50 am 

Joined: Sun Aug 24, 2008 8:34 am
Posts: 3
Wow, that's nice.

I tried the tailer but somehow I can't get it to appear randomly like the other cars.

Also, there's an unmodded link for the truck and its trailer (yes, there IS a trailer for the truck) . Is it possible for you to find a way to get that link to function AND have that vehicle appear randomly?


Top
 Profile  
 
Search for:
Display posts from previous:  Sort by  
Home Page Home Page  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to: