Harkonin 0 Posted August 24, 2003 Any would be scripters out there that can help I'd appreciate it. Basically I need this drop effect here from Babylons script- drop ["cl_fire" , "" , "Billboard" , 120 , 9 , [_objPosX,_objPosY,(_objPosZ + 1.5)] , [1.5,1.5,0] , 1 , 0.185 , 0.155 , 0 , [0.05,0.25] ,[[0.3,0.6,0,1],[0.5,0.5,0,1],[0.75,0.75,0,1],[0.75,1,0,1]] , [0] , 0.5 , 0.5 , "" , "" , ""] but in this form here - ?(random _lifeTicks) < _lifeTick : drop ["cl_fire", "", "Billboard", 1, random 5, _posDrop, [(_velocity select 0) + random 1, (_velocity select 1) + random 1, (_velocity select 2) + random 1], 1, 0.005, 0.0042, 0.2, [random 0.05], [[1,1,1,1],[0,0,0,0]], [0,1,0], 0.5, 0.5, "", "", _object] can't seem to get it quite right. Share this post Link to post Share on other sites
dinger 1 Posted August 24, 2003 Well, it'd help to know what you were trying to do, and what isn't working. But when you bind drop to an object, the dropped particle is given the vector of the object. So the velocity segment : [(_velocity select 0) + random 1, (_velocity select 1) + random 1, (_velocity select 2) + random 1] is not an ofp velocity vector. It is a vector relative to the velocity of the bound object at the moment it is dropped, and if I'm not mistaken, it's m/s off the velocity vector of the bound object, in form: [+/- along the 3-d vector of the object (faster, slower), +/- perpendicular in the vertical plane to the 3d vector of the object (up/down), +/- perpendicular in the horizontal plane (left/right)] A few examples will help clarify my meaning: velocity vector = vector returned by the velocity object function. drop vector = velocity supplied in the drop function. if you bind a particle to an object with a velocity vector of [0, 200, 0] (heading due N at 0 elevation and 200 m/s), and give it a drop vector of [0,0,0], the bound particle will start with the same velocity vector as the object it is bound to. [0, 200,0] if you give that particle a drop vector of [10, 0, 0], you are telling it to go 10 m/s faster than the object it is bound to, resulting in a velocity vector of [0, 210,0]. If you give that particle a drop vector of [0, 10,0] you are telling it to go 10 m/s perpendicular in the vertical plane, resulting in a velocity vector of [0, 200, 10] Confusing enough? btw, you still making plenty of cool MP missions with addons? Share this post Link to post Share on other sites
Harkonin 0 Posted August 25, 2003 Now your right Dinger but that didn't quite help, sok I got it fixed anywho. Btw FNG tells me you got some sweet projects brewin. Share this post Link to post Share on other sites