For the pitch control, you'll want to use
MOUSEMOVEX/Y/Z in conjunction with
PITCH OBJECT UP/DOWN,
TURN OBJECT and/or
ROLL OBJECT
For camera placement centered behind your object try using
SET CAMERA TO FOLLOW or something manual like:
ShipX#=object position x(ship)
ShipY#=object position y(ship)
ShipZ#=object position z(ship)
POSITION CAMERA ShipX#,ShipY#,ShipZ#
SET CAMERA TO OBJECT ORIENTATION ship
MOVE CAMERA -n
`(optional)
POSITION CAMERA camera position x(),camera position y()+n,camera position z()
POINT CAMERA ShipX#,ShipY#,ShipZ#