Jump to content
Sign in to follow this  
HiJacker

New island version 2

Recommended Posts

Here's the hunterkiller script...by

;made by Baron Hurlothrumbo IIX

; if you want to have an AI unit (tank, infantry, whatever) hunt down

;and kill whoever set off a trigger, then set up the trigger so that the

;unit you want hunted will set it off. Then in the on activation line put

;the line below, using <thislist select 0> for the unit to be hunted down.

;syntax

;[<name of unit to hunt down other unit>, <name of unit to be hunted down>] exec "hunterkiller.sqs"

;example

; [aTank, thislist select 0] exec "hunterkiller.sqs"

_Killer =_this select 0

_KG = group _killer

_hunted = _this select 1

_KG SetCombatmode "RED"

_KG SetBehaviour "COMBAT"

_KG SetSpeedMode "FULL"

#loop

"_x domove (getpos _hunted)" foreach units _kg

"_x doTarget _hunted" foreach units _KG

~60

;waits 60 seconds before updating- change time if you want but bear

;in mind if it updates too fast AI will be swamped with move commands

?alive _hunted: goto "loop"

;checks if the target is alive, if so goes looking for him, if not exits script.

exit

smile_o.gif

Share this post


Link to post
Share on other sites

That's a good script, but it doesn't answer the question of how to combine it with a respawn script. I'm not talking about multi-player respawning but about single player AI respawning in order to use a minimum # of units that simply respawn when they die.

One such spawning script that came out is called "PatrolSpawnManager" and can be downloaded at:

http://www.ofpec.com/editors/list.php?show=latest

If someone can figure out how to combine the hunter script with the PatrolSpawnManger script then that would kick ass!!!

Again if you do please post a link to it here and send a demo misson demonstrating it to the maker of this map.

Chris G.

aka-Miles Teg<GD>

Share this post


Link to post
Share on other sites

That's the one. smile_o.gif

Create your units, feed 'em with that script, and if you wnt to be really clever, a third script to remove the "survivors" if their quarry goes out of range.

Share this post


Link to post
Share on other sites

That's easier said then done. Again if you can merge these two scripts, then I'd be more then grateful because I can't figure out how to do it.

Chris G.

aka-Miles Teg<GD>

Share this post


Link to post
Share on other sites

Actually the city area is amazing...I think it would make a great adversarial map area too, for some street to street fighting...

Share this post


Link to post
Share on other sites
That's easier said then done.  Again if you can merge these two scripts, then I'd be more then grateful because I can't figure out how to do it.

Chris G.

aka-Miles Teg<GD>

Ok, done that.

Now what?

Share this post


Link to post
Share on other sites
That's easier said then done.  Again if you can merge these two scripts, then I'd be more then grateful because I can't figure out how to do it.

Chris G.

aka-Miles Teg<GD>

Ok, done that.

Now what?

Really???  Kick ass!!!!  That's awesome!  It would be great if you could post a demo mission using your modified scripts somewhere.  OFP editing center I'm sure would host it.  Just let them know which two scripts you use and give proper credit to those original script writers.   Your modification and a sample demo mission (using original BIS soldiers) I think would be extremely helpful to many mission makers.  

Also you might want to send it to the individual who made this Somalia map so he can include it in a demo mission for his map next time he releases the final version.

That's great news and your work is much appreciated!

I can't wait to try it out!

This comes at a perfect time just as the BAS MH-60 pavehawks are close to being released.   smile_o.gif

Chris G.

aka-Miles Teg<GD>

Share this post


Link to post
Share on other sites

Im very intrested in the english country side this guys doing! But i dont live in england,I live in wales (Its a lil country stuck on the side of england,and is part of britian) And the Welsh country side is very nice! Lots of sheep and hills,vallys,forests,villages,rivers,ect.. Allso it be cool if he did some citys in britian (Like London,manchester,Cardiff,Leeds,ect)

that would be very cool,And even better if some one made some british troops and tanks.Its strang that british forces havent been included much in OFP.Even portical (spelling?) has its own units in OFP.

Share this post


Link to post
Share on other sites
That's easier said then done.  Again if you can merge these two scripts, then I'd be more then grateful because I can't figure out how to do it.

Chris G.

aka-Miles Teg<GD>

Ok, done that.

Now what?

Really???  Kick ass!!!!  That's awesome!  It would be great if you could post a demo mission using your modified scripts somewhere.  OFP editing center I'm sure would host it.  Just let them know which two scripts you use and give proper credit to those original script writers.   Your modification and a sample demo mission (using original BIS soldiers) I think would be extremely helpful to many mission makers.  

Also you might want to send it to the individual who made this Somalia map so he can include it in a demo mission for his map next time he releases the final version.

That's great news and your work is much appreciated!

I can't wait to try it out!

This comes at a perfect time just as the BAS MH-60 pavehawks are close to being released.   smile_o.gif

Chris G.

aka-Miles Teg<GD>

Miles dude, I've just come off a week of night shifts, into a weekend which will encompass the birthdays of my wife and my two daughters.

PM me with an email addy, and I'll send along wot I did and you can expand on it.

If you DL'd the relevant scripts, you should be able to pick up the trail straight away.

smile_o.gif

Share this post


Link to post
Share on other sites

Ah ok. PM'ing now. Hope you have a great weekend!

Chris G.

aka-Miles Teg<GD>

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×