I got the camera working great and it's so hot I'm really stoked. But I need script to get me of the camera and back into combat.
I dont care if the bots run off and fight it adds to the spectacle, so that bit is cool.
Also on another subject jv helped me get a tank into it and its way funny watching it blow them away...... hehehehe.
So here is what I have done.
level.camera_speed = 1.5
thread camera_mover
end
camera_mover:
$camera_trigger waittill trigger
local.player = parm.other
drawhud 0 // clear the screen
//stop the players
//$player nodamage
//$player hide
//freezeplayer
//setup our camera
$watch_camera fov 80 2
$watch_camera speed (level.camera_speed)
$watch_camera follow $camera_path $camera_target
forcemusic aux3 aux3 // plays music listed in music/camera_test.mus
wait 1
//Cue the movie
cuecamera $watch_camera
wait 20
end
Help me Tommy
Moderator: Moderators
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
Ok I seamed to have worked it out, I looked at the get out of tank code in the tank battle maps and I noticed cuecamera in toms code and cueplayer in the get out of tank code. So I added cue player and now it works, though I havent checked it for errors or with more than one human player.
Thing is I want to start a bomber run at the same time, and what I have duznt seam to work.
camera_mover:
$camera_trigger waittill trigger
local.player = parm.other
thread global/bomber.scr::bomb 4
thread global/bomber.scr::bomb 5
drawhud 0 // clear the screen
//stop the players
//$player nodamage
//$player hide
//freezeplayer
//setup our camera
$watch_camera fov 80 2
$watch_camera speed (level.camera_speed)
$watch_camera follow $camera_path $camera_target
forcemusic aux3 aux3 // plays music listed in music/camera_test.mus
wait 1
//Cue the movie
cuecamera $watch_camera
wait 10
cueplayer
end
Thing is I want to start a bomber run at the same time, and what I have duznt seam to work.
camera_mover:
$camera_trigger waittill trigger
local.player = parm.other
thread global/bomber.scr::bomb 4
thread global/bomber.scr::bomb 5
drawhud 0 // clear the screen
//stop the players
//$player nodamage
//$player hide
//freezeplayer
//setup our camera
$watch_camera fov 80 2
$watch_camera speed (level.camera_speed)
$watch_camera follow $camera_path $camera_target
forcemusic aux3 aux3 // plays music listed in music/camera_test.mus
wait 1
//Cue the movie
cuecamera $watch_camera
wait 10
cueplayer
end
cut
$watch_camera cut
The above line will also stop the camera view. There are some interesting camera things in the TOW mission scripts of Spearhead. Someone said there is a manual for cameras in the Spearhead sdk, but I haven't found it yet.
The above line will also stop the camera view. There are some interesting camera things in the TOW mission scripts of Spearhead. Someone said there is a manual for cameras in the Spearhead sdk, but I haven't found it yet.
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
yes
Yes, the bombers will start ones second before the camera. I finally found the camera tutroial in the Spearhead docs. It was part of a general tutorial on scripting, so I extracted just the camera part. Here is the html page in a zip.
http://pages.sbcglobal.net/tltrude/Temp ... torial.zip
http://pages.sbcglobal.net/tltrude/Temp ... torial.zip


