pulseox 0 Posted May 9, 2002 I've spent the entire afternoon trying to get landmines to explode when an enemy patrol walks on them. Yes I know the regular mines are only for vehicles-but why is there a APmine in the editor if it won't work? I've set it up like it says in all the tips-even used the floating mine thing-named it-set triggers-it NEVER goes off! Is there NO way to make it work with the editor-without typing 2 pages of script? Oh yeah, then theres the "script snippet" things-you download them and it's always a bunch of files with NO instructions on what to do to make them work! Then you download a "great tutorial" and its filled with helpful hints like "The trigger makes things trigger-why dont you play with that" or Synchrozize times things-try it." So failing to get the mines to work-I loaded up some satchel charges in an ammo box-but when I take them and crawl to the enemy vehicle-the action box doesnt give me the option to plant them!! Why?? Do I sound frustrated?? I think I'll go buy "Swat3!" Share this post Link to post Share on other sites
arkadeyevich 0 Posted May 9, 2002 Do you want cheese with that whine? Seriously, Paste this into a file named blowpath.sqs ; ///////from here: ;By Arkadeyevich ; ;Based on blowup script by MP - markpalmer@hotmail.com ;[objectname,#explotions,delay,"ammotype",distance,spread] exec "blowpath.sqs" ; ;example [gamelogic1,10,0.01,"Heat120",20,2] exec "blowpath.sqs" ; ;will make a path of 10 explosions starting at gamelogic1 ;with 0.01 seconds and max 20 meters between each, in the direction of gamelogic1 with ;a spread of max 2 meters _Unit = _this select 0 _excount = _this select 1 _delay = _this select 2 _AmmoType = _this select 3 _length = _this select 4 _with = _this select 5 _Explosion = GetPos _Unit _Udir = getdir _Unit _cx = _Explosion select 0 _cy = _Explosion select 1 _cz = _Explosion select 2 _i = 0 #exstart _randomLength = random _length _rtmp = (random 1 - 0.5) *2 _randomWith = _with*_rtmp _cx = _cx + (_randomLength*sin _Udir) _cy = _cy + (_randomLength*cos _Udir) _cx2 = _cx + (_randomWith*sin (_Udir+90)) _cy2 = _cy + (_randomWith*cos (_Udir+90)) _tempObj = _AmmoType camCreate[_cx2, _cy2] ~_delay _i = _i+1 ? _i < _excount : goto "exstart" #end ~0.01 _tempobj = objNull exit ; //////to here. This is how to use it: [object,number of explosion,delay between each,"ammotype",distance between each,spread] exec "blowpath.sqs" put [g1,10,0.1,"shell120",20,10] exec "blowpath.sqs" into the activation field of a trigger. Put the gamelogic g1 where you want the explosion to start in the direction you want it to go. Use [g1,1,0,"shell120",0,0] exec "blowpath.sqs" to make a single explosion at g1. Example mission here: Share this post Link to post Share on other sites
InqWiper 0 Posted May 9, 2002 I think this is what you did wrong when U couldnt plant satchels: Instead of this addmagazinecargo ["Pipebomb",5] you did this this addweaponcargo ["Pipebomb",5] When I want AP mines I just make them with triggers. Just make the trigger 1x1 and activated once by anyone. In the name field U have to have a name. In the on activation field you type: Boom="HEAT105" camcreate [getpos TriggerName select 0, getpos TriggerName select 1] HEAT105 will create a sabot105 wich wount take out too many guys at once. I tried with camcreating grenades but it took out the whole group so that looked pretty stupid. Sabot is good since the blast radious isnt that big, U only take out several guys if they are unusually close. Share this post Link to post Share on other sites
pulseox 0 Posted May 10, 2002 Thank you both for the helpful comebacks. If someone would write "A guide to the OPF MISSION EDITOR for dummies," and write it so it would be really helpful-I think they'd make a lotta $$$$$! Share this post Link to post Share on other sites
InqWiper 0 Posted May 10, 2002 There is a tutorial in the OFP readme. I think it was good to start with. Share this post Link to post Share on other sites
jawk2 1 Posted May 10, 2002 such guide exist and is free I just mind why we would have to pay for a guide that come along with a game... u already paid the game and the prog.... with the game u got the manual, then u must have the manual of all prog inside the CD u paid. But i was really amaze by the job done.... maybe the best and the most complete guide actually existing: Blackthorn and all the team guys scripter/translator and so on i m very proud that u play/code for OPF.... OPF community must aggree on your job *no i m not a friend of theese guys, and no i dont expect my future scripts to be published inside and yes i only express my feeling for this 300page work, and yes i aggree that Gameshit is a bad choice for deliver your job* See ya Share this post Link to post Share on other sites
DestroyerX 0 Posted May 10, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Do I sound frustrated?? I think I'll go buy "Swat3!" <span id='postcolor'> What's wrong with Swat3? SWAT3 RULES!!! YA HEAR ME?!!!! Share this post Link to post Share on other sites