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 (%) 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
@(!alive _z)
~2
_z setdammage 0.999999
_z switchmove "Lying"
?(random 100 <= _f) : goto "keepalive"
;_z playmove "DeadState"
;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 [_zx, _zy, _zz]
_dz = _dz + 0.0001
~0.01
?(_zz < _heaven) : goto "toheaven"
?(alive _z) : goto "keepalive"
;stay in heaven
#heaven
~0.01
_z setpos [_zx, _zy, _zz]
goto "heaven"
;respawn around _rc
;_ra = random 360
;_rp = getpos _rc
;_rx = _rp select 0
;_ry = _rp select 1
;_rx = _rx + ((_rr + (random _rr)) * (cos _ra))
;_ry = _ry + ((_rr + (random _rr)) * (sin _ra))
;_rz = 0
;_z setpos [_rx, _ry, _rz]
;goto "keepalive"
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'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't look that good)
Saluting you all from the twilight zone,
Max
HOME 
Reply With Quote