exigent 0 Posted August 13, 2005 I'm working on a mission on the new Ocean Island with Bambi's new Blackops. I have several of them guarding a convoy of 3 vehicles (a Benz in the middle with a ford expedtions in the front and back). They are Blackwater Securty Personal guarding a politcal leader (he is in the middle car, the Benz). One of the car's got a flat tire and is getting fixed, then the terrisits ambush the convoy (which can't move). Now my questions: 1. They keep moving around, how can i prevent this? Currently there behaviour is set to Safe, i want them to just stay where they are, but they keep moving around. How can i prevent this? 2. When the enemies attack, these guys go after them and start scattering. I'm pretty sure this is involved with the "engage at will" command. I want them to take cover on behind the convoy. And not move anywhere else. How can i do this? Can i make a trigger which prevents them from leaving it after they find themselves under fire? 3. DONE 4. DONE 5. DONE I know there long questions, but help would be greatly appreciated . Share this post Link to post Share on other sites
Fork122 0 Posted August 13, 2005 Quote[/b] ]1. They keep moving around, how can i prevent this? Currently there behaviour is set to Safe, i want them to just stay where they are, but they keep moving around. How can i prevent this? I'm not sure if your talking about the men or the vehicles.  If it's the vehicles then if you remove all the fuel from them they shouldn't move around.( I'm not 100% sure, I once had a mission where a Shilka with no fuel drove around... ) So just for reference the lead vehicle could be called Ford1, followed by Ben, and then Ford2 bringing on the rear.  You have 2 options: Option 1: To start the mission with the cars just sitting there in the init field of the 3 vehicles just put: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setfuel 0 Option 2: Now if you want the cars driving to certain point and then the "tire going flat" you'll need a trigger where you want the cars to stop.  In the "On Activation" field of that trigger it should read: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Ford1 setfuel 0; Ben setfuel 0; Ford2 setfuel 0; I think that should work...  My computer got hit by lightning and my Nvidia GeForce 5200 blew up.  I haven't been able to play OFP for a few months now, and I'm starting to forget stuff  Edit: You have a pretty complex mission going on Share this post Link to post Share on other sites
exigent 0 Posted August 13, 2005 Nope, the convoy already starts off stopped (with the security outside guarding it and the leader in the middle car the Benz. The soldiers keep moving around, no one is in the cars. A pc getting hit by lighting, then your video card blowing up. Wow, that must really suck. I never knew that could happen, hope everything goes well, thanks anyway. Lol complex? I am so new to mission making it ani't even a joke, this stuff is confusing . Share this post Link to post Share on other sites
Fork122 0 Posted August 13, 2005 Ah okay, there is a command to make a unit not move, but I think once you make them stop using that command they can't move for the rest of the mission. I think it's: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this disableAI "move"; There's a nice script to make AI not move and stand, crouch, or lie behind cover by General Barron.  It's very handy for getting AI to use sandbags or windows as cover, or in your case they could crouch behind the cars. Simple Cover Script (Look 5 up from the bottom) IIRC the script makes it so the unit won't move for the rest of the mission though. Edit: Quote[/b] ]Lol complex? I am so new to mission making it ani't even a joke, this stuff is confusing  . If you haven't already check, out the Operation Flashpoint Editing Center (OFPEC) Also the Official Command Reference Guide is really useful when your starting out and when your just trying to remember stuff.  Download it Here (42 KB) (It's the first link at the top of the page "comref_102002.zip") or View the online version Here (It doesn't work with some browsers [Like FireFox], but Internet Explorer works fine) Share this post Link to post Share on other sites
jankyballs 0 Posted August 13, 2005 5. How can i have the enemy stay standing up and sometimes go crouched? So it is kinda of a mix? Im not very good at mission editing but I can help you out with this one. This is kind of annoying because you have to go into each enemies init line. But in the end the effect will look very cool. To make a unit stand up always, put this in the init line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setbehavior "combat;this setunitpos "UP" To make a unit stay crouched always, put this in the init line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setbehavior "combat;this setunitpos "UP";this switchmove "crouch" Basicly your adding the extra part to the standing up thing to crouch. Hope this helps you, and btw your missions sounds very cool, will it be released to the public? Share this post Link to post Share on other sites
exigent 0 Posted August 13, 2005 General Boom's script works, they stay crouched the whole time but it's kinda weird: They stay crouched infront of the vehicles, when they take enemy fire they stay there to. I want them to move behind the vehicles, go crouched then fire. Also i want them to do this once they see the enemy, is there a trigger that can do this? ***EDIT at jankyballs*** Hummmmmmm i'm gonna have to try those lines soon, maybe in about a hour or two, right now i'm gonna go watch tv. Quote[/b] ]To make a unit stay crouched always, put this in the init line:Code Sample this setbehavior "combat;this setunitpos "UP";this switchmove "crouch" Will this make them stay crouched only, or crouched and sometimes stand up? Also i don't know if i'm gonna release this to the public lol, i might but it's so simple. I mean but if you guys want it i guess i will. But it will take me maybe 3 weeks or less lol. Share this post Link to post Share on other sites
jankyballs 0 Posted August 13, 2005 Quote[/b] ]To make a unit stay crouched always, put this in the init line:Code Sample  this setbehavior "combat;this setunitpos "UP";this switchmove "crouch" Will this make them stay crouched only, or crouched and sometimes stand up? When the units are stopped they will crouch, but they will stand up when they run and walk. Share this post Link to post Share on other sites
exigent 0 Posted August 13, 2005 It says something like "unknown command UP", or something like that. Basically it's saying UP is not a command or w/e? I'm still have a problem with the Blackops, they keep moving like 200 meters away and die! How about a trigger that doesn't allow them to leave the trigger area? Share this post Link to post Share on other sites
jankyballs 0 Posted August 14, 2005 Sorry, I medded up on some words. I tested this and it seemed to of worked. For crouch: this setbehaviour "combat";this setunitpos "UP";this switchmove "crouch" For stand: this setbehaviour "combat";this setunitpos "UP" That should work. Share this post Link to post Share on other sites
exigent 0 Posted August 14, 2005 Yep it worked, i put it in for the enemy who is attacking. If you or anyone else can still help me on the other questions, it would be greatly thankful . Also i just discovered this problem. I'm one of the blackops, and it won't let me inside any vehicle? If i'm the leader it lets me inside it, i can only open the doors, hood, and truck if i'm not a leader. Can anyone help on this too? Share this post Link to post Share on other sites
exigent 0 Posted August 15, 2005 OMG! I got it to work (talking about car2 driving off)!!! I'm so happy lol ;D. But still more problems :P. The "GET IN" waypoint works, when the time is reached/finished they get in right away. Even if i'm like 100 yards away, they just are in the vehicle? How can i get them to walk there then enter the vehicle? CHEACK FIRST POST IF YOU STILL WANT TO HELP, MUCH MORE HELP NEEDED. Share this post Link to post Share on other sites
exigent 0 Posted August 17, 2005 Here is a little refreashment so everyone is up-to-date one when i need help with: 1. Having the blackops go crouch not prone. 2. Have them move to the exact location i want them to move (this being behind the vehicles). 3. Prevent the blackops from being ignorant and go right up to the enemy, i want them to stay put (not using the DisableAI Move), but move around a little bit to avoid enemy fire. Share this post Link to post Share on other sites