Home   Help Search Login Register  

Author Topic: Seek and destory  (Read 870 times)

0 Members and 1 Guest are viewing this topic.

Leapingninja

  • Guest
Seek and destory
« on: 01 Dec 2004, 15:41:31 »
Hi all. How do you get a group to seek and destory without a waypoint? I'm trying to make a level where you have to do hit and run attacks on a big convoy, but i want the troops to get out of the apc's and fan out and hunt you down. What is the best way to do this with out waypoints?   Thanks

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Seek and destory
« Reply #1 on: 01 Dec 2004, 16:00:48 »
 :) hey m8.

ya should probably leave the DRIVER of a truck isolated from the group in cargo.
Then ya could run a looped scroll that was checking for the behaviour of the driver.

som'n like:

#loop
?(behaviour bob =="combat" || behaviour bob =="Stealth" || !alive bob || !(canMove BobsTruck)): goto "action"
~1
goto "loop"

#action
"_x leaveVehicle BobsTruck" foreach GrpName

(then you can insert any other fancy stuff here) :-* ;)


=============

this would kick the morons outta the truck and if attacked, their AI-abilities SHOULD in theory be
enough to make 'em hunt ye down or at least try & hit yer sorry little pink butt :-X ;D j/k

Leapingninja

  • Guest
Re:Seek and destory
« Reply #2 on: 01 Dec 2004, 16:19:48 »
Thats a bit to heavy scripting for me, i'm a noob to scripting! isnt there an easy way of doing it? like grp1 seek and destory if attacked? or something like that! HELP!!!!!!!

CptBravo

  • Guest
Re:Seek and destory
« Reply #3 on: 01 Dec 2004, 16:37:19 »
A couple of other options:
1) You can use Keycats excellent AI tamplates where AI will hunt you down .. aggressively!
2) use some of the simple tracking hunting scripts in Editors Depot to get enemy to hunt you down.

Leapingninja

  • Guest
Re:Seek and destory
« Reply #4 on: 01 Dec 2004, 17:17:25 »
How do i find them? And what do i look for?

CptBravo

  • Guest
Re:Seek and destory
« Reply #5 on: 02 Dec 2004, 02:51:32 »
Here is the link:

http://www.ofpec.com/editors/browse.php?browsewhat=2&category=2_6

Look for :
Group Link II by Keycat
and
Hunted by Skumball.


Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Seek and destory
« Reply #6 on: 02 Dec 2004, 15:18:23 »
You can use triggers instead of waypoints for the convoy, and then use a S&D waypoint that is synchronized with your detected trigger/whatever. I did this in my platoon commander mission, in the missions depot.

For each of your groups, make a small trigger (radius 15 or so) at each of their "waypoints". Name it something like g1w1 (for "group 1 waypoint 1") and so on. Group it to it's group, so only that group can activate it. In it's activation field, write:

{_x move getpos g1w2} foreach thislist

Where "g1w2" is their second "waypoint" trigger. Repeat as needed, for all the groups. Then give the group two waypoints; one on himself, synched to your detection trigger. The next is a S&D waypoint with a radius covering the mission area.

NEway, I'm sure that isn't the best way to do it, but that is how I solved this problem a long time ago. Only problem is you need to know approximately where your ambush is going to occur.

One of these days I'm going to get around to writing a convoy script suite that makes stuff like this easy to do.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Leapingninja

  • Guest
Re:Seek and destory
« Reply #7 on: 02 Dec 2004, 15:20:20 »
Thank you very much.  One last thing, where do you put the files? (i'm a 100% noob)

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Seek and destory
« Reply #8 on: 02 Dec 2004, 15:22:41 »
Scripts are handy little things, so don't be afraid to do just a wee bit of reading for that answer (it will help you out later):

http://www.ofpec.com/editors/resource_view.php?id=13
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Leapingninja

  • Guest
Re:Seek and destory
« Reply #9 on: 02 Dec 2004, 15:41:04 »
I cant find where its says to put the files, do i put them in the Addons folder? HELP MEEEEEEEE

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Seek and destory
« Reply #10 on: 02 Dec 2004, 18:33:27 »
Quote
So what do 'scripts' look like and where do they go?

When you save your mission in the editor, the contents of your mission are saved in a folder under your user name. For example, if you have Flashpoint installed to 'C:\Games\OpFlash', and your username (displayed at the top left of the main menu screen in the game) was 'snYpir', your custom-made missions would be saved in:

C:\Games\OpFlash\Users\snYpir\missions

When you save a mission it will be put in it's own sub-folder at the path specified above. It is in these mission sub-folders that you will be placing the script files that you download from this section.

They go in your mission folder.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Leapingninja

  • Guest
Re:Seek and destory
« Reply #11 on: 02 Dec 2004, 19:23:24 »
The Group Link II by Keycat says that i need to update my mission editor for it to work, where do i go for the update?

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Seek and destory
« Reply #12 on: 02 Dec 2004, 21:36:01 »
The Group Link II by Keycat says that i need to update my mission editor for it to work, where do i go for the update?

Do you mean you don't have OFP Resistance? If not, go out and buy it right now! If you do have it, check flashpoint1985.com for the latest patch. You should be at v1.96 or higher.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!