Jason_Ryock
Vice Admiral
Obviously the next step in my quest for knowledge, the ever important briefings.
Presently, rather then attempt to create my own .srs file (I'm not even sure which program to use to do this) and my own CDLayout filed (I have a problem with that one I'll address later)...
...I am over writing misison a1.mis, the first mission in the campaign, with my own edited mission to test it's briefing and the use of Objectives (also to experiment with the MS_GenericLaunch; function, in which the hanger looks upside down to me).
Anyway, in an attempt to reverse engineer some code, I started with:
function B_Player;
begin
BRIEF_CAM_SetActive(1); //Activate Camera
BRIEF_CAM_SetPos(0, 600, 0); //Camera location
BRIEF_CAM_TrackObj(Player); //Camera follow player
BRIEF_SetAppearance(1); //Ship ID
BRIEF_FaceObject(Nav1); //Face the firs nav
BRIEF_Activate; // player activates himself
BRIEF_WaitSeconds(1);
BRIEF_Exit;
end;
Obviously my M_Player Fuction has the line brief: B_Player;
Also obvious to anyone with some knowledge, this mission briefing code doesn't work. It responds with the command: "CMission::update - Unknown command! 0"
So...a little help? Haven't seen a briefing tutorial yet.
Presently, rather then attempt to create my own .srs file (I'm not even sure which program to use to do this) and my own CDLayout filed (I have a problem with that one I'll address later)...
...I am over writing misison a1.mis, the first mission in the campaign, with my own edited mission to test it's briefing and the use of Objectives (also to experiment with the MS_GenericLaunch; function, in which the hanger looks upside down to me).
Anyway, in an attempt to reverse engineer some code, I started with:
function B_Player;
begin
BRIEF_CAM_SetActive(1); //Activate Camera
BRIEF_CAM_SetPos(0, 600, 0); //Camera location
BRIEF_CAM_TrackObj(Player); //Camera follow player
BRIEF_SetAppearance(1); //Ship ID
BRIEF_FaceObject(Nav1); //Face the firs nav
BRIEF_Activate; // player activates himself
BRIEF_WaitSeconds(1);
BRIEF_Exit;
end;
Obviously my M_Player Fuction has the line brief: B_Player;
Also obvious to anyone with some knowledge, this mission briefing code doesn't work. It responds with the command: "CMission::update - Unknown command! 0"
So...a little help? Haven't seen a briefing tutorial yet.