cobra@pulse 0 Posted August 21, 2003 Hi, As you know, Pulse Studios has just reliesed a James Bond mission, now we want to make a follow up to this. In the mission Bond gets in a car and is chased by some men in another car. Now I want the car to be able to keep up with Mr. Bond, so it is a chase, but it either lags behind or I would have to group it but that would make it west. Is there anyone who can solve this, please help. Credit will be given. P.S. Is there a car addon that has a guy that will shot from the car that is a civilian car not a HMMWV or whatever. thanks. (sorry if this is really confusing) Share this post Link to post Share on other sites
D.murphy man 0 Posted August 21, 2003 Well you could make a loop script witch tells the "Chasing car" to move to the car beging chased. Im thinking somthing like that should work: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _Car1=_this select 0 _car2=_this select 1 #Loop _car2 domove (getpos _car1) ~1 goto "loop" And to ativate it,put in activation field of a trigger or init line of a car:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[Name1,Name2] exec "NameSQS.sqs" Name1 should be the name of the car that is being chased Name2 should be the name of the car chasing NameSQS should be what ever you called the chasing sqs i just wrote for you. Cheers, Murphy. Share this post Link to post Share on other sites
RED 0 Posted August 21, 2003 If the car is still lagging behind you could try using setvelocity on it to speed it up. RED Share this post Link to post Share on other sites
cobra@pulse 0 Posted August 21, 2003 Thanks RED & D.murphy man, By the way do either of you know where to get that addon i asked about above? Thanks again. Share this post Link to post Share on other sites
Y2JON 0 Posted August 22, 2003 I didn't know we were releasing another Bond mission. Me and Winters are still trying to fix up the original. Share this post Link to post Share on other sites
iNeo 0 Posted August 22, 2003 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">car2 doFollow car1 ? Share this post Link to post Share on other sites
D.murphy man 0 Posted August 22, 2003 Thanks RED & D.murphy man,By the way do either of you know where to get that addon i asked about above? Thanks again. No i do not think there is any addon like that out there.All tohugh it would be a good idea for you addon makers out there (hint,hint ) I remember seeing a german WW2 motobike with a side car that had a machinegun attached to it.Maybe you could use that? Ill try find a link and get back to you. Edit: Ok i found it BMW R75 (4th one down the list) Allso on that page a discoverd a Car with a passenger mounted machine gun.Its called Mercedes 240 GD (second one from the bottom) Hope this helps,any thing els just ask! Share this post Link to post Share on other sites
lonesoldier 0 Posted August 23, 2003 Would it be possible to camcreate bullets near the players car? And just have MG sounds play aswell. That way you get the effect that someone is shooting at you. It's not like you will look behind you to check if they REALLY are shooting(not possible) Share this post Link to post Share on other sites
D.murphy man 0 Posted August 23, 2003 Good idea but it be a lot of hassle just for that,Might as well just make the bike/car fire at you. I allso have a handy script i found at OFPED center for the AI to spray there shots a bit more and thus making them less accurate.Since in ever James bond movie iv seen the "baddies" cant aim for shit Here it is: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">activated by this in INIT: of unit unit addeventhandler ["fired", {_this exec "spray.sqs"}] ;spray script Code: _man = _this select 0 _count = 0 _start1 = "start1" _start2 = "start2" _start1_and_start2_array = [_start1, _start2] _random = random (count _start1_and_start2_array) _random = _random - _random % 1 _randomstart = _start1_and_start2_array select _random _man removealleventhandlers "fired" _mandir = getdir _man goto _randomstart #start1 _man setdir _mandir _mandir = _mandir + 0.06 _count = _count + 1 ? _count > 50: goto "end" ~0.01 goto "start1" #start2 _man setdir _mandir _mandir = _mandir - 0.06 _count = _count + 1 ? _count > 50: goto "end" ~0.01 goto "start2" #end _man addeventhandler ["fired", {[_this select 0] exec "spray.sqs"}] exit Script created by Zayfod,all credit goes to him. Script was quoted from the OFPEC forums. Share this post Link to post Share on other sites
Winters 1 Posted August 23, 2003 If the Bond Baddies could aim we wouldnt have 20 movies to watch Hey wait a sec. we are making a new bond mission??? Death and Defiance hasn't been finished yet. wOw i guess we are some hard working mo-fo's Share this post Link to post Share on other sites