Page 1 of 12 1234511 ... LastLast
Results 1 to 10 of 115

Thread: Civilian Interaction Module (beta)

  1. #1

    Civilian Interaction Module (beta 0.22)

    (CIM) Civilian Interaction Module(s)

    By: Nielsen


    Updated to v.0.22 (Hotfix: More CRM Readme errors)



    DISCLAIMER: This is more of an addon than a mod. I use the 'module' designation because the addon adds new modules to the editor. Be adviced that the addon is released as a BETA, and as such I provide no guarantees of functionality or against adverse effects. This addon should work well in hosted MP environments but it might not be fully compatible with dedicated servers yet. The point of release is to get some feedback that might help improve the addon. Also, I would like to make it clear that I do not consider myself a skilled coder, and my approach is probably not the best one.

    Description:
    This addon adds three modules to the editor called the ‘(CIM) Civilian Interaction Module’, the '(CIM) Civilian Extraction Module' and the '(CIM) Civilian Reaction Module'. When placed on the map the 'Interaction Module' allows players to order civilians to the ground, inside houses or out of the area or vehicle in a second. Players can also search and key-cuff civilians or detain them. The 'Extraction Module' lets players extract detained civilians in a chopper via radio call, and also allows for smoke marked LZ. The 'Reaction Module' can generate different civilian events (for ambience) at will, or at predefined locations. It also has a feature that will add certain "evidence" items to random (un-searched) civilians around the players.

    How to use:
    Install the addon like you would any mod - using modfolders of course. For a quick setup, open the editor and hit 'F7'. Place the '(CIM) Civilian Interaction Module' on the map on a flat spot far away from the action. When in game hold the CIM-Key (default:left shift) and view available commands in the action menu. The 'Extraction-' and the 'Reaction Module' needs to be synchronized (F5) with the group leader(s).
    For a more detailed explanation of use and customizable setup see the included readme.
    For a short video tutorial on how to set it up, look here.

    Features:
    - Verbal commands for ordering civilians about
    - Physical actions for searching and subduing civilians
    - Helicopter extraction of detained civilians
    - Script to mark LZ's with smoke for pinpoint extractions.
    - Spawning of ambient civilian events
    - Makes random civilians have "evidence"
    - Custom sounds
    - Global arrays and customizable parameters for mission maker convenience
    - Works with ALICE
    - works with surrendered units (thank you stupidwhitekid75 for pointing this out to me)
    - Works with ACE2, Reezo's EOD mod, and nearly any other mod
    - SP and MP compatible (not working on dedicated yet)

    Requirements:
    - Arma 2 CO
    - CBA

    Known issues:
    - Because of hardcoded limitations, female civilians will not display animation when key-cuffed. However, they will still be completely passive.
    - Because the action menu cannot be used while holding 'left ctrl' it is not suitable as CIM-Key.
    - Smoke in the CRM "gathering" event does not work on clients yet. (No idea why. And I do know that it is a local effect)
    - The 'Reaction module' currently requires that the 'Interaction module' is also present.

    Credits:
    • Reezo – for his epic EOD-mod which inspired this module.
    • SHK – for providing his SHK_Pos function (used in CIM) and for being very helpful on the forums.
    • JohnnyDust – for helping out with testing and suggestions, and for covering my six.
    • Clements, Sickem and Inspired Media - For recording and editing of videos/tutorials (thanks guys).
    • Pellejones and SSG (www.ssg-clan.se) – for testing and advice on dedicated servers.
    • Ruebe – for taking time to help out on the forums.
    • LAxemann, Feint, YayForLife, UGLY58, Zwobot, Clements, Raptor 6 Actual – for reporting bugs.
    • Sickboy - for creating CBA
    • Armaholic.com – for hosting my (and all other) mod(s).
    • BIS, ACE2 team and the community – for making this game timeless and priceless.

    License and copyright:
    People are free to change this to their needs. If you are planning on changing this addon and releasing it as your own, I request that you contact me first, and of course that you credit me where it is appropriate. In the end, as long as I get credit for my work, you can pretty much do whatever you want with it.

    Changelog:
    Spoiler:


    Download:
    Beta v. 0.22: https://rapidshare.com/files/1400329955/Nielsen_CIM.rar

    I hope you enjoy and have fun trying this out. Let me know what you think.

    Kind regards,
    Nielsen
    Last edited by Nielsen; Dec 16 2011 at 05:32. Reason: New version out

  2. #2

  3. #3
    Staff Sergeant
    Join Date
    Mar 25 2010
    Location
    Copenhagen
    Posts
    203
    Author of the Thread
    I figured that with such a small filesize it would not matter much. But no worries, rapidshare link added

  4. #4

  5. #5
    Retired Member
    Join Date
    Jun 7 2009
    Location
    Denmark
    Posts
    384
    Sounds freaking awesome.

    Is it ALICE compatible?

  6. #6
    Staff Sergeant
    Join Date
    Mar 25 2010
    Location
    Copenhagen
    Posts
    203
    Author of the Thread
    @Foxhound: Thanks. You work fast

    @MugAben: Thanks man. Yes it is. It works with more or less any civilians.
    Last edited by Nielsen; Nov 26 2011 at 21:00.

  7. #7
    wow this looks amazing! i am going to try and tinker around with it


    thanks!

    I am having trouble with setting a different key for interaction. the PDF versions has the lines needed, but they are not copyable, were as the text version does not have the commands at all

    i am trying to get the DIK code thing to work, but i cant get it too. keeps telling me invalid variable

    0=findDisplay 46 displayaddeventhandler [“keydown”,”hint format ['%1',_this select 1];”];

    is there a way to add in were the key is mapped to an out of game config file? like have the config file in the addons folder or something? that way the key is not slaved to the whims of the mission maker. since i use my shift key as sprint, makes for very awkward handling
    i would like to switch the key to left CTRL
    Last edited by That guy; Nov 26 2011 at 21:50.
    Quote Originally Posted by MadDogX View Post
    "Gentlemen, you can't have useless discussions here! This is the internet!"

  8. #8
    Master Gunnery Sergeant ArmAriffic's Avatar
    Join Date
    Aug 18 2010
    Location
    Victoria, Australia
    Posts
    1,267
    this is awesome, nice work

  9. #9
    Staff Sergeant
    Join Date
    Mar 25 2010
    Location
    Copenhagen
    Posts
    203
    Author of the Thread
    Make sure you run the command in an activation field and not an init field. It has to be run after mission start, so launching it in init will not work. Other than that, the "" might be twisted by the forum font. I think I've seen that before. The command you posted look right.

    I see your problem. I first set default to left control, but realized that when ctrl is held the action menu is not available. I thought about using left alt, as I have trackIR that would work. But I ended up going with left shift because it is within reach, and because it is tied to run/walk it works nice when standing still. Of course it can be a problem when moving depending on the setup. I am open to better ideas for a default key.

    But:
    Code:
    0 = findDisplay 46 displayaddeventhandler ["keydown","hint format ['%1',_this select 1];"];
    Should tell you the DIK-code of a pushed key if run after mission start.

    I use a "CIM-Key" because I hate cluttering up the action menu. I thought that would be a better way of making it less intrusive. But action menu seemed like the only way to make this work. A dialog would have frozen the player. Way to dangerous with suicidebombers around. I think a required key is a good compromise, I just hope it does not seem over the top.

    EDIT: Fixed command line

    EDIT2: I'm not sure how to make the CIM-Key local. It would obviously be a cool thing, so I would like to do it, but right now I'm not entirely sure how.
    Last edited by Nielsen; Nov 26 2011 at 22:19.

  10. #10
    Mate, I have to say this is one brilliant addon!
    Ive been creating SF HVT arrest operations and missions but have always been bogged down with unpredictable AI and scripts that fail. This mod answers everything ive been ragging my brain over. Thanks!

    Keep up the great work!

Page 1 of 12 1234511 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •