Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Max Qubit's Dead Rising

  1. #21
    Because i have absolutely nothing better to do at work, i'm thinking of picking up this mission where i left it 2 years ago. Yesterday i started up OFP on PC and looked for my old mission. Still there and weird as ever. I looked at my scripting but oh boy, i had trouble even understanding my own code (as i've not touched the OFP/ArmA editor since nearly 2 years now)

    Errrmmmm???

    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">; _z = zombie
    ; _f = factor &#40;%&#41; that zombie will rise again after being killed
    ; _rc = centerobject were zombie will respawn after going to heaven
    ; _rr = radius of respawn

    _z = _this select 0
    _f = _this select 1
    _rc = _this select 2
    _rr = _this select 3

    #keepalive
    @&#40;&#33;alive _z&#41;
    ~2
    _z setdammage 0.999999
    _z switchmove &#34;Lying&#34;
    ?&#40;random 100 &#60;= _f&#41; &#58; goto &#34;keepalive&#34;

    ;_z playmove &#34;DeadState&#34;

    ;goes to heaven
    _zp = getpos _z
    _zx = _zp select 0
    _zy = _zp select 1
    _zz = _zp select 2

    _dz = 0
    _heaven = 50 + random 200
    #toheaven
    _zz = _zz + _dz
    _z setpos &#91;_zx, _zy, _zz&#93;
    _dz = _dz + 0.0001
    ~0.01
    ?&#40;_zz &#60; _heaven&#41; &#58; goto &#34;toheaven&#34;
    ?&#40;alive _z&#41; &#58; goto &#34;keepalive&#34;

    ;stay in heaven
    #heaven
    ~0.01
    _z setpos &#91;_zx, _zy, _zz&#93;
    goto &#34;heaven&#34;

    ;respawn around _rc
    ;_ra = random 360
    ;_rp = getpos _rc
    ;_rx = _rp select 0
    ;_ry = _rp select 1
    ;_rx = _rx + &#40;&#40;_rr + &#40;random _rr&#41;&#41; * &#40;cos _ra&#41;&#41;
    ;_ry = _ry + &#40;&#40;_rr + &#40;random _rr&#41;&#41; * &#40;sin _ra&#41;&#41;
    ;_rz = 0
    ;_z setpos &#91;_rx, _ry, _rz&#93;
    ;goto &#34;keepalive&#34;

    exit[/QUOTE]

    What i probably WILL do is making a video out of it. I only have to run the mission, capture it and mix it into a trailer kind of video, just to preserve the main idea (without need to actually finish this mission). I would like to run it on XBOX, because the lightning effects in Elite are mucho better.

    Anyway, as said, i&#39;ve nothing better to do, currently doing some other YT stuff and thought about at least making a weird video of my unfinished mission.

    (Who knows, with ArmA2, my mission making will be rivived ... btw, i tried to recreate this mission in ArmA on pc but somehow it didn&#39;t look that good)

    Saluting you all from the twilight zone,
    Max



    New music clip Max Qubit - Stars | OFP:Elite's Battle at Le Port 60.000+ views, 9/10 rating (mission editor) | Soundclick

  2. #22

Page 3 of 3 FirstFirst 123

Posting Permissions

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