cutscene
#1

yo, i was wodering is it possible to make a cutscene like in gta sa missions ? maybe with npc's ?
Reply
#2

Yes, add Animations and BOT's .
Reply
#3

Yes you can, you need NPC and textdraws, plus some math stuff, you have to use animations and other SA-MP functions to do so.
Like:
Код:
TogglePlayerControllable
SetPlayerCameraPos
SetPlayerCameraLookAt
TextDrawCreate
TextDrawShowForPlayer
Reply
#4

The new interpolated camera functions are great for cutscenes, and you can use these textdraws for a 'widescreen' effect:

pawn Код:
WIDESCREEN_TOP = TextDrawCreate(320.000000, 1.000000, "_");
    TextDrawAlignment(WIDESCREEN_TOP, 2);
    TextDrawBackgroundColor(WIDESCREEN_TOP, 255);
    TextDrawFont(WIDESCREEN_TOP, 1);
    TextDrawLetterSize(WIDESCREEN_TOP, 0.500000, 8.000000);
    TextDrawColor(WIDESCREEN_TOP, -1);
    TextDrawSetOutline(WIDESCREEN_TOP, 0);
    TextDrawSetProportional(WIDESCREEN_TOP, 1);
    TextDrawSetShadow(WIDESCREEN_TOP, 1);
    TextDrawUseBox(WIDESCREEN_TOP, 1);
    TextDrawBoxColor(WIDESCREEN_TOP, 255);
    TextDrawTextSize(WIDESCREEN_TOP, 0.000000, -660.000000);

    WIDESCREEN_BOTTOM = TextDrawCreate(320.000000, 381.000000, "_");
    TextDrawAlignment(WIDESCREEN_BOTTOM, 2);
    TextDrawBackgroundColor(WIDESCREEN_BOTTOM, 255);
    TextDrawFont(WIDESCREEN_BOTTOM, 1);
    TextDrawLetterSize(WIDESCREEN_BOTTOM, 0.500000, 8.000000);
    TextDrawColor(WIDESCREEN_BOTTOM, -1);
    TextDrawSetOutline(WIDESCREEN_BOTTOM, 0);
    TextDrawSetProportional(WIDESCREEN_BOTTOM, 1);
    TextDrawSetShadow(WIDESCREEN_BOTTOM, 1);
    TextDrawUseBox(WIDESCREEN_BOTTOM, 1);
    TextDrawBoxColor(WIDESCREEN_BOTTOM, 255);
    TextDrawTextSize(WIDESCREEN_BOTTOM, 0.000000, -660.000000);
Reply
#5

And yeah there's this thing also you might like it[FS] Letterbox Mode
Reply
#6

Should be an include, not a filterscript. Where is the practicality in a filtescript..? You need to use the functions in your gamemode.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)