Results 1 to 2 of 2

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Jun:2005
    Location: USA
    Posts: 327

    - , , . - , - - - - Windows Media Player.
    , zlatko_todorov@hotmail.com .

    .

  2. #2
    Registered User vegasis's Avatar
    Join Date: Jun:2005
    Location:
    Posts: 1,156
    , , 3 ? 10 .

    function play_video ()
    { if (movie_frame == 0)
    { play_moviefile "your_video.avi"; }
    else { stop_movie; } }

    function impact_dynamics
    { my.enable_impact = on;
    my.event = play_video(); waitt(3);}


    , (swf) , , :

    // this
    fixed DistAhead(long my)
    {
    if (!this) return 0;

    //
    model *ent = (model *)this;

    //
    fixed *tracemode = (fixed *)dll_getwdlobj("trace_mode");
    wdlfunc2 vecrotate = (wdlfunc2)dll_getwdlfunc("vec_rotate");
    wdlfunc2 trace = (wdlfunc2)dll_getwdlfunc("trace");

    if (!tracemode || !trace || !vecrotate) return 0;
    fixed target[3] = { FLOAT2FIX(1000.0),0,0 }; //

    //
    (*vecrotate)((long)target,(long)&(ent->pan));

    //
    target[0] += ent->x;
    target[1] += ent->y;
    target[2] += ent->z;

    //

    *tracemode = INT2FIX(TRM_IGNORE_ME + TRM_IGNORE_PASSABLE + TRM_USE_BOX);
    return (*trace)((long)&(ent->x),(long)target);
    }

    . SDK- , ( - NGD setup, - ), DLL ( - )) . AUM (http://aum.conitec.net/) , .

    .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |