Home   Help Search Login Register  

Author Topic: Arresting Someone  (Read 1846 times)

0 Members and 1 Guest are viewing this topic.

Yippyfn

  • Guest
Arresting Someone
« on: 10 Feb 2004, 01:42:22 »
Can anyone recommend a good way to arrest someone in OFP? I'm trying to make a mission that involves detaining someone.

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Arresting Someone
« Reply #1 on: 10 Feb 2004, 04:33:35 »
I made a Nam mission which uses some quite nice scripts to arrest someone: It is in the Beta area.

http://www.ofpec.com/yabbse/index.php?board=23;action=display;threadid=12441

If you want to have those scripts i can share with you.

Greetings
Kuro

gundernak

  • Guest
Re:Arresting Someone
« Reply #2 on: 10 Feb 2004, 11:48:48 »
the base of it:

Commands for arrest 'dude'

dude setCaptive true
removeAllWeapons dude
[dude] join yourgroupname

You have to create conditions, in what kind of situation you want to arrest him...

Yippyfn

  • Guest
Re:Arresting Someone
« Reply #3 on: 10 Feb 2004, 13:30:45 »
Do I need to have the SEB Nam pack to use your scripts,  Kuro?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Arresting Someone
« Reply #4 on: 10 Feb 2004, 21:45:57 »
Scripts never need addons, except when they create something. You only need SEB NP 2 for playing the mission.

:beat: *Gets Shot* :beat:

Yippyfn

  • Guest
Re:Arresting Someone
« Reply #5 on: 10 Feb 2004, 22:31:41 »
Ok then, could you tell me how to use it? It sounds great.

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Arresting Someone
« Reply #6 on: 11 Feb 2004, 04:06:44 »
Hello,

sorry the scripts are not optimized yet. Therefore it is a little bit inconvient to use them, but it is possible.

First:
add to your INIT.SYS the Lines:

VICTIMS = [Gangster1,Gangser2]
PRISONERS = []

VICTIMS should contain the names of all people which can be arrested. PRISONERS will contain the names of all people you have arrested (of course empty at the beginning). Gangster1 and Gangster2 are only examples.

SECOND:
Copy Capture.sqs, Captive.sqs and Brave.sqs from the attached zip File in your mission folder.

THIRD:
Add a unit called "corpsman" to your mission. All arrested units will join this unit after being arresting.
Add a unit called "Teamleader" to your mission. The Teamleader will not grab the weapon the arrested dropped when he is the players group. (used to simulate a officer or VIP in the players group).

FOURTH:
Add the following to the players init:
ID1 = this AddAction [""Yell 'Drop your Weapons'"",""Capture.sqs""]

FINISHED: So what should happen ? Point your gun on someone in the VICTIMS array you is near you (about 50m), select the Yell "Drop your Weapons" action out of the action menu. He will go prone, drop his weapon (if he has one) and stand up with the hands behind his head. A member of the players group (or the player himself) will run to him search him and takes his weapon. If the member is on the east side, there is a 10% chance that he is brave and tries to grap his gun again.
After the member of the players group is back on this place or after about 2 minutes (what ever happens first). The arrested joins the unit called corpsman.

Please note it is still in Beta. If you find any errors or problems i am more than willing to correct them. Ah, well a last thing if you use it for your missions etc, which you publish please mention my name in the readme.

Greetings
Kuro

Sorry attach does not work ,please download the Arrest.zip from

http://www.modify-the-game.com/OFP/Arrest.zip



Offline rowdy

  • Members
  • *
  • I'm a llama!
Re:Arresting Someone
« Reply #7 on: 01 Aug 2004, 00:03:30 »
Hello, just wanted to say great arrest script. I was wondering if you had time to update it to arrest multiple people. I tried modifying it ( for my own personal use) but alas my german is non existent and therefore some of the changes I've made have not worked. Thnaks in advance for any reply.

Gooner861

  • Guest
Re:Arresting Someone
« Reply #8 on: 09 Aug 2004, 13:57:53 »
Hi there Kuro,

Just tried this arrest script and its very good  ;D , sumthing im gonna use in a mission im making now. Just one thing, wen i order the guy to drop his weapon another option comes up saying "create concealment", wen i click on that an error comes up saying "Missing script - Capture and (something)"

Cud u zip it up and put it on here or if its not that important how can i get rid of it.

Thanks alot.

Gooner